in_gamemode

Passes when the player is in the specified gamemode.

Categories: player

Required arguments

Key(s)DescriptionType
gamemodeThe gamemode name.
Choices: any GameMode value
STRING

Example

conditions:
  - id: in_gamemode
    args:
      gamemode: <GameMode>

Developer info

Overview

FieldValue
Categoryconditions
Base classCondition
Compile dataNoCompileData
ClassConditionInGamemode
Source/core/common/src/main/kotlin/com/willfp/libreforge/conditions/impl/ConditionInGamemode.kt
Registeredyes