[FUN] Citizens v2.0.11 - Human NPCs for Bukkit [1.7.2]

Discussion in 'Archived: Plugin Releases' started by Citizens, Mar 5, 2011.

  1. Offline

    Citizens

    Citizens - Human NPCs for Bukkit
    Version: 2.0.11
    Authors: @fullwall and @aPunch
    Source: Citizens on GitHub

    Citizens is now on BukkitDev

    This thread will no longer be updated. We encourage you to use our page on BukkitDev. You can find information, links to our wiki and website, and the download page there.

    Showing Your Support

    We work hard to maintain Citizens. We've been working on Citizens2 around the clock on new and exciting features. A little motivation never hurts, so feel free to donate to us - fullwall and aPunch.

    If you can't donate, we appreciate a "hello" every now and then. Stop by the IRC channel #citizens on irc.esper.net to discuss Citizens and give thanks!
     
  2. Offline

    fullwall

    @blurgwitz - between each waypoint. Yes, you can do pauses - /wp mod delay. Random pathfinding is implemented, but you can't switch it on just yet.
    @DaEgo - citizens.trader.use.trade
    @worstboy32 - sorry, I didn't have time before going away - trying now.
     
  3. Offline

    fullwall

    @worstboy32 - I couldn't reproduce :(. What plugins are you using?
     
  4. Offline

    DarthNomad

    This would be very great, because the quest system is very good for simple quests, but if you try to make it more detailed, there are some problems:
    You can´t define the location of blocks you have to destroy/build. So one of my quest ideas (cleaning a cave with 8 mobspawners) couldn´t be realized, because the players can destroy any spawners anywhere on the world map to finish the quest.
    So I tried a delivery quest and made with SpoutMaterials a "monstercave-finish-item" which you have to take and bring it to the npc.
    I realized that Citizens can´t handle the IDs you set in the SpoutMaterials config file.
    So it would be very nice if you add some more options to specify objectives (location for blocks have to be placed/destroyed and/or ability to deal with custom IDs/data values).

    I hope someone could help me :)
     
  5. Offline

    deathwhitch

    Anyone found a fix for this yet? or is there one at all? I have updated to the newest version of the plugin but my EVILS are also useless. They stand there sometimes floating in mid air and cant be interacted with. Disabling them and reloading the plugin is the only way to get rid of them
     
  6. Offline

    penfia

    hmm i have a problem with /toggle when i want to toggle the npc. the toggle list is emty what is wrong?
     
  7. Offline

    worstboy32

    Plugins:
    AutoAnnounce, bPermissions, Creaturebox, Enderpearldisabler, Essentials (spawn,core,chat), Factions, Fastfood, Helperbot, Jobs, LeaverBuster, LoginCheck, McMMO, Multiverse(core), NocCheat, ObsidianDestroyer, OKspamSecuirity, Register, SignUtilities, SuperSpawn, WebSend, Worldborder, WorldEdit, WorldGuard.

    All of them updated 17-12-11
    Hopeful u can do something with this.
    I have looked around and i found more servers with this issue.
     
  8. Offline

    worstboy32

    You have to add the jars with all npc types in the types folder in your citizens folder.
    You can find them in the rar with the citizens.jar
     
  9. Offline

    killerrj8

    It's fine that it works for you . But not for me.
    I tried it a thousand times.
    And the guard just stands there and does nothing
     
  10. Sorry for you :( try redownload
     
  11. Offline

    Noobscraft

    Hey, Citizens is a great plugin but I find time and time again it causes so much problems when I use it, all these new features made me want to use it again but still it causes a bad memory leak issue that is just mass lagg throughout the server, we have tried turning off the plugin and everything improves once its disabled. I hope to be able to use this plugin again but for now I think we are going to have to disable it once again. Could you investigate into theses issues?
     
  12. Offline

    zupalex

    Hello, just a quick suggestion.
    It will be cool to have the possibility to set a skin to our NPC after the creation because right now, the skin is attached to the name of the NPC which is not really conveniant for having different NPC with the same skins (not the Notch one of course) or even changing the color of their name without loosing the skin.
    I'm absoluetly not talking about custom NPC skins, just beeing able to differentiate the name of the NPC with the name of the skin.
    Thank you for reading.
     
  13. Offline

    Zombiemold

    This plugin isn't %100 copatible with Towny. It overrides the /t command, which is a pain :/

    Would love to see a single config line, to make it better compatible with towny, by simply changing the command Citizens uses /t for.
     
  14. Offline

    bizzig

    Another issue....
    Waypoints not working properly. Trying to place waypoints for a path, and after a certain point (usually between the 3rd and 5th waypoint) it says "can't place more than 16 blocks from last waypoint", even when the last waypoint is right next to the one I try to lay.
     
  15. Offline

    fullwall

    @Noobscraft - hoping to fix this via rewrite.
    @worstboy32 - I'm thinking it could be a plugin conflict... does it happen after you /reload a few times?
     
  16. Offline

    worstboy32

    yes, After reload and restart it still lag.
    And took off some bigger plugins (Essentials, factions, mcmmo)
    And that didn't fix it to.
     
  17. Offline

    Spiritwind

    Anyone have any guides for quest writing?
     
  18. Offline

    DaEgo

    Question :
    Can a Trader handle MORE than one Player at once ?
    If a Player open the Trade window, the Trader is blocked for all

    and :
    how do i sell same ID with different aliases ?
    i can sell 17 and 17:1 but i cant sell 17:2 !?
    cause first alias is the item amount, but with first entry i use it works, i dont know why
     
  19. i got few quests which ive tried to copy from around this topic and other places and i think most of them works and ive made multiple my own.

    This is 19 quests and i think they all work. U can edit them if u wish, and ive also taken some from this topic as i said and edited them proper for my server. Hope it helps

    Code:
    FirstQuest:
        texts:
            description: A build quest
            completion: <g>You win! Here's some stone.
            acceptance: <g>Challenge <y>accepted<g>.
        objectives:
            '0':
                '0':
                    type: build
                    materialid: 1
                    amount: 3
                    message: Built. Now come back here!
        rewards:
            '0':
                type: item
                id: 1
                amount: 64
                take: false
    FetchABlock:
        texts:
            description: A fetch quest
            completion: <g>You win! Give me that stone.
            acceptance: <g>Challenge <y>accepted<g>.
        repeats: 1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 1
                    amount: 3
                    message: A voice echoes... "I want that stone now!"
        rewards:
             '0':
                type: item
                id: 1
                amount: 3
                take: true
    Animals:
        texts:
            description: A mob quest - kill any 3 of cow, pig or chicken
            completion: <g>You win!
            acceptance: <g>Challenge <y>accepted<g>.
        repeats: 2
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'cow, pig, chicken'
                    amount: 3
                    message: Animals slain \o/.
        rewards:
             '0':
                type: money
                id: 1
                amount: 10
                take: true
    Monsters:
        texts:
            description: A mob quest - kill any 3 of zombie, spider, creeper or skeleton
            completion: <g>You win!
            acceptance: <g>Challenge <y>accepted<g>.
        repeats: 2
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'zombie, spider, creeper, skeleton'
                    amount: 3
                    message: Monsters slain \o/.
        rewards:
             '0':
                type: money
                id: 1
                amount: 20
                take: true
    
    Skylord:
        texts:
            description: <b>Hey! <3>The Skylord is in trouble! <br><3>Go to him and see if everything is alright. <br><3>I will stay here and wait for you!
            completion: <3>Ok, so everything was alright? <br><3>Here some food <br><3>I'm sorry for wasting your time..
            acceptance: <a>Quest accepted! <br><3>Hurry up he might need you!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: move location
                    amount: 3
                    location:
                        x: 183
                        y: 92
                        z: -105
                        world: Semicraft
                    message: <6>I'm fine! Thanks for asking though. <br><6>Go and tell him i'm fine!.
        rewards:
            '0':
                type: item
                id: 322
                amount: 4
                take: true
    creeper:
        texts:
            description: <b>Hey! <3>I hope you have you're armour and sword still!  <br><3>Go kill 4 creepers for me!
            completion:  <3>Awesome, heres some food for you're hunger!
            acceptance:  <a>Quest Accepted <3>Let the creepers DIE!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: hunt
                    string: Creeper
                    #materialid:
                    amount: 4
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    #    world:
                    message: Wow Great job! Come back to me now to get you're reward!
        rewards:
            '0':
                type: item
                #quest:
                #money:
                #permission:
                id: 354
                amount: 4
                take: true
    einstein:
        texts:
            description: <b>Hey! <3>I just saw i had no more netherwart <br><3>Please find one and bring it to me.
            completion:  <3>Thanks a lot! Here is a special reward!
            acceptance:  <a>Quest Accepted <3>Hurry up please so i can get back to work.
        repeats: 10
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 115
                    amount: 1
                    message: <3>Thats what i needed bring it to me please.
        rewards:
            '0':
                type: item
                id: 46
                amount: 5
                take: true
    Miner:
        texts:
            description: <b><3>Hello, I'm a good miner, but i do need your assistance. <br><3>i need you to mine me one diamond!
            completion:  <b>Great Job! <3>you can keep the diamond! here is your gift.
            acceptance:  <a>Quest Accepted! <3>Be quick else you won't get a reward!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 56
                    amount: 1
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    #    world:
                    message: <3> Return to me now! for your reward!
        rewards:
            '0':
                type: item
                #quest:
                money: 100
                #permission:
                id: 265
                amount: 5
                take: true
    Farmer:
        texts:
            description: <b><3>Hello, Do you like my farm? <br><3>I need you to get some sugarcane!
            completion:  <a>Well done! <3>Here is some of my loot.
            acceptance:  <a>Quest Accepted!
        repeats: -1
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 83
                    amount: 3
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    #    world:
                    message: <3>Yes thats what i need come bring it to me.
        rewards:
            '0':
                type: item
                #quest:
                money: 20
                #permission:
                id: 296
                amount: 20
                take: false
            '1':
                type: item
                #quest:
                money: 20
                #permission:
                id: 338
                amount: 9
                take: false
    
    Alchemy:
        texts:
           description: <y>Hello there traveller, I am brewing up a powerful potion but missing some ingredients. Would you gather them for me?
           completion: <y>Thanks. Take these rewards as a kind gesture for the materials. <y> Dr_Yzarc hands over 500 Euros.
           acceptance: <y>Collect 2 Nether Warts, 5 Redstone and 1 Spider eye and return to Traveling_Alchemist.
        repeats: 5
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 372
                    amount: 2
                    message: <y>You have collected the required amount of Nether Wart.
                '1':
                    type: collect
                    materialid: 331
                    amount: 5
                    message: <y>You have collected the required amount of Redstone.
                '2':
                    type: collect
                    materialid: 375
                    amount: 1
                    message: <y>You have collected the required amount of Spider eye.
        rewards:
             '0':
                type: money
                money: 20
                take: true
    
             '1':
                type: money
                money: 10
                take: true
    
             '2':
                type: money
                money: 15
                take: true
    
    Fishing:
        texts:
           description: <y>Hello there traveller, I haven't been able to catch fish here. Could you get me some?
           completion: <y>Thank you. Take this as a reward for the fish. Come back anytime you need some money.
           acceptance: <y>Go fishing, bring 3 Raw Fish and 5 Coocked fish for Fisherman.
        repeats: 100
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 349
                    amount: 3
                    message: <y>You have collected the required amount of Raw Fish.
                '1':
                    type: collect
                    materialid: 350
                    amount: 5
                    message: <y>You have collected the required amount of Cooked Fish.
        rewards:
             '0':
                type: money
                money: 20
                take: true
    
    Ghasthunter:
        texts:
            description: <b>Hey! <3>I hope you have your armour,sword and bow ready, because I could use a little help at Nether! <br><3>Go kill Ghasts & bring their Tears to me. You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill some Ghasts!
        repeats: 100
        objectives:
            '0':
                '0':
                    type: hunt
                    string: Ghast
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
                '1':
                    type: collect
                    materialid: 370
                    amount: 2
                    message: <y>You have collected the required amount of Ghast Tears.
        rewards:
            '0':
                type: item
                quest: ZombiepigProplem_Part1
                money: 100
                #permission:
                id: 56
                amount: 1
                take: false
    
            '1':
                #type:
                quest: ZombiepigProplem_Part1
                money: 80
                #permission:
                id: 370
                amount: 2
                take: true
    
    ZombiePigProplem_Part1:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: ZombiePig
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                quest: ZombiePigProplem_Part2
                #money:
                #permission:
                id: 302
                amount: 1
                take: false
    
    ZombiePigProplem_Part2:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: ZombiePig
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                quest: ZombiePigProplem_Part3
                #money:
                #permission:
                id: 305
                amount: 1
                take: false
    
    ZombiePigProplem_Part3:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: ZombiePig
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                quest: ZombiePigProplem_Part4
                #money:
                #permission:
                id: 304
                amount: 1
                take: true
    
    ZombiePigProplem_Part4:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: ZombiePig
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                #quest:
                #money:
                #permission:
                id: 303
                amount: 1
                take: false
    
    Woodcutter:
        texts:
            description: Woodcutting is a basic skill. Go and cut some wood!
            completion: <g>Congrats! You have completed your quest.
            acceptance: <g>Quest <y>accepted<g>.
        repeats: 500
        objectives:
            '0':
                '0':
                    type: collect
                    #string:
                    materialid: 17
                    amount: 64
                    npcdestination: 40
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft
                    message: Good job! Now go back to Tree for your reward.
                '1':
                    type: delivery
                    #string:
                    materialid: 17
                    amount: 64
                    npcdestination: 39
                    location:
                        x: 198
                        y: 68
                        z: 65
                    world: Semicraft
                    message: Finally! What took you so long? Here is your reward.
    
        rewards:
            '0':
                type: money
                money: 20
                take: false
    
            '1':
                type: item
                #quest:
                money: 10
                #permission:
                id: 303
                amount: 1
                take: true
    
    EDIT:

    if someone could, please check if these are correct? :D if not lmk what i must change
     
    Spiritwind likes this.
  20. Offline

    Spiritwind

    Thanks, I appreciate it!
     


  21. If you wish i may update here the complete quest log everytime i make new 1s. I try make multiple new all the time so players have quests to enjoy more and more :)
     
  22. Offline

    dwarfychicken

    Keep the good work going
    nice work
    all works for me
     
  23. Offline

    bizzig

    So you have the Evil NPC's working perfectly? And no issues with waypoints?
     
  24. Offline

    JustT0by

    I would like to have a smaller version of Citizens because I'm running a small private server an need just an npc that can talk (no quests...)
     
  25. My Evil NPC will spawn with sword (wooden) but they bug, cant attack, they dont move or talk.

    Waypoints works fine for me, id like to have the NPC to stop or randomly patrol area selected with little breaks

    You dont have to use quests, use /npc create *name*

    then /npc reset or /npd add *text* <- to make new speaking system / add more speaks
     
  26. Offline

    Gongorrian

    is there a way to making a player unable to modify another players NPC ? :) if so please tell me :D
     
  27. Offline

    Spiritwind

    I will do the same once I get started :).
    Since there seems to be a lack of them for quest building - once I get the hang of things well, I will most likely be making a guide.
     
  28. erm, permissions?
    i have no edit permissions for normal players, only editers can be ADMINS. Players have only permission to buy / sell / talk to npcs (talk for quests)
     
  29. When I connect to my server, it restarts. After deleting Citizens, I can connect to itwithout rebooting. And it does it with me, not with others.

    I do not know what to do to solve this problem: (
     
  30. Offline

    General_Nono

    I have a problem:
    When I make a "move location" quest, nothing happens when I reach the location.
     
  31. i suppose u must add NPC or something to talk to? i dont really know, id suppose it would be like there must be a npc standing and u must talk to it @ certain position to finish the quest.


    My question is here:

    Can i make HOSTILE npc's as "bandits" to an CAMP in forest, add quest where you must walk there , kill 2x hostile bandit NPC's and return to quest giver? if so, can i have example how?


    EDIT:
    i also would like to know how to make npc hostile against player? do i have to type /guard addflag 1 PLAYER_NAME -p <-- each and every player on the server at a time until every1 are listed so its aggressive?! coz right now thats only way i got it work. I use bPermissions and /guard addflag 1 default -g <-- wont work, it says invalid group name or something and i have 2x groups : admins and default. How can i make the npc attack both NPC/MOBS/ANIMALS & PLAYERS? (without typing every players name in the damn server separated)
     

Share This Page