ArtzifyHD

mcmmo

Aug 3rd, 2017
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. options:
  2. nopermission: &c&l(!) &cYou don't have permission to execute this command.
  3.  
  4. command /mmocrate <players>:
  5. permission: mmocrate.give
  6. permission message: {@nopermission}
  7. trigger:
  8. give arg 1 chest named "&f&lMCMMO&a&lcrate" with lore "&7>> (Right-click) to receive your MCMMO <<"
  9.  
  10. on rightclick:
  11. player is holding chest named "&f&lMCMMO&a&lcrate" with lore "&7>> (Right-click) to receive your MCMMO <<"
  12. cancel event
  13. remove 1 chest named "&f&lMCMMO&a&lcrate" with lore "&7>> (Right-click) to receive your MCMMO <<" from player
  14. set {MCMMO} to a random integer between 10 and 150
  15. execute console command "/addcredits %player% %{MCMMO}%"
  16. send "&bYou have received &f&l%{MCMMO}% MCMMO Credits"
Advertisement
Add Comment
Please, Sign In to add comment