# Gamemodes # Version 1.0 created by gotedit # #Do not edit below unless you know what you are doing #Help and Support -> PM me on twitter #@gotedit2015 #Options below. Feel free to change after the ':' options: creative: gm.creative #permission node creative_others: gm.creative.others #permission node survival: gm.survival #permission node survival_others: gm.survival.others #permission node spectator: gm.spectator #permission node spectator_others: gm.spectator.others #permission node adventure: gm.adventure #permission node adventure_others: gm.adventure.others #permission node #DO NOT EDIT BELOW THIS LINE #-----------------------------------------------------# command /creative []: aliases: /gmc trigger: if arg 1 is set: if player has permission "{@creative_others}": set gamemode of arg 1 to creative send "&cGamemode of &6%arg 1% &cset to &6CREATIVE" to player send "&cGamemode set to &6CREATIVE" to arg 1 else: send "&c&lERROR! &cInvalid permission" to player else if arg 1 is not set: if player has permission "{@creative}": set gamemode of player to creative send "&cGamemode set to &6CREATIVE" to player else: send "&c&lERROR! &cInvalid permission" to player else: send "&c&lERROR! &cInvalid usage" to player command /survival []: aliases: /gms trigger: if arg 1 is set: if player has permission "{@survival_others}": set gamemode of arg 1 to survival send "&cGamemode of &6%arg 1% &cset to &6SURVIVAL" to player send "&cGamemode set to &6SURVIVAL" to arg 1 else: send "&c&lERROR! &cInvalid permission" to player else if arg 1 is not set: if player has permission "{@survival}": set gamemode of player to survival send "&cGamemode set to &6SURVIVAL" to player else: send "&c&lERROR! &cInvalid permission" to player else: send "&c&lERROR! &cInvalid usage" to player command /spectator []: aliases: /spec, /gmsp, trigger: if arg 1 is set: if player has permission "{@spectator_others}": set gamemode of arg 1 to spectator send "&cGamemode of &6%arg 1% &cset to &6SPECTATOR" to player send "&cGamemode set to &6SPECTATOR" to arg 1 else: send "&c&lERROR! &cInvalid permission" to player else if arg 1 is not set: if player has permission "{@spectator}": set gamemode of player to spectator send "&cGamemode set to &6SPECTATOR" to player else: send "&c&lERROR! &cInvalid permission" to player else: send "&c&lERROR! &cInvalid usage" to player command /adventure []: aliases: /gma trigger: if arg 1 is set: if player has permission "{@adventure_others}": set gamemode of arg 1 to adventure send "&cGamemode of &6%arg 1% &cset to &6ADVENTURE" to player send "&cGamemode set to &6ADVENTURE" to arg 1 else: send "&c&lERROR! &cInvalid permission" to player else if arg 1 is not set: if player has permission "{@adventure}": set gamemode of player to adventure send "&cGamemode set to &6ADVENTURE" to player else: send "&c&lERROR! &cInvalid permission" else: send "&c&lERROR! &cInvalid usage"