Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'BungeeCord Plugin Development' started by Mhalllz, Jun 4, 2018.
How would i get what a player says in chat?
You can use the ChatEvent
This is BungeeCord Plugin Development
@EventHandler (priority = EventPriority.HIGHEST)
public void onChat(ChatEvent event)
String message = event.getMessage();
// do stuff
See JavaDocs: https://ci.md-5.net/job/BungeeCord/ws/api/target/apidocs/net/md_5/bungee/api/event/ChatEvent.html