Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- nopermission: &c&l(!) &cYou don't have permission to execute this command.
- command /mmocrate <players>:
- permission: mmocrate.give
- permission message: {@nopermission}
- trigger:
- give arg 1 chest named "&f&lMCMMO&a&lcrate" with lore "&7>> (Right-click) to receive your MCMMO <<"
- on rightclick:
- player is holding chest named "&f&lMCMMO&a&lcrate" with lore "&7>> (Right-click) to receive your MCMMO <<"
- cancel event
- remove 1 chest named "&f&lMCMMO&a&lcrate" with lore "&7>> (Right-click) to receive your MCMMO <<" from player
- set {MCMMO} to a random integer between 10 and 150
- execute console command "/addcredits %player% %{MCMMO}%"
- send "&bYou have received &f&l%{MCMMO}% MCMMO Credits"
Advertisement
Add Comment
Please, Sign In to add comment