Gamemode (Entity Condition Type)

Checks the gamemode of the entity.

Checks the gamemode of the entity.

Type ID: apoli:gamemode

!!! note

This entity condition type will only work on players.

Fields

FieldTypeDefaultDescription
gamemodeStringName of the gamemode the player should have in order for this condition to evaluate to true.

Examples

"condition": {
  "type": "apoli:gamemode",
  "gamemode": "creative"
}

This example will check if the player is in Creative Mode.