Oxalist

Untitled

Jan 6th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. command /quests1:
  2. trigger:
  3. while amount of wheat in player's inventory is bigger than 30:
  4. remove 30 wheat from player's inventory
  5. make console execute command "scoreboard players add %player% money 100"
  6. make console execute command "manuaddp %player% quest-1.complete"
  7. send "&6ยป &eSuccess! you have completed the quest"
  8.  
  9. command /quests:
  10. trigger:
  11. open chest with 3 rows named "&6&lQuests" to player
  12. wait 5 tick
  13. format slot 4 of player with player's skull named "&6&l%player%" to be unstealable
  14. if player has permission "quest-1.complete":
  15. format slot 11 of player with 403 named "&6&lQuests &8(&71&8) &8ยป &a&lUNLOCKED" with lore " ||&eObjective: &fGet 30 Wheat ||&eReward: &f250 XP and $100 ||&eStatus: &a&lUNLOCKED" to close then run [make player execute ""]
  16. if player doesn't have permission "quest-1.complete":
  17. format slot 11 of player with 403 named "&6&lQuests &8(&71&8) &8ยป &c&lLOCKED" with lore " ||&eObjective: &fGet 30 Wheat ||&eReward: &f250 XP and $100 ||&eStatus: &c&lLOCKED" to close then run [make player execute command "quests1"]
Advertisement
Add Comment
Please, Sign In to add comment