Gamemode
Checks the gamemode of a player. Will return false if the entity is not a player.
Type ID: origins:gamemode
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
gamemode |
String | Name of the gamemode the player should have in order for this condition to evaluate to true. |
Example:
"condition": {
"type": "origins:gamemode",
"gamemode": "creative"
}
This condition will only pass on players which are in creative mode.