> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Island Conditions

# Island Conditions

Conditions for checking island state in TypeWriter flows.

## Has Island Condition

**Type:** `has_island`

Checks if the player owns an island.

### Configuration

| Field      | Type    | Default | Description      |
| :--------- | :------ | :------ | :--------------- |
| `inverted` | Boolean | false   | Invert 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

| Field      | Type    | Default | Description      |
| :--------- | :------ | :------ | :--------------- |
| `inverted` | Boolean | false   | Invert 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

| Field          | Type     | Default        | Description         |
| :------------- | :------- | :------------- | :------------------ |
| `minimumLevel` | Int      | 1              | Required level      |
| `operator`     | Operator | GREATER\_EQUAL | Comparison operator |

### Operators

| Operator        | Description      |
| :-------------- | :--------------- |
| `EQUALS`        | Exactly equal    |
| `GREATER`       | Greater than     |
| `GREATER_EQUAL` | Greater or equal |
| `LESS`          | Less than        |
| `LESS_EQUAL`    | Less or equal    |

***

## Island Role Condition

**Type:** `island_role_condition`

Checks the player's role on their island.

### Configuration

| Field         | Type       | Default | Description           |
| :------------ | :--------- | :------ | :-------------------- |
| `minimumRole` | IslandRole | MEMBER  | Required 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

```yaml theme={null}
# Check if player is at least admin
minimumRole: ADMIN
# Returns true for ADMIN and OWNER
```
