modify(e, 'gamemode')
Syntax
modify(entity, 'gamemode', gamemode)
modify(entity, 'gamemode', gamemode_id)
Modifies gamemode of player to whatever string (case-insensitive) or number you put in.
- 0: survival
- 1: creative
- 2: adventure
- 3: spectator
modify(entity, 'gamemode', gamemode)
modify(entity, 'gamemode', gamemode_id)
Modifies gamemode of player to whatever string (case-insensitive) or number you put in.