Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command List: http://pastebin.com/N2cLdmAb
- ()=EDIT YOURSELF
- YOU WILL SEE (SAME NUMBER) QUITE A BIT, AND BE SURE THAT IT IS THE SAME NUMBER YOU ARE USING FOR THE ENTIRETY OF THE QUEST, AND USE A DIFFERENT ONE FOR EVERY QUEST. THE NUMBER MUST BE AN ODD NUMBER BETWEEN 18-30, MEANING YOU CAN ONLY ADD A MAXIMUM OF 6 QUESTS.
- CONTACT ME IF YOU WANT TO ADD MORE.
- -If you're adding a quest, use these two commands:
- /tellraw @a[score_Quest1_min=(ODD NUMBER BETWEEN 18-30),score_Quest1=(SAME NUMBER)] [{text:"<Villager> (VILLAGER'S DIALOGUE)"},{text:" (AMOUNT OF XP FOR REWARD) XP",color:"green"}]
- /execute @a[score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER)] ~ ~ ~ scoreboard players set @e[score_Quest2_min=(SAME NUMBER),score_Quest2=(NUMBER),r=3,type=Villager] Quest2 31
- /execute @e[type=Villager,score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER)] ~ ~ ~ xp (XP AMOUNT USED EARLIER)L @a[score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER),r=1]
- -If the quest requires an item, use these commands:
- /execute @e[score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER),type=Villager] ~ ~ ~ scoreboard players set @a[r=1] Quest2 (SAME NUMBER) {Inventory:[{id:"minecraft:(ITEM ID)",Count:(AMOUNT OF ITEM)b}]}
- /clear @a[score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER)] (SAME ITEM ID) 0 (SAME AMOUNT OF ITEM)
- -If the quest requires an entity type, use this command:
- /execute @e[type=(ENTITY TYPE)] ~ ~ ~ execute @e[type=Villager,score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER),r=3] ~ ~ ~ scoreboard players set @a[r=1] Quest2 (SAME NUMBER)
- -If the quest requires an entity with a specific data-tag, use these commands:
- /execute @e[score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER),type=Villager] ~ ~ ~ scoreboard players set @e[type=(ENTITY TYPE),r=6] Quest2 (SAME NUMBER) {(TAGS OF THE ENTITY)}
- /execute @e[type=(ENTITY TYPE),score_Quest2_min=(SAME NUMBER),score_Quest=(SAME NUMBER)] ~ ~ ~ execute @e[type=Villager,score_Quest2_min=(SAME NUMBER),score_Quest2=(SAME NUMBER),r=3] ~ ~ ~ scoreboard players set @a[r=1] Quest2 (SAME NUMBER)
- -All together, you should have 5 commands-per-quest, unless it uses an item, and in that case you should have 4.
- -Add those commands into the list of other commands I have in the Command List pastebin, then put them all into this generator: http://mrgarretto.com/cmdcombiner
Advertisement
Add Comment
Please, Sign In to add comment