📜  bukkit api 监听器 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:17.564000             🧑  作者: Mango

代码示例1
class listen implements Listener {
    @EventHandler
      public void onChat(AsyncPlayerChatEvent e) {
        String message = e.getMessage();
          Player pl = e.getPlayer();
    }
}