Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. on join:
  2. if {%uuid of player%.mining} is not set:
  3. set {%uuid of player%.mining} to true
  4.  
  5. on script load:
  6. loop all players:
  7. if {%uuid of loop-player%.mining} is not set:
  8. set {%uuid of loop-player%.mining} to true
  9.  
  10. on break:
  11. if {%uuid of player%.mining} is true:
  12. cancel event
  13. give %player% event-item
  14. else:
  15. stop
  16.  
  17. command mining-admin <text> [<player>]:
  18. permission: mining-admin
  19. trigger:
  20. if Arg 1 is "true" or "false":
  21. if Arg 2 is not set:
  22. set {%uuid of player%.mining} to Arg 1
  23. send "あなたのマイニングモードを有効にしました"
  24. else:
  25. set {%uuid of Arg 2%.mining} to Arg 1
  26. send "%Arg 2% さんのマイニングモードを有効にしました"
  27. else:
  28. send "1個目の引数には true もしくは false を指定してください。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement