Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefix: &cReward &7>&6> &e
- Percentage: 0.5
- #Set to TRUE if you want broadcast, set to false if you want no broadcast
- BroadcastTF: true
- BroadcastMessage: &c%player% &ereceived a reward from mining!
- #Add blocks you would like
- Block1: iron ore
- Block2: diamond ore
- Block3: gold ore
- Block4: emerald ore
- #Rewards
- Reward1: diamond pickaxe of efficiency 3, unbreaking 2 named "&cReward &7>&6> &ePickaxe"
- Reward2: diamond pickaxe of efficiency 5, unbreaking 2, fortune 1 named "&cReward &7>&6> &ePickaxe"
- Reward3: 10 diamonds
- Reward4: 25 diamonds
- Reward5: 25 emeralds
- Reward6: 10 emeralds
- #messages
- RewardMessage1: &cGood Game! &fYou have received a diamond pickaxe with efficiency 3 and unbreaking 2!
- RewardMessage2: &cGood Game! &fYou have received a diamond pickaxe with efficiency 5, unbreaking 2 and fortune 1!
- RewardMessage3: &cGood Game! &fYou have found 10 diamonds!
- RewardMessage4: &cGood Game! &fYour luck has rewarded you with &c25 &fdiamonds!
- RewardMessage5: &cGood Game! &fYour luck has rewarded you with &c25 &femeralds!
- RewardMessage6: &cGood Game! &fYou have found 10 emeralds!
- on mine of {@Block1} or {@Block2} or {@Block3} or {@Block4}:
- chance of {@Percentage}%:
- if "{@BroadcastTF}" is "true" or "True" or "TRUE":
- broadcast "{@Prefix}{@BroadcastMessage}"
- set {_MineRewards} to a random integer between 1 and 6
- if {_MineRewards} is 1:
- give {@Reward1} to player
- message "{@Prefix}{@RewardMessage1}"
- stop
- if {_MineRewards} is 2:
- give {@Reward2} to player
- message "{@Prefix}{@RewardMessage2}"
- stop
- if {_MineRewards} is 3:
- give {@Reward3} to player
- message "{@Prefix}{@RewardMessage3}"
- stop
- if {_MineRewards} is 4:
- give {@Reward4} to player
- message "{@Prefix}{@RewardMessage4}"
- stop
- if {_MineRewards} is 5:
- give {@Reward5} to player
- message "{@Prefix}{@RewardMessage5}"
- stop
- if {_MineRewards} is 5:
- give {@Reward5} to player
- message "{@Prefix}{@RewardMessage5}"
- stop
- if {_MineRewards} is 6:
- give {@Reward6} to player
- message "{@Prefix}{@RewardMessage6}"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement