This commit is contained in:
Christer Warén 2020-10-24 06:42:03 +03:00
parent 8cb6f4b8b5
commit 2c29ac8639

View File

@ -2,24 +2,24 @@
command /gamemode [<string>]: command /gamemode [<string>]:
description: Game Mode description: Game Mode
aliases: /gm aliases: /gm
executable by: players executable by: console and players
trigger: trigger:
if arg-1 is "0" or "s" or "survival": if arg-1 is "0" or "s" or "survival":
if player has the permission "mirricraft.gamemode.survival": if player has the permission "mirricraft.gamemode.survival":
set gamemode of player to Survival set gamemode of player to Survival
stop stop
stop stop
elseif arg-1 is "1" or "c" or "creative": else if arg-1 is "1" or "c" or "creative":
if player has the permission "mirricraft.gamemode.creative": if player has the permission "mirricraft.gamemode.creative":
set gamemode of player to Creative set gamemode of player to Creative
stop stop
stop stop
elseif arg-1 is "2" or "a" or "adventure": else if arg-1 is "2" or "a" or "adventure":
if player has the permission "mirricraft.gamemode.adventure": if player has the permission "mirricraft.gamemode.adventure":
set gamemode of player to Adventure set gamemode of player to Adventure
stop stop
stop stop
elseif arg-1 is "3" or "sp" or "spectator": else if arg-1 is "3" or "sp" or "spectator":
if player has the permission "mirricraft.gamemode.spectator": if player has the permission "mirricraft.gamemode.spectator":
set gamemode of player to Spectator set gamemode of player to Spectator
stop stop