Advanced chat control for Minecraft servers
API usage:
public class Demo implements Listener {
@EventHandler
private void e(TrChatEvent e) {
e.getChannel(); // 获取聊天频道
e.setCanceled(true); // 取消发送聊天
e.setMessage("..."); // 改变聊天内容
}
}