reverted dante authored by Lxlp's avatar Lxlp
======================= ## Description
## Description:
Sets the gamemode of the target player. Does nothing if the target is Sets the gamemode of the target player. Does nothing if the target is
not a player. Requires the `sync=true` attribute. not a player. Requires the `sync=true` attribute.
## Attributes:
| Attribute | Aliases | Description | Default Value | ## Attributes
|-----------|---------|---------------------------------------|---------------| | Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| mode | m | The gamemode to change the target to. | SURVIVAL| | mode | m | The gamemode to change the target to. | SURVIVAL|
## Examples: ## Examples
```yaml ```yaml
Skills: Skills:
- setgamemode{m=CREATIVE;sync=true} @PlayersInRadius{r=10} ~onSpawn - setgamemode{m=CREATIVE;sync=true} @PlayersInRadius{r=10} ~onSpawn
... ...
......