Context :Velocity3.1.1, Spongeforge, win10
I want to be able to cancel the event and then broadcast the message to all servers. So i do this:
@Subscribe
public void onPlayerChat(PlayerChatEvent event) {
event.setResult(PlayerChatEvent.ChatResult.denied());
}
But it doesn't work, the player...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.