Result

data class Result(val newGameMode: GameMode) : Record

The result of an attempt to change a player's game mode.

This allows plugins to completely overwrite the game mode that the player is switching to. For example, this could be used to force players that attempt to switch to creative mode in to survival.

Constructors

Link copied to clipboard
constructor(newGameMode: GameMode)

Properties

Link copied to clipboard

The game mode to change the player to.