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).
@eventchangeLanguage(PlayerLanguageUpdatedEventevent) {
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).