Oxalist

Untitled

Jan 3rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. command /exchange:
  2. trigger:
  3. open chest with 3 rows named "&6&lLucky Block Exchanger" to player
  4. format slot 13 of player with player's skull with nbt "{display:{Name:""Oak Wood Arrow Left""},SkullOwner:{Id:""2391d533-ab09-434d-9980-adafde4057a3"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmQ2OWUwNmU1ZGFkZmQ4NGU1ZjNkMWMyMTA2M2YyNTUzYjJmYTk0NWVlMWQ0ZDcxNTJmZGM1NDI1YmMxMmE5In19fQ==""}]}}}"
  5.  
  6. command /luckyblocksselling:
  7. trigger:
  8. while amount of heads in player's inventory is bigger than 0:
  9. remove 1 head from player's inventory
  10. add 5 to {_penge.%player%}
  11. send "&3Β» Sold all heads for &b%{_penge.%player%}%&b$" to player
  12. add {_penge.%player%} to player's balance
  13. stop
  14.  
  15. command /luckyblock give [<player>]:
  16. permission: luckyblock.admin
  17. trigger:
  18. if argument 1 is not set:
  19. message "&6Please specify a name."
  20. if argument 1 is set:
  21. give skull of "luck" parsed as offline player named "&6&lLucky Block &e[&6&l?&e]" with lore "&eExchange at the luckyblock||&eexchanger for a reward" to arg-1
Advertisement
Add Comment
Please, Sign In to add comment