Update
This commit is contained in:
1 parent
52462d909f
commit
8cb6f4b8b5
6 files changed
+106
-37
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# --- Game Mode ---
|
||||
command /gamemode [<string>]:
|
||||
description: Game Mode
|
||||
aliases: /gm
|
||||
executable by: players
|
||||
trigger:
|
||||
if arg-1 is "0" or "s" or "survival":
|
||||
if player has the permission "mirricraft.gamemode.survival":
|
||||
set gamemode of player to Survival
|
||||
stop
|
||||
stop
|
||||
elseif arg-1 is "1" or "c" or "creative":
|
||||
if player has the permission "mirricraft.gamemode.creative":
|
||||
set gamemode of player to Creative
|
||||
stop
|
||||
stop
|
||||
elseif arg-1 is "2" or "a" or "adventure":
|
||||
if player has the permission "mirricraft.gamemode.adventure":
|
||||
set gamemode of player to Adventure
|
||||
stop
|
||||
stop
|
||||
elseif arg-1 is "3" or "sp" or "spectator":
|
||||
if player has the permission "mirricraft.gamemode.spectator":
|
||||
set gamemode of player to Spectator
|
||||
stop
|
||||
stop
|
||||
else
|
||||
message "&7[&2MirriCraft&7]&r Syötä pelitila"
|
||||
stop
|
||||
Reference in new issue
Block a user