mdkjs
Version:
mdk is a framework for developing Datapacks for Minecraft. It uses the typescript language.
19 lines (18 loc) • 549 B
TypeScript
import { File, Selector, ContextAbstract } from "../../../../mdk-core/src";
export declare class WhiteList extends ContextAbstract {
constructor(context: File);
/**
* 将玩家名添加到白名单。该玩家不需要在线。
* @param player 玩家
*/
add(player: Selector): this;
/**
* 将玩家名添加到白名单。该玩家不需要在线。
* @param player 玩家
*/
remove(player: Selector): this;
list(): this;
off(): this;
on(): this;
reload(): this;
}