Skip to main content

Island Conditions

Conditions for checking island state in TypeWriter flows.

Has Island Condition

Type: has_island Checks if the player owns an island.

Configuration

FieldTypeDefaultDescription
invertedBooleanfalseInvert the check

Returns

  • true if player has an island
  • false if player has no island

Is Coop Condition

Type: is_coop_island Checks if the player’s island is a cooperative island (shared with a partner).

Configuration

FieldTypeDefaultDescription
invertedBooleanfalseInvert the check

Returns

  • true if island has a coop partner
  • false if solo island

Island Level Condition

Type: island_level_condition Checks if the island level meets a requirement.

Configuration

FieldTypeDefaultDescription
minimumLevelInt1Required level
operatorOperatorGREATER_EQUALComparison operator

Operators

OperatorDescription
EQUALSExactly equal
GREATERGreater than
GREATER_EQUALGreater or equal
LESSLess than
LESS_EQUALLess or equal

Island Role Condition

Type: island_role_condition Checks the player’s role on their island.

Configuration

FieldTypeDefaultDescription
minimumRoleIslandRoleMEMBERRequired minimum role

Role Hierarchy

  1. OWNER - Full control
  2. ADMIN - Administrative access
  3. MODERATOR - Member management
  4. MEMBER - Basic access
  5. COOP - Temporary coop access
  6. VISITOR - View-only access

Example

# Check if player is at least admin
minimumRole: ADMIN
# Returns true for ADMIN and OWNER