Advertisement
Aoi0728

MineCount & MineSpyMode

Jun 7th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. on mine:
  2. add 1 to {breakcount.%player%}
  3. loop all players:
  4. if {minespy.%loop-player%} is true:
  5. send "&dMineSpy > %player% Mined 1 Block."
  6. else:
  7. stop
  8.  
  9. command /mine [<player>]:
  10. trigger:
  11. if arg 1 is not set:
  12. send "&e&l[&3&lNVP&6&lBreakCount&r&d v2.0 &e&l]&r &aあなたの採掘量は、 &a&l%{breakcount.%player%}% &r&a個 です。"
  13. if arg 1 is set:
  14. send "&e&l[&3&lNVP&6&lBreakCount&r&d v2.0 &e&l]&r &a %arg 1% の採掘量は、 &a&l%{breakcount.%arg 1%}% &r&a 個 です。"
  15.  
  16. on join:
  17. loop all players:
  18. if loop-player has permission "minespy":
  19. set {minespy.%loop-player%} to true
  20. send "&dMineSpy > %player% is now minespyer."
  21. else:
  22. set {minespy.%loop-player%} to false
  23.  
  24. command /mdebug:
  25. permission: debug
  26. trigger:
  27. execute console command "pex user %player% add minespy"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement