Advertisement
NAOSAMA

Untitled

Apr 28th, 2019
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. on break of emerald ore, diamond ore, gold ore, coal ore, iron ore, lapis ore or redstone ore:
  2. if block is an emerald ore:
  3. add 7 to {%player%::point}
  4. send "&b&l採掘ポイント&c&l+7 &b&l(%{%player%::point}%)"
  5. else if block is diamond ore:
  6. add 5 to {%player%::point}
  7. send "&b&l採掘ポイント&c&l+5 &b&l(%{%player%::point}%)"
  8. else if block is gold ore:
  9. add 3 to {%player%::point}
  10. send "&b&l採掘ポイント&c&l+3 &b&l(%{%player%::point}%)"
  11. else if block is lapis ore :
  12. add 1 to {%player%::point}
  13. send "&b&l採掘ポイント&c&l+1 &b&l(%{%player%::point}%) "
  14. else if block is coal ore :
  15. add 0.5 to {%player%::point}
  16. send "&b&l採掘ポイント&c&l+0.5 &b&l(%{%player%::point}%)"
  17. else if block is iron ore:
  18. add 0.5 to {%player%::point}
  19. send "&b&l採掘ポイント&c&l+0.5 &b&l(%{%player%::point}%)"
  20. else if block is stone:
  21. add 0.1 to {%player%::point}
  22. send "&b&l採掘ポイント&c&l+0.1 &b&l(%{%player%::point}%)"
  23.  
  24. command /point [<player>]:
  25. trigger:
  26. if arg 1 is not set:
  27. send "&b&l貴方の採掘ポイントは&c&l%{%player%::point}%&b&lです"
  28. else:
  29. send "&b&l%arg 1%さんの採掘ポイントは&c&l%{%arg 1%::point}%&b&lです"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement