Gamemode
Checks the gamemode of a player. Will return false if the entity is not a player.
Type ID: apoli: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": "apoli:gamemode",
"gamemode": "creative"
}
This condition will only pass on players which are in creative mode.