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 /moneycrate <players>:
- permission: moneycrate.give
- permission message: {@nopermission}
- trigger:
- give arg 1 chest named "&f&lMoney&a&lcrate" with lore "&7>> (Right-click) to receive your Money <<"
- on rightclick:
- player is holding chest named "&f&lMoney&a&lcrate" with lore "&7>> (Right-click) to receive your Money <<"
- cancel event
- remove 1 chest named "&f&lMoney&a&lcrate" with lore "&7>> (Right-click) to receive your Money <<" from player
- set {money} to a random integer between 1 and 16
- if {Money} is 1:
- execute console command "/eco give %player% 10000"
- send "&bYou have received &f&l10000 Money "
- if {Money} is 2:
- execute console command "/eco give %player% 10000"
- send "&bYou have received &f&l10000 Money "
- if {Money} is 3:
- execute console command "/eco give %player% 20000"
- send "&bYou have received &f&l20000 Money "
- if {Money} is 4:
- execute console command "/eco give %player% 30000"
- send "&bYou have received &f&l30000 Money "
- if {Money} is 5:
- execute console command "/eco give %player% 40000"
- send "&bYou have received &f&l40000 Money "
- if {Money} is 6:
- execute console command "/eco give %player% 50000"
- send "&bYou have received &f&l50000 Money "
- if {Money} is 7:
- execute console command "/eco give %player% 60000"
- send "&bYou have received &f&l60000 Money "
- if {Money} is 8:
- execute console command "/eco give %player% 70000"
- send "&bYou have received &f&l70000 Money "
- if {Money} is 9:
- execute console command "/eco give %player% 80000"
- send "&bYou have received &f&l80000 Money "
- if {Money} is 10:
- execute console command "/eco give %player% 90000"
- send "&bYou have received &f&l90000 Money "
- if {Money} is 11:
- execute console command "/eco give %player% 100000"
- send "&bYou have received &f&l100000 Money "
- if {Money} is 12:
- execute console command "/eco give %player% 110000"
- send "&bYou have received &f&l110000 Money "
- if {Money} is 13:
- execute console command "/eco give %player% 120000"
- send "&bYou have received &f&l120000 Money "
- if {Money} is 14:
- execute console command "/eco give %player% 130000"
- send "&bYou have received &f&l130000 Money "
- if {Money} is 15:
- execute console command "/eco give %player% 140000"
- send "&bYou have received &f&l140000 Money "
- if {Money} is 16:
- execute console command "/eco give %player% 1500000"
- send "&bYou have received &f&l150000 Money "
Add Comment
Please, Sign In to add comment