|
|
|
## Description
|
|
|
|
Checks for a player's gamemode. [You can view all of the gamemodes here.](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/GameMode.html#enum.constant.detail)
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Aliases | Description | Type |
|
|
|
|
| ------ | ------ | ------ | ------ |
|
|
|
|
| `gamemode` | `gm` | A list of gamemodes the player needs. | [Gamemodes](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/GameMode.html#enum.constant.detail) |
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```
|
|
|
|
conditions:
|
|
|
|
- 'gamemode{gm=creative,spectator;m=false}'
|
|
|
|
- 'gamemode{gm=survival;m=true}'
|
|
|
|
``` |
|
|
|
\ No newline at end of file |