@EventHandler(priority = EventPriority.NORMAL,ignoreCancelled = true)
public void onPlayerChat(PlayerChatEvent event) {
if(this.isQuoteBlocked(event.getMessage())){
event.getPlayer().sendMessage(ChatColor.RED+"这话你可不能说啊。。。!");
event.setCancelled(true);
}
}
Blockode.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:CraftPlugins
作者:
评论列表
文章目录