Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if arg 1 is "giveall":
- if arg 2 is set:
- player has permission "lottery.admin.giveall":
- loop all players:
- give loop-player (%arg 2% magma cream with name "&2&lL&a&lottery &6&lC&e&loin" with lore "&e&lType &a&l/lottery play&e&l!")
- broadcast "{@prefix} &a&l%player% &e&lgave all players %arg 2% &2&lL&a&lottery &6&lC&e&loins&e&l!"
- else:
- send "&4&lYou don't have permission to do that"
- stop
- else:
- send "{@prefix} &e&l/lottery giveall <amount>"
- stop
Advertisement
Add Comment
Please, Sign In to add comment