Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. command /wtfitem:
  2. trigger:
  3. message "&7Your tool is &6%player's tool%&7."
  4.  
  5. command /home <text> [<number>]:
  6. trigger:
  7. if arg-1 is "select":
  8. open chest with 1 rows named "&6Home Select" to player
  9. if {%player%.Home1} is location:
  10. format slot 2 of player with 1 of oak log named "{%player%.Home1}" to run [make player execute command "home menu 1"]
  11. else:
  12. format slot 2 of player with 1 of barrier named "&cHomeを作成してください" to run [message "&c/menu createでHomeをセットしてください。"]
  13. if arg-1 is "create":
  14. if arg-2 is 1:
  15. set {%player%.Home1} to location of player
  16. message "Home1をこの地点にセットしました"
  17. if arg-1 is "teleport":
  18. if arg-2 is 1:
  19. teleport player to {%player%.Home1}
  20. if arg-1 is "coord":
  21. if arg-2 is 1:
  22. message "Home1の座標は{%player%.Home1}です"
  23. if arg-1 is "delete":
  24. if arg-2 is 1:
  25. clear {%player%.Home1}
  26. message "Home1を削除しました"
  27. if arg-1 is "menu":
  28. if arg-2 is 1:
  29. open chest with 1 rows named "&6Home Menu" to player
  30. if {%player%.Home1} is location:
  31. format slot 1 of player with 1 of white wool named "teleport" to run [make player execute command "home teleport 1"]
  32. format slot 1 of player with 2 of white wool named "coord" to run [make player execute command "home coord 1"]
  33. format slot 1 of player with 3 of white wool named "delete" to run [make player execute command "home delete 1"]
  34. else:
  35. message "&c/menu createでHomeをセットしてください。"
  36.  
  37. command /wtfitem:
  38. trigger:
  39. message "&7Your tool is &6%player's tool%&7."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement