updateCommands

abstract fun updateCommands(player: Player)

Updates the list of known commands for the given player.

This is useful for permission plugins that want to trigger a refresh of commands when a user gains or loses a permission.

Parameters

player

the player to update commands for