Advertisement
CREAMPAN0408

Untitled

Jun 6th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. options:
  2. Prefix: &cReward &7>&6> &e
  3. Percentage: 100
  4. #Set to TRUE if you want broadcast, set to false if you want no broadcast
  5. BroadcastTF: true
  6. BroadcastMessage: &c%player% &ereceived a reward from mining!
  7. #Add blocks you would like
  8. Block1: oak log
  9. Block2: diamond ore
  10. Block3: gold ore
  11. Block4: emerald ore
  12. #Rewards
  13. Reward1: oak log a named "&c原木"
  14. Reward2: apple 1 named "&e新鮮なリンゴ"
  15. #Reward3: 10 diamonds
  16. #Reward4: 25 diamonds
  17. #Reward5: 25 emeralds
  18. #Reward6: 10 emeralds
  19.  
  20. on mine of {@Block1}:
  21. chance of {@Percentage}%:
  22. if "{@BroadcastTF}" is "true" or "True" or "TRUE":
  23. set {_MineRewards} to a random integer between 1 and 6
  24. if {_MineRewards} is 1:
  25. give {@Reward1} to player
  26. stop
  27. if {_MineRewards} is 2:
  28. give {@Reward2} to player
  29. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement