Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /enderchest [<player>]:
- permission: op.oao
- aliases: /edc
- trigger:
- open the arg-1 ender chest to the player
- command /inventory:invsee [<text>]:
- permission: op.oao
- aliases: /iic
- trigger:
- if arg-1 isn't set:
- send "&c用法 : /iic [玩家名]"
- stop trigger
- execute player command "/getofflineplayer %arg-1%"
- wait 1 ticks
- loop all players:
- if {offlineplayer.%player%} is loop-player:
- open the inventory of {offlineplayer.%player%} for the player
- delete {offlineplayer.%player%}
- stop trigger
- open chest with 4 row named "%{offlineplayer.%player%}%" to player
- wait 1 tick
- if inventory name of player's current inventory is "%{offlineplayer.%player%}%":
- loop 36 times:
- format slot (loop-number - 1) of player with {offlineplayer.背包.%arg-1%::%loop-number - 1%} to be unstealable
- delete {offlineplayer.%player%}
- command /getofflineplayer <offlineplayer>:
- permission: op.oao
- trigger:
- set {offlineplayer.%player%} to arg-1
- command /replaceplayer <player>:
- trigger:
- if player doesn't have permission "op.oao":
- if {offlineplayer.背包.%player%::*} is set:
- loop 36 times:
- set slot (loop-number - 1) of player to {offlineplayer.背包.%player%::%loop-number%}
- delete {offlineplayer.背包.%player%::%loop-number%}
- send "&a您已回檔背包。"
- stop trigger
- send "您並不存在背包記錄。"
- stop trigger
- loop 36 times:
- set slot (loop-number - 1) of player-arg to {offlineplayer.背包.%player-arg%::%loop-number%}
- send "&a管理員%player%已幫你的背包回檔。" to player-arg
- send "你已幫%player-arg%會檔成功."
- open the inventory of player-arg for the player
- command /gamemode [<text>] [<player>]:
- permission: op.oao
- aliases: /gm
- trigger:
- if arg-2 isn't set:
- if arg-1 is "1" or "c" or "creative":
- set the player's gamemode to creative
- send "&6已把玩家&a%player%&6切為創造模式"
- stop
- if arg-1 is "2" or "a" or "adventure":
- set the player's gamemode to adventure
- send "&6已把玩家&a%player%&6切為冒險模式"
- stop
- if arg-1 is "0" or "s" or "survival":
- set the player's gamemode to survival
- send "&6已把玩家&a%player%&6切為生存模式"
- stop
- execute player command "/minecraft:gamemode %arg-1%"
- if arg-1 is "1" or "c" or "creative":
- set the player-arg's gamemode to creative
- send "&6已把玩家&a%player-arg%&6切為創造模式" to player-arg
- send "&6已把玩家&a%player-arg%&6切為創造模式"
- stop
- if arg-1 is "2" or "a" or "adventure":
- set the player-arg's gamemode to adventure
- send "&6已把玩家&a%player-arg%&6切為冒險模式" to player-arg
- send "&6已把玩家&a%player-arg%&6切為冒險模式"
- stop
- if arg-1 is "0" or "s" or "survival":
- set the player-arg's gamemode to survival
- send "&6已把玩家&a%player-arg%&6切為生存模式" to player-arg
- send "&6已把玩家&a%player-arg%&6切為生存模式"
- stop
- execute player command "/minecraft:gamemode %arg-1% %arg-2%"
- command /showblight <player>:
- trigger:
- if player-arg has slow:
- if player-arg has night vision:
- remove slow from player-arg
- remove night vision from player-arg
- send "&9你離開了鷹眼效果。" to player-arg
- stop
- send "&9你消耗了自己的行動力,獲得鷹眼的效果。" to player-arg
- apply Slowness 1 to player-arg for 1 minutes
- apply Night Vision 5 to player-arg for 1 minutes
- on command:
- command is "showblight"
- if "%arguments%" contains "<none>":
- cancel event
- execute player command "showblight %player%"
Add Comment
Please, Sign In to add comment