Bukkit API слушатель

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