MessageTool

public class MessageTool

Properties

Link copied to clipboard
public final static MessageTool INSTANCE

Functions

Link copied to clipboard
public final Unit bindMessageCoolDown(HumanEntity player, String message, BaseSetting setting, ItemStack item)

玩家物品被绑定时发送消息,具有冷却机制

Link copied to clipboard
public final Unit denyMessageCoolDown(HumanEntity player, String message, BaseSetting setting, ItemStack item, Block block, Entity entity)

玩家被禁止某种行为时发送消息,具有冷却机制

Link copied to clipboard
public final Unit messageCoolDown(HumanEntity player, String message)
Link copied to clipboard
public final Unit sendNormal(Player player, String message)