Advertisement
Hsuwan

Untitled

Aug 31st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. command /enderchest [<text>]:
  2. permission: op.oao
  3. aliases: /edc
  4. trigger:
  5. open the player-arg's ender chest to the player
  6. command /inventory:invsee [<text>]:
  7. permission: op.oao
  8. aliases: /iic
  9. trigger:
  10. if arg-1 isn't set:
  11. send "&c用法 : /iic [玩家名]"
  12. stop trigger
  13. execute player command "/getofflineplayer %arg-1%"
  14. wait 1 ticks
  15. loop all players:
  16. if {offlineplayer.%player%} is loop-player:
  17. open the inventory of {offlineplayer.%player%} for the player
  18. delete {offlineplayer.%player%}
  19. stop trigger
  20. open chest with 4 row named "%{offlineplayer.%player%}%" to player
  21. wait 1 tick
  22. if inventory name of player's current inventory is "%{offlineplayer.%player%}%":
  23. loop 36 times:
  24. format slot (loop-number - 1) of player with {offlineplayer.背包.%arg-1%::%loop-number - 1%} to be unstealable
  25. delete {offlineplayer.%player%}
  26. command /getofflineplayer <offlineplayer>:
  27. permission: op.oao
  28. trigger:
  29. set {offlineplayer.%player%} to arg-1
  30. command /replaceplayer <player>:
  31. trigger:
  32. if player doesn't have permission "op.oao":
  33. if {offlineplayer.背包.%player%::*} is set:
  34. loop 36 times:
  35. set slot (loop-number - 1) of player to {offlineplayer.背包.%player%::%loop-number%}
  36. delete {offlineplayer.背包.%player%::%loop-number%}
  37. send "&a您已回檔背包。"
  38. stop trigger
  39. send "您並不存在背包記錄。"
  40. stop trigger
  41. loop 36 times:
  42. set slot (loop-number - 1) of player-arg to {offlineplayer.背包.%player-arg%::%loop-number%}
  43. send "&a管理員%player%已幫你的背包回檔。" to player-arg
  44. send "你已幫%player-arg%會檔成功."
  45. open the inventory of player-arg for the player
  46. command /gamemode [<text>] [<player>]:
  47. permission: op.oao
  48. aliases: /gm
  49. trigger:
  50. if arg-2 isn't set:
  51. if arg-1 is "1" or "c" or "creative":
  52. set the player's gamemode to creative
  53. send "&6已把玩家&a%player%&6切為創造模式"
  54. stop
  55. if arg-1 is "2" or "a" or "adventure":
  56. set the player's gamemode to adventure
  57. send "&6已把玩家&a%player%&6切為冒險模式"
  58. stop
  59. if arg-1 is "0" or "s" or "survival":
  60. set the player's gamemode to survival
  61. send "&6已把玩家&a%player%&6切為生存模式"
  62. stop
  63. execute player command "/minecraft:gamemode %arg-1%"
  64. if arg-1 is "1" or "c" or "creative":
  65. set the player-arg's gamemode to creative
  66. send "&6已把玩家&a%player-arg%&6切為創造模式" to player-arg
  67. send "&6已把玩家&a%player-arg%&6切為創造模式"
  68. stop
  69. if arg-1 is "2" or "a" or "adventure":
  70. set the player-arg's gamemode to adventure
  71. send "&6已把玩家&a%player-arg%&6切為冒險模式" to player-arg
  72. send "&6已把玩家&a%player-arg%&6切為冒險模式"
  73. stop
  74. if arg-1 is "0" or "s" or "survival":
  75. set the player-arg's gamemode to survival
  76. send "&6已把玩家&a%player-arg%&6切為生存模式" to player-arg
  77. send "&6已把玩家&a%player-arg%&6切為生存模式"
  78. stop
  79. execute player command "/minecraft:gamemode %arg-1% %arg-2%"
  80. command /showblight <player>:
  81. trigger:
  82. if player-arg has slow:
  83. if player-arg has night vision:
  84. remove slow from player-arg
  85. remove night vision from player-arg
  86. send "&9你離開了鷹眼效果。" to player-arg
  87. stop
  88. send "&9你消耗了自己的行動力,獲得鷹眼的效果。" to player-arg
  89. apply Slowness 1 to player-arg for 1 minutes
  90. apply Night Vision 5 to player-arg for 1 minutes
  91. on command:
  92. command is "showblight"
  93. if "%arguments%" contains "<none>":
  94. cancel event
  95. execute player command "showblight %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement