Advertisement
taoru_8673

Untitled

Jul 16th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. command /addfirstitem:
  2. permission: admin.admin
  3. trigger:
  4. if player's tool is not set:
  5. message "初期アイテムに設定するアイテムを持ってください。"
  6. stop
  7. if player's tool is set:
  8. add player's tool to {firstitem::*}
  9. message "初期アイテムを設定しました。"
  10.  
  11. command /removefirstitem:
  12. permission: admin.admin
  13. trigger:
  14. if player's tool is not set:
  15. message "&b消すアイテムを持ってください"
  16. stop
  17. if player's tool is set:
  18. remove player's tool from {firstitem::*}
  19. send "&b削除しました。"
  20.  
  21. command /firstitemlist:
  22. permission: admin.admin
  23. trigger:
  24. open chest with 6 rows named "addfirstitemlist" to player
  25. set {_slot} to 0
  26. loop {firstitem::*}:
  27. set slot {_slot} of player's current inventory to loop-value
  28. add 1 to {_slot}
  29. on first join:
  30. give {firstitem::*} to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement