Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # By LuisGz
- on rightclick:
- if event-block is ender chest:
- cancel event
- add diamond to {_regalos::*}
- add iron sword to {_regalos::*}
- add gold pickaxe to {_regalos::*}
- set {_regalo} to random element of {_regalos::*}
- give {_regalo} to player
- send "&a&lHas ganado un %{_regalo}%!"
- command /anti-drops <text>:
- trigger:
- if argument 1 is "activar":
- set {anti-drops} to true
- send "Has activado el anti-drops!"
- if argument 1 is "desactivar":
- delete {anti-drops}
- send "Has desactivado el anti-drops!"
- on drop:
- if {anti-drops} is set:
- cancel event
- send "&cEl anti-drops esta activado!"
- # By LuisGz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement