Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /gmc [<player>]:
- trigger:
- player is op
- if arg-1 is set:
- set arg-1's gamemode to creative
- else:
- set player's gamemode to creative
- command /gms [<player>]:
- trigger:
- player is op
- if arg-1 is set:
- set arg-1's gamemode to survival
- else:
- set player's gamemode to survival
- command /tp [<text>] [<text>] [<text>]:
- trigger:
- player is op
- if (arg-1 parsed as number) is set:
- if (arg-2 parsed as number) is set:
- if (arg-3 parsed as number) is set:
- teleport player to location at arg-1 parsed as number, arg-2 parsed as number, arg-3 parsed as number
- send "&c管理員指令 >> &e傳送到 %arg-1%, %arg-2%, %arg-3%"
- loop all ops:
- loop-value is not player
- send "&7&o[管理員 %player% 傳送到 %arg-1%, %arg-2%, %arg-3%" to loop-value
- stop
- else if arg-3 is not set:
- if arg-1 is set:
- if (arg-1 parsed as player) is set:
- if arg-2 is set:
- if (arg-2 parsed as player) is set:
- teleport arg-1 parsed as player to arg-2 parsed as player
- send "&c管理員指令 >> &e傳送玩家 &a&l%arg-1 parsed as player% &e到 &a&l%arg-2 parsed as player%"
- loop all ops:
- loop-value is not player
- send "&7&o[管理員 %player% 傳送玩家 %arg-1 parsed as player% 到 %arg-2 parsed as player%" to loop-value
- stop
- else:
- send "&c管理員指令 >> &e玩家 &a&l%arg-2% &e不在線!"
- stop
- else:
- teleport player to arg-1 parsed as player
- send "&c管理員指令 >> &e傳送到玩家 &a&l%arg-1 parsed as player%"
- loop all ops:
- loop-value is not player
- send "&7&o[管理員 %player% 傳送到玩家 %arg-1 parsed as player%" to loop-value
- stop
- else:
- send "&c管理員指令 >> &e玩家 &a&l%arg-1% &e不在線!"
- stop
- send "&c管理員指令 >> &f/tp <x> <y> <z>"
- send "&c管理員指令 >> &f/tp <玩家A> <玩家B>"
- send "&c管理員指令 >> &f/tp <玩家>"
- command /s <player>:
- trigger:
- player is op
- teleport arg-1 to player
- command /skrun <text>:
- trigger:
- player is op
- evaluate "%arg-1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement