Advertisement
iku55

Untitled

Aug 17th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. command /shop [<text>] [<player>]:
  2. permission: console
  3. trigger:
  4. if {playing::%arg-2%} is "bedwars":
  5. if arg-1 is "block":
  6. open chest with 6 rows named "ショップ" to arg-2
  7. wait a tick
  8. format slot 1 of player with white wool named "&aブロック" with lore "&aクリックで切り替え" to run "/shop block %player%"
  9. format slot 2 of player with iron sword named "&b剣" with lore "&bクリックで切り替え" to run "/shop sword %player%"
  10. format slot 3 of player with bow named "&b弓" with lore "&bクリックで切り替え" to run "/shop bow %player%"
  11. format slot 4 of player with leather chestplate named "&b防具" with lore "&bクリックで切り替え" to run "/shop chestplate %player%"
  12. format slot 1 of player with tnt named "&b特殊" with lore "&bクリックで切り替え" to run "/shop tnt %player%"
  13. format slot 31 of player with red stained glass pane named "&cエラー" with lore "&c商品はまだ売っていません!" to run "/shop block %player%"
  14. on right click on villager:
  15. if {playing::%player%} is "bedwars":
  16. cancel the event
  17. command "/shop block %player%"
  18. command /admin [<text>]:
  19. trigger:
  20. if player is op:
  21. if arg-1 is "join":
  22. set {playing::%player%} to "bedwars"
  23. message "joined the game."
  24. if arg-1 is "quit":
  25. set {playing::%player%} to "notplaygame"
  26. message "quit the game."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement