Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #アイテム名を変えるsk
  2.  
  3. command /rename [<text>]:
  4. permission:item.rename
  5. permission message: &cこのコマンドを実行する権限がありません
  6. trigger:
  7. if player is holding air:
  8. send "&c手元にアイテムがありません"
  9. stop
  10. else:
  11. if arg 1 is set:
  12. set the name of player's tool to "%colored arg 1%"
  13. send "&aアイテムの名前を変更しました!"
  14. stop
  15. if arg 1 is not set:
  16. send "&c文字が打たれていません"
  17. stop
  18.  
  19. command /lore [<text>]:
  20. permission:item.lore
  21. permission message: &cYou do not have permission
  22. trigger:
  23. if player is holding air:
  24. send "&c手元にアイテムがありません"
  25. stop
  26. else:
  27. if arg 1 is set:
  28. set line 1 of the lore of player's tool to "%colored arg 1%"
  29. send "アイテムのLoreを変更しました!"
  30. stop
  31. if arg 1 is not set:
  32. send "&c文字が打たれていません"
  33. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement