oyente de la API de Bukkit

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