Pendengar API Bukkit

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