Changes
Page history
reverted dante
authored
Oct 23, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
skills/mechanics/setgamemode.md
View page @
06d3ab33
=======================
## Description:
## Description
Sets the gamemode of the target player. Does nothing if the target is
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|
## Examples:
## Examples
```
yaml
Skills
:
-
setgamemode{m=CREATIVE;sync=true} @PlayersInRadius{r=10} ~onSpawn
...
...
...
...