Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sponsor:
- permission: sponsor.use
- trigger:
- set {_locp} to location of player
- set block at {_locp} to trapped chest
- send "&5Tu a recus ton sponsor"
- set {sponsor.use} to true
- On rightclick on trapped chest:
- if {sponsor.use} is true:
- chance of 10%
- add 2 diamond to {random.item.list::*}
- add 1 diamond sword to {random.item.list::*}
- add 10 wood to {random.item.list::*}
- add 1 diamond chestplate to {random.item.list::*}
- chance of 30%
- add 1 diamond to {random.item.list::*}
- add 1 iron sword to {random.item.list::*}
- add 1 iron chestplate to {random.item.list::*}
- add 10 arrow to {random.item.list::*}
- add 1 bow to {random.item.list::*}
- chance of 60%
- add 16 stone to {random.item.list::*}
- add 4 stick to {random.item.list::*}
- add 1 stone sword to {random.item.list::*}
- chance of 90%
- add 8 steak to {random.item.list::*}
- add 5 apple to {random.item.list::*}
- add 1 wooden sword to {random.item.list::*}
- chance of 100%
- set {randomitem} to random element out of {random.item.list::*}
- add a random item out of {randomitem} to the targeted block's inventory
Advertisement
Add Comment
Please, Sign In to add comment