Oxalist

Untitled

Jan 6th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. command /quests-1:
  2. trigger:
  3. while amount of wheat in player's inventory is bigger than 30:
  4. make console execute command "scoreboard players add %player% money 100"
  5. make console execute command "manuaddp %player% quest-1.complete"
  6. remove 30 wheat from player's inventory
  7. set 250 to xp of player
  8. send "&6Β» &eSuccess! you have completed the quest"
  9. else:
  10. send "&6Β» &eError! &eyou do not have enough wheat"
  11.  
  12. command /quests:
  13. trigger:
  14. open chest with 3 rows named "&6&lQuests" to player
  15. wait 5 tick
  16. format slot 4 of player with player's skull named "&6&l%player%" to be unstealable
  17. if player has permission "quest-1.complete":
  18. format slot 11 of player with 160:14 named "&6Mine C &eΒ» &c&lLOCKED &c&l(BROKEN)" with lore " || &eCost: &f20000" to close then run [make player execute "/minecpurchase"]
  19. if player doesn't have permission "quest-1.complete":
  20. format slot 11 of player with 160:14 named "&6Mine C &eΒ» &c&lLOCKED &c&l(BROKEN)" with lore " || &eCost: &f20000" to close then run [make player execute "/minecpurchase"]
Advertisement
Add Comment
Please, Sign In to add comment