Advertisement
twogz

Untitled

Jul 14th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. on first join:
  2. clear player's inventory
  3. set {playerlevel::%uuid of player%} to 0
  4. set {playerxp::%uuid of player%} to 0
  5. set {playerxpmax::%uuid of player%} to 10
  6. set {mininglevel::%uuid of player%} to 0
  7. set {miningxp::%uuid of player%} to 0
  8. set {miningxpmax::%uuid of player%} to 10
  9.  
  10. give wood pickaxe named "&eCrude Pickaxe" with lore "&r ||&fTier: &aCommon||&r ||&fTip: &2Shift + Right click &fyour pickaxe to access your upgrades!" to player
  11. give 8 gunpowder named "&7Lesser Arcane Dust" with lore "&r ||&fUsed to upgrade pickaxes, can be||&fconverted to Purified Arcane Dust.||&r ||&fTip: Visit the &2Tinkerer &fto convert this dust" to player
  12.  
  13. command /reset:
  14. trigger:
  15. clear player's inventory
  16. set {playerlevel::%uuid of player%} to 0
  17. set {playerxp::%uuid of player%} to 0
  18. set {playerxpmax::%uuid of player%} to 10
  19. set {mininglevel::%uuid of player%} to 0
  20. set {miningxp::%uuid of player%} to 0
  21. set {miningxpmax::%uuid of player%} to 10
  22.  
  23. give wood pickaxe named "&eCrude Pickaxe" with lore "&r ||&fTier: &aCommon||&r ||&fTip: &2Shift + Right click &fyour pickaxe to access your upgrades!" to player
  24. give 8 gunpowder named "&7Lesser Arcane Dust" with lore "&r ||&fUsed to upgrade pickaxes, can be||&fconverted to Purified Arcane Dust.||&r ||&fTip: Visit the &2Tinkerer &fto convert this dust" to player
  25.  
  26. on right click:
  27. if held item is pickaxe:
  28. if player is sneaking:
  29. open virtual chest inventory with size 6 named "Pickaxe Upgrades" to player
  30.  
  31. wait 0.6 ticks
  32.  
  33. create a gui slot 11 of player with held item of player named "&eMining Stats" with lore "&r ||&fLevel: &a%{mininglevel::%uuid of player%}%||&fExperience: &a%{miningxp::%uuid of player%}%/%{miningxpmax::%uuid of player%}%||&r ||&fTip: Use &2Arcane Dust &fto upgrade your pickaxe!" to do nothing
  34.  
  35. create a gui slot 13 of player with player's skull named "&ePlayer Stats" with lore "&r ||&fLevel: &a%{playerlevel::%uuid of player%}%||&fExperience: &a%{playerxp::%uuid of player%}%/%{playerxpmax::%uuid of player%}%||&r ||&fTip: Use &2Boosters &fto advance levels faster!" to do nothing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement