Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /quests-1:
- trigger:
- while amount of wheat in player's inventory is bigger than 30:
- make console execute command "scoreboard players add %player% money 100"
- make console execute command "manuaddp %player% quest-1.complete"
- remove 30 wheat from player's inventory
- set 250 to xp of player
- send "&6Β» &eSuccess! you have completed the quest"
- else:
- send "&6Β» &eError! &eyou do not have enough wheat"
- command /quests:
- trigger:
- open chest with 6 rows named "&6&lQuests" to player
- wait 5 ticks
- format slot 4 of player with player's skull named "&6&l%player%" with lore "" to be unstealable
- if player has permission "quest-1.complete":
- format slot 10 of player with enchant_book of thorns 1 named "&6&lQuests &7(&81&7)" with lore " ||&eObjective &fGet 30 Wheat ||&eReward &f250 XP and $100 ||&eStatus &a&lUNLOCKED" to close
- if player doesn't have permission "quest-1.complete":
- format slot 10 of player with enchant_book named "&6&lQuests &7(&81&7)" with lore " ||&eObjective &fGet 30 Wheat ||&eReward &f250 XP and $100 ||&eStatus &c&lLOCKED" to close then run [make player execute "/quests-1"]
Advertisement
Add Comment
Please, Sign In to add comment