Advertisement
CREAMPAN0408

Untitled

Jun 6th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. options:
  2. Prefix: &cReward &7>&6> &e
  3. Percentage: 100
  4. Percentage2: 20
  5. #Set to TRUE if you want broadcast, set to false if you want no broadcast
  6. BroadcastTF: true
  7. BroadcastMessage: &c%player% &ereceived a reward from mining!
  8. #Add blocks you would like
  9. Block1: oak log
  10. #Rewards
  11. Reward1: oak log named "&ećŽŸæœš"
  12. Reward2: apple"
  13.  
  14. on mine of {@Block1}:
  15. chance of {@Percentage}%:
  16. set {_MineRewards} to a random integer between 1 and 2
  17. if {_MineRewards} is 1:
  18. give {@Reward1} to player
  19. stop
  20. if {_MineRewards} is 1:
  21. give {@Reward2} to player
  22. stop
  23.  
  24. on mine of {@Block1}:
  25. chance of {@Percentage2}%:
  26. set {_MineRewards} to a random integer between 1
  27. if {_MineRewards} is 1:
  28. give {@Reward2} to player
  29. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement