mdkjs
Version:
mdk is a framework for developing Datapacks for Minecraft. It uses the typescript language.
6 lines (5 loc) • 314 B
TypeScript
import { Selector } from "../../../mdk-core/src";
export declare type BanTargetType = 'ips' | 'players';
export declare function ban(targets: Selector, reason?: string): string;
export declare function banIp(ip: string, reason?: string): string;
export declare function banList(type?: BanTargetType): string;