How to make quests in new Citizens 1.1?

Discussion in 'Bukkit Help' started by qwe1243, Sep 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    qwe1243

    Hey guys,

    I just updated my server to the newest RB and along with that I installed Citizens 1.1.
    I've looked in the quests.yml but theres only "{}" in it and I don't know how to make new quests.
    My question: Cloud someone post an example quest for me, so that I know how to make new quests?
    That would Be really nice!

    Cheers,
    Lasse :)

    please guys, i really cant figure out how to make quests for the New quester in citizens :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  2. Offline

    Brandon Egnell

  3. I sign this, too!
    Can someone post a working example of the quest layout?
     
  4. Offline

    Thydemented

    I don't know exactly how to do quests right in with citizens. But I got another plugin called RPGquest (http://forums.bukkit.org/threads/wip-rpgquest-rpg-questing.38256/) that plugs quests into the NPCs, and the quests are seriously customizable =D! The only downside is that you have to use a book to get the quest and a paper to turn in the quest. Though this will soon be changed (its WIP plugin) You should check it out :]
     
  5. Offline

    Xaladon

    It's not that hard, I'm writing a few quests myself. This is just an example:

    Code:
    Still Alive:
        texts:
            description: <g>Still Alive<br><y>[Neba]<br>You've finally woken up, good. Go outside and talk to the<br>Captain of this town. He's the one who picked you up. The<br>Harbor is to the left. Could you bring him his Compass while<br>you're at it? I've already given it to you.
            completion: <g>Quest Complete!<br><y>[Neba]<br>I can't really help you. You should go back to Cyrkon and ask if he can take you off this island.
            acceptance: <y>Challenge Accepted! Head over to the Harbor and bring the<br><y>Captain his Compass!
        repeats: 50
        objectives:
            '0':
                '0':
                    type: delivery
                    npcdestination: 2
                    materialid: 345
                    amount: 1
                    message: <g>=You give the Captain his Compass=<br><y>[Cyrkon]<br>You're still alive, good! Thank you for bringing me my Compass, <name>. Go back to Neba, he'll tell you where you should go<br>from here.
    Sticking Things Back Together:
        texts:
            description: <g>Sticking Things Back Together<br><y>[Cyrkon]<br>Norgle is to be fixing the mast. Go into town and collect some wood. Bring Norgle 32 Sticks and then come back to me.
            completion: <g>Quest Complete!<br><y>New Quest unlocked!<br><y>[Cyrkon]<br>Great, could you help Onwexry fix the sails now?<br><g>Setting Sail for Fail<br><y>[Cyrkon]<br>To fix the sails, he'll need some Leather. Could you bring him 7 Pieces of Leather?
            acceptance: <y>Challenge Accepted! Collect 32 Sticks, bring them to Norgle and then go back to Cyrkon!<br><y>NOTE: Collect quests require you to pick up items FROM THE FLOOR!!
        repeats: 50
        requirements:
            quest: Still Alive
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 280
                    amount: 32
                    message: <y>You've collected 32 Sticks! Now go bring them to Norgle!
            '1':
                '0':
                    type: delivery
                    npcdestination: 4
                    materialid: 280
                    amount: 32
                    message: <y>=You hand the Sticks over to Norgle=<br><y>[Norgle]<br>Thanks a bunch!
        rewards:
            '0':
                type: quest
                quest: Setting Sail for Fail
    Citizens questers have a lot of options. I'm still trying to find out all of them. If you're wondering what some of these things mean, feel free to PM me.
     
  6. Offline

    Deathlysteve-

    whats with all the <br>'s and <y>'s and all those stuff... i tried putting them in my quests they seem to do nothing...

    Hey
    I made a simple quest for my peeps to go collect 10 pork and bring it to Henry... this is what the config looks like:
    Code:
    Pork:
        texts:
            description: 'Why Hello there! You look like a nice fellow, could you help out a guy like me? <br>Im low on hunger and need food fast, but I only eat Pork Chops! Could you go kill some Pigs for me and bring me some Pork Chops? Raw is fine.'
            completion: 'Thank you! Thank you! Thank you!!! mmmm thats SOO yummy! well, thanks for helping, here is some money for helping me out!'
            acceptance: 'Challenge Accepted! Kill some Pigs, then bring 10 Pork to Henry! NOTE: You must KILL the Pigs, it will not work if you get your own Raw Pork!'
        repeats: -1
        objectives:
            '0':
                '0':
                    type: collect
                    amount: 10
                    materialid:319
                    message: You have collected 10 Pork! Now bring it all to Henry.
            '1':
                '0':
                    type: delivery
                    npcdestination: 18
                    materialid: 319
                    amount: 10
                    message: You have given Henry 10 Pork!
        rewards:
            '0':
                type: money
                quest: 250
    When i go to henry, I can start the quest all fine, but when I go out, kill the pigs and collect 10 pork, nothing happens. Whats going wrong???

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  7. Offline

    Svettnes

    Here's an example that works atleast, compare them an experiment =):

    Code:
    Quest2:
         texts:
              description: A fetch quest - Gather 15 Leaves.
              completion: <g>Thank you! Here's something that might come in handy! <y>(20 glowstone added to inventory)<g>
              acceptance: <g>Challange <y>accepted<g>.
         repeats: 3
         objectives:
             '0':
                 '0':
                     type: collect
                     materialid: 18
                     amount: 15
                     message: A voice echoes... "I want those leaves now!"
         rewards:
              '0':
                 type: item
                 id: 89
                 amount: 20
                 take: false
    
     
  8. Offline

    Xaladon

    '<br>' denotes a line break. '<y>' denotes yellow text. '<g>' denotes green text.

    This seems like a fairly simple quest, we're (well at least, I am) trying to figure out how to get a quest with multiple objectives working..
     
  9. Offline

    MadeByMe375

    I've wrote up this here, but when I try to assign it to a quester using the name "Supplies", it says that it does not exist.
    Code:
    Supplies:
        texts:
            description: <y>Hello there! You wouldn't mind helping a dwarf in need of some supplies?
            completion: <g>You did it! Here's your reward. It's something I like to keep around for hard times.
            acceptance: <y>Thank you! I need you to get me 16 arrows. Come back with those arrows for my next requirement.
        repeats: 50
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 262
                    amount: 16
                    message: Thank ye for the arrows! Now I need 12 pieces of leather to repair my armor.
            '1':
                '0':
                    type: collect
                    materialid: 334
                    amount: 12
                    message: Leather! My armor will be good as new. Now I just need a new compass.
    	'2':
    	    '0':
    		type: collect
    		materialid: 345
    		amount: 1
    		message: Ahah! I'll never get lost with this baby!
        rewards:
         '0':
                 type: item
                 id: 46
                 amount: 4
                 take: false
         '1':
                 type: money
                 amount: 100
                 take: false
    Have I ballsed this up, or do I need to restart my server?
    EDIT: Server would not start with this stuck in my quests yml. I have definitely screwed up somewhere.
     
  10. Offline

    Deathlysteve-

    ahh that seems true. I just use &y instead of <y>...

    Also if the multiple objectives arnt working for you (as in mroe than 1 step) then downlaod the latest DEV Build from here:http://ci.citizensnpcs.net/
    just downlaod all the .jar files in your screen and replace them with the ones in your /plugins/citizens/types
    fullwall told me that coz 1.1.2 doesnt work with mutliple steps
     
  11. Offline

    Forecaster

    I believe messages have to be surrounded by quotes when they contain special characters such as !
     
  12. Offline

    jogeta_masude

    another note, when writing messages avoid using apostrophes ' in the messages as it tends to mistake them as the end and start of the message, citizens will get all confused and crash and then probably won't restart until you delete you fix the error.
     
  13. Offline

    KompotPL

    Can someone explain me how to make a quest chain? And also, how to make qester give something at the begining of quest to deliver something?
     
  14. Offline

    UnknownAK

    can someone put up an example of a quest objective where you have to speak to someone as part of it so someone tells you to speak to someone and report back
     
Thread Status:
Not open for further replies.

Share This Page