Cancels the event. A cancelled event is not propagated further to the next listeners, if there's any.
Indicates whether the event has been cancelled. A cancelled event cannot be uncancelled.
@event changeLanguage(PlayerLanguageUpdatedEvent event) { log(event.player.name, " is changing language from ", event.currentLanguage, " to ", event.newLanguage); }
Event called when the player's language is updated (from the client or from a plugin). The old and the new languages will always be one in the server's accepted ones, as indicated in the hub's configuration file (accepted-languages field).