[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

    goodoletom

    everytime i restart my server the NPCs are gone.
     
  3. Offline

    ShizzleTMS

    When i Create An NPC It Works But After Restarting They Dissapear? Is This A Bug?
    Also They Dont Look At You Or Talk When Requested That They Do?
     
  4. Offline

    jycs

    Please : how can I reduce the range of /npc talkclose ?
     
  5. Offline

    Imperial_Pigz

    Hi, me and my friends have recently put up our server using DaddyCheese server hosting, and we installed the Citizens 1.2 plugin, we have a problem though. Whenever we restart the server, or the server goes down etc, all the NPCs dissappear. All the files say they are there, but they arent. Neither of us are particulary good at "server talk" so can you please help, in a way we would be able to understand asap thanks :)
     
  6. Offline

    Imperial_Pigz

    Also we dont get any error messages when the server restarts, so i dont know why it is hapening
     
  7. Offline

    BeeT

    I found traders bug...
    Come near trader, logout, login, trade and wuolia, you can take all items from shop, move them or put new items.

    Please fix this bug.
     
  8. Offline

    Ash Mender

    Hey guys i have a problem. I can sell fine with traders except with Items with Sub values any help how can i fix it?
     
  9. Offline

    Tperry79

    This plugin makes me really happy inside, Keep up the good work :) !
     
  10. Offline

    Monstercat

    My guards aren't fighting mobs/people.
    There wasn't any errors it just that they don't respond to zombies when they are flagged to attack.

    Is there a way to make npcs fight eachother?
     
  11. Offline

    travja

    I have noticed you can use /npc money but there isn't really a perm for that... Is that with the trader perm or else what is the perm to allow users to withdraw/deposit money into an NPC
     
  12. Offline

    Lefty_Link

    I am having problems with the Citizens 1.2 plug-in for Bukkit and I cam across a problem. When I try to add multiple quests, it breaks the first one. I have tried multiple ways to try and fix it to no prevail.
    My formatting is:

    Example:

    Code:
    Buisness:
        texts:
            description: "<Jack> I have a nasty plan that might keep me in buisness
                <br>and you, my friend, are going to help me. Fizzle is giving me
                <br>a run for my money. Can you put him out of buisness for me?
                <br>&6Quest: <g>Just buisness...
                <br>&6Objective: Give Fizzle a fake letter from the city saying he is fired as blacksmith.
            acceptance: "<Jack> Excellent! I can truely count on someone like you
                <br>to do some dirty work. Don't think about double crossing me...
                <delay=60><Jack> Oh and if you get caught by the city force, don't say it was me or I will find you and hurt you.
                <delay=80>&6Quest: <g>Just buisness... &6started!
                <delay=40><g>Remember, you can use &6/quest status <g>to check your progress."
            completion: "<Jack> Did you do it? Really?! I am so glad! Hahaha, the poor sap...
                <br>The look on his face will be priceless...
                <br>&6Quest: You recieved six diamonds! Was it worth it?
                <br><Jack> Now go back to the streets, alright?
                <delay=40><Jack> Unless you buy tools or tool repair, you are not welcome!"
        repeats: 1
        objectives:
            '0':
                '0':
                    type: move location
                    location:
                        x: -1242.5
                        y: 67
                        z: 1139.4
                        world: spawntown
                    amount: 8
                    message: "&6Quest: Take the letter to Fizzle in his smith down town."
                    rewards:
                        '0':
                            type: item
                            id: 339 # paper
                            amount: 1
            '0':
                type: delivery
                materialid: 339 # paper
                amount: 1
                npcdestination: 4
                message: "<Fizzle> Is this real?
                    <delay=60><Fizzle> I suppose I better pack my things... Jack wins...
                    <delay=80><Fizzle> Oh, and thanks for showing me this...
                    <br>&6Quest: This quest was a bit rough, but good job.
                    <delay=120>&fBetter get back to <g>Jack &fand claim that prize.
                    <delay=120>(HINT: Right click Jack with the paper to finish)"
            '1':
                type: delivery
                materialid: 339 # paper
                amount: 1
                npcdestination: 15
        rewards:
            '0':
                type: item
                id: 264
                amount: 6
    
    This is the quest I have and it works fine, which is greate. I test another quest seperately in the same file and it works fine but if I try to have them in there at the same time, the quests break. I tried finding spacing and suck but nothing seemed to work. Any ideas on how to get them to work together? (Btw, if any of you want to use this quest feel free ;) )

    I am also having the same guard issues where they will not attack anything. I am feeling a bit odd. It says no glitches but yet I am seeming to find some glitches. Is this supposed to happen?

    Thanks for your time.
     
  13. Offline

    navbarry

    The classes arent working for me
     
  14. Offline

    Doudle

    Hello there,

    Nice pluggin idea

    I got some problems with my guard. When I type /guard addflag zombie -m a message appear which tell me it as been add. Even if my aggro is on (aggresive), my guard won't attack any zombies. I dont get why its not working. I can see my flags setting when I type /guard flags -m

    Is this possible with a npc trader to sell different kind of wood? Because when i write /trader sell 5:1 3 (for Wooden Plank (Pine) at 3$) I get a message that I am already selling this item (in fact I am only selling ''5'' which is ordinary wood plank)

    Thx for your aid
     

  15. From what i see, you have 2 '0' level quests... try changing it from 0 0 1 2 , to 0 1 2 3 ;)
     
  16. Offline

    jycs

    I have this problem too !
    I have Minebackup too !
    BUT I have this problem only since my server is on a Linux server ?!

    Any other issue ?
     

  17. Code:
    What is wrong with my quests?
    Finding *ores* isnt working at all.
    I made quests to break certain amount of ORES, when quest is accepted and u break the ore asked -> ore amount in quest wont go up and u cant finish it :E
     
    [code]
    "Ghast Slaying":
        texts:
            description: "<Theo> The best way to take care of those Ghasts is to slay
                <br>them with a bow. Would you be willing to help our small Faction?
                <br>&6Quest: <g>The Ghast Slayer, Part 1
                <br>&6Objective: Destroy 6 Ghasts."
            acceptance: "<Theo> Great! You are truly a friend! Our small
                <br>Faction has a lot to offer, so stick around.
                <delay=60><Theo> HAHAHA... get it? <g>STICK&f around? HAH HAH HAH!
                <delay=80>&6Quest: <g>The Ghast Slayer, Part 1 &6started!
                <delay=40><g>Remember, you can use &6/quest status <g>to check your progress."
            completion: "<Theo> Wow! You've taken care of the Ghasts already?
                <br>We really appreciate the help!
                <br>&6Quest: You have recieved 100 Soins for your effort. Sweet!
                <br><Theo> Don't bounce outta here too soon.
                <delay=40><Theo> HAHA.. get it? <g>BOUNCE&f? Oh.. HAH HAH!"
        repeats: -1
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'ghast'
                    amount: 6
                    message: "&6Quest: A dozen ghasts down. That wasn't so hard.
                        <delay=120>&fPerhaps you should see if <g>Theo &frequires any additional help?"
                '1':
                    type: delivery
                    materialid: 370
                    amount: 4
                    npcdestination: 5
                    optional: True
     
                    message: "&6Quest: Ghast tears delivered.
                        <delay=50><Theo> Oh, what's this?
                        <delay=20><Theo> OH! Ghast tears, Yes! You can keep what you find, but I
                        <br>appreciate the gesture! Take this -- perhaps it will help you
                        <br>become a more efficient ghast slayer!
                        <br><Theo>What have you got to l-ooze?
                        <delay=40><Theo> HAHA. Get it? L-<g>OOOOZE&f? HAHAHA
                        <delay=20>&6Quest: You have received a bow and some arrows! Nice!"
                    rewards:
                        '0':
                            type: item
                            id: 261  # Bow
                            amount: 1
                        '1':
                            type: item
                            id: 262  # Arrows
                            amount: 64
        rewards:
            '0':
                type: money
                money: 100
     
    "Ghasts Slaying":
        texts:
            description: "<Thaus> The best way to take care of those Ghasts is to slay
                <br>them with a bow. Would you be willing to help our small Faction?
                <br>&6Quest: <g>The Ghast Slayer, Part 1
                <br>&6Objective: Destroy 6 Ghasts."
            acceptance: "<Thaus> Great! You are truly a friend! Our small
                <br>Faction has a lot to offer, so stick around.
                <delay=60><Thaus> HAHAHA... get it? <g>STICK&f around? HAH HAH HAH!
                <delay=80>&6Quest: <g>The Ghast Slayer, Part 1 &6started!
                <delay=40><g>Remember, you can use &6/quest status <g>to check your progress."
            completion: "<Thaus> Wow! You've taken care of the Ghasts already?
                <br>We really appreciate the help!
                <br>&6Quest: You have recieved 100 Soins for your effort. Sweet!
                <br><Thaus> Don't bounce outta here too soon.
                <delay=40><Thaus> HAHA.. get it? <g>BOUNCE&f? Oh.. HAH HAH!"
        repeats: -1
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'ghast'
                    amount: 6
                    message: "&6Quest: A dozen ghasts down. That wasn't so hard.
                        <delay=120>&fPerhaps you should see if <g>Thaus &frequires any additional help?"
                '1':
                    type: delivery
                    materialid: 370
                    amount: 4
                    npcdestination: 4
                    optional: True
     
                    message: "&6Quest: Ghast tears delivered.
                        <delay=50><Thaus> Oh, what's this?
                        <delay=20><Thaus> OH! Ghast tears, Yes! You can keep what you find, but I
                        <br>appreciate the gesture! Take this -- perhaps it will help you
                        <br>become a more efficient ghast slayer!
                        <br><Thaus>What have you got to l-ooze?
                        <delay=40><Thaus> HAHA. Get it? L-<g>OOOOZE&f? HAHAHA
                        <delay=20>&6Quest: You have received a bow and some arrows! Nice!"
                    rewards:
                        '0':
                            type: item
                            id: 261  # Bow
                            amount: 1
                        '1':
                            type: item
                            id: 262  # Arrows
                            amount: 64
        rewards:
            '0':
                type: money
                money: 100
     
    Darren:
        texts:
            description: Here is a list of thing's I need. If you take it to Jed he will give them to you and I will pay you a fair price if you bring them to me.
            completion: Darren gives you a Melon seed.
            acceptance: <g>Sure, not a problem. <y>Jed lives in the Knights faction house.
        repeats: -1
        objectives:
            '0':
                '0':
                    type: move location
                    location:
                        x: 245
                        y: 69
                        z: 263
                        world: semicraft
                    amount: 5
                    message: <y> Darren hands you the list. It asks for. <g> 1 Ender Pearl, 1 Book, 4 Bread.
                    rewards:
                        '0':
                            type: item
                            id: 339
                            amount: 1
                            take: false
            '1':
                '0':
                    type: delivery
                    npcdestination: 7
                    materialid: 339
                    amount: 0
                    message: <y>You, <g>Hello Jed, here's the Darrens shopping list. <y> Jed takes the list, looks it over, then hands it back. Jed, <g>Sadly I don't have the stuff to make the Darrens bread. If you get me 12 wheat I can do it.
            '2':
                '0':
                    type: delivery
                    npcdestination: 7
                    materialid: 296
                    amount: 12
                    message: <y>You, <g>Here is the wheat you need. <y> Jed, <g>Come back in a few and I will have the bread done.
            '3':
                '0':
                    type: delivery
                    npcdestination: 7
                    materialid: 339
                    amount: 1
                    message: <y>Jed, <g>Okay, here you go. Everything he ordered.
                    rewards:
                        '0':
                            type: item
                            id: 368
                            amount: 1
                            take: false
                        '1':
                            type: item
                            id: 340
                            amount: 1
                            take: false
                        '2':
                            type: item
                            id: 297
                            amount: 4
                            take: false
            '4':
                '0':
                    type: delivery
                    npcdestination: 6
                    materialid: 368
                    amount: 1
                    message: <y>You give Darren the Ender Pearl.
                '1':
                    type: delivery
                    npcdestination: 6
                    materialid: 340
                    amount: 1
                    message: <y>You give Darren the Book.
                '2':
                    type: delivery
                    npcdestination: 6
                    materialid: 297
                    amount: 4
                    message: <y>You give Darren the 4 bread.
        rewards:
            '1':
                type: item
                id: 362
                amount: 1
                take: false
    Sponge:
        texts:
            description: Po gives you a list of things i need to be done and delivered. If you go to Po he will give you a list. I will pay you a fair price if you complete the quest.
            completion: Sponge gives you a Melon seed.
            acceptance: <g>Sure, not a problem. <y>Po lives next to the Vikings faction house.
        repeats: -1
        objectives:
            '0':
                '0':
                    type: move location
                    location:
                        x: -127
                        y: 75
                        z: 614
                        world: semicraft
                    amount: 5
                    message: <y> The list says <g> 1 Ender Pearl, 1 Book, 4 Bread.
                    rewards:
                        '0':
                            type: item
                            id: 339
                            amount: 1
                            take: false
            '1':
                '0':
                    type: delivery
                    npcdestination: 9
                    materialid: 339
                    amount: 0
                    message: <y>You, <g>Hello Po, You have a list to look at?. <y> Po gives the list, You look it over. Po, <g>Sadly I don't have the stuff to make the Sponges bread. If you get me 12 wheat I can do it.
            '2':
                '0':
                    type: delivery
                    npcdestination: 9
                    materialid: 296
                    amount: 12
                    message: <y>You, <g>Here is the wheat you need. <y> Po, <g>Come back in a few and I will have the bread done.
            '3':
                '0':
                    type: delivery
                    npcdestination: 9
                    materialid: 339
                    amount: 1
                    message: <y>Po, <g>Okay, here you go. Everything he ordered.
                    rewards:
                        '0':
                            type: item
                            id: 368
                            amount: 1
                            take: false
                        '1':
                            type: item
                            id: 340
                            amount: 1
                            take: false
                        '2':
                            type: item
                            id: 297
                            amount: 4
                            take: false
            '4':
                '0':
                    type: delivery
                    npcdestination: 8
                    materialid: 368
                    amount: 1
                    message: <y>You give Sponge the Ender Pearl.
                '1':
                    type: delivery
                    npcdestination: 8
                    materialid: 340
                    amount: 1
                    message: <y>You give Sponge the Book.
                '2':
                    type: delivery
                    npcdestination: 8
                    materialid: 297
                    amount: 4
                    message: <y>You give Sponge the 4 bread.
        rewards:
            '1':
                type: item
                id: 362
                amount: 1
                take: false
     
    "Enemy Faction":
        texts:
            description: "Enemy faction is increasing in population fast, we need you to kill enemy faction player!"
            completion: "<g>Nice work mate! You did hell of a job there! It was a mess for them to clean up."
            acceptance: "<y>Yeh no proplems, I will slay the enemies! <g>Thank you for accepting quest which no one else would."
        repeats: -1
        objectives:
            '0':
                '0':
                    type: player combat
                    string: '*'
                    amount: 5
                    optional: False
                    finishhere: True
                    message: "Slay an enemy factioner!"
        rewards:
            '0':
                type: health
                amount: 20
            '1':
                type: money
                money: 300
            '2':
                type: item
                id: 115
                amount: 5
                take: True
     
    "Finding Diamonds":
        texts:
            description: "<g>I need you to find me some diamonds. Can you do that?"
            completion: "<g>Good work! You brought the needed diamonds!"
            acceptance: "<y> That should be piece of cake. Ill get back to you when i'm done."
        repeats: 2
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 56
                    amount: 8
                    optional: False
                    finishhere: True
                    message: "You have found the needed diamonds"
        rewards:
            '0':
                type: item
                id: 52
                amount: 1
                take: True
     
    "Finding Gold":
        texts:
            description: "I need you to find me some Gold ores."
            completion: "<g> Good work! Youre born to be miner!"
            acceptance: "<y>Works for me. I get back to you when i'm done."
        repeats: -1
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 14
                    amount: 16
                    optional: False
                    finishhere: True
                    message: "You have found the needed gold"
        rewards:
            '0':
                type: money
                money: 100
            '1':
                type: item
                id: 42
                amount: 1
                take: True
            '2':
                type: quest
                quest: "Finding Lapiz"
     
    "Finding Lapiz":
        texts:
            description: "Find some Lapiz Lazulis for me would you?"
            completion: "Good job! You have finished the quest and earned your reward!"
            acceptance: "<y>I can do that, finding lapiz all the time."
        repeats: -1
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 21
                    amount: 32
                    optional: False
                    finishhere: True
                    message: "You have found the needed lapiz"
        rewards:
            '0':
                type: item
                id: 7
                amount: 8
                take: True
    


    Still waiting
     
  18. Offline

    wolfthewerewolf

    how do you rate plugins cause this plugin is garbage, claims it has commands that in reality it does not, such as: /npc character <character>. As well trying to make an npc mob is impossible for this command: /npc create [name] (--type (type)) does not work either and is completely unspecific i tried /npc create creeper --type creeper, /npc create creeper --creeper, /npc create creeper (--type creeper), /npc create --creeper, /npc create --type creeper, and many many more and not ONE works so the wiki is garbage as well. Moral of the story is that i get real pissed when a plugin claims to have features that it does not, get this fixed or don't make plugins.

    edit: forgot to mention that there is no "Getting Started" guide on the wiki so if you don't have experience with plugins your completely boned...

    edit: just found a plugin for what i need: http://forums.bukkit.org/threads/fu...-spawn-npcs-of-any-mob-type-1-2-5-r1-0.50882/
    use this if you want a WORKING plugin to spawn npc mobs
     
  19. Offline

    fullwall

    wolfthewerewolf - looks like you've been reading the citizens 2 documentation on the wiki and ignoring the warning on top to go to 1.x pages. Try here.
     
  20. Offline

    drmzn

    Ive been having trouble with selecting NPC's , any chance somebody have the permission nodes?
     
  21. Offline

    jycs

    unusable until the npc disappear with Minebackup.
     
  22. I got this error: java.lang.NoSuchMethodError: org.bukkit.event.Event.(Ljava/lang/String;)V
    at net.citizensnpcs.api.event.CitizensEvent.(CitizensEvent.java:9)
    at net.citizensnpcs.api.event.CitizensEnableEvent.(CitizensEnableEvent.java:9)
    at net.citizensnpcs.Citizens$3.run(Citizens.java:158)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)

    What happened?
     
  23. Offline

    Ash Mender

    how do i get traders to sell items like darkwood/jungle wood etc i cant put in the subvalue it doesnt work.. ex 17:1
     
  24. Offline

    fullwall

  25. Offline

    OwnerCake

    Can i change their skin?
     
  26. Offline

    Lefty_Link

    I fixed this issue but it still won't let me use two together. Should I post an example of two quests or...?
     
  27. Offline

    Yoman987

    Using the requirement nodes with a Quester, is there a way to tell the player that they cannot start a quest due to them not having the requirement? Do you do that using the message type?
     
  28. Offline

    DardoTheMaster

    when active pvp in the plugin config and try to attack a bot,him stands still and not attack me, what should I do?
     
  29. Offline

    GoldenX

    Hi!
    Is there a way to prevent citizens to despawn when the chunck is unloaded? Because I use a plugin which permit to change the npc's skin and the skin doesn't appear when the citizen despawns and respawns.

    Thank you.
     
  30. My Guards will not attack. I have all the right configurations set in game. I gave them a radius set them to Aggro added flags. Put them in bouncer. It will just not work. I really want this to work.. Is there any way I can fix this? I need guards for meh castle
     
  31. Offline

    CosmicVoyager

    Hello,

    Does anyone know if this or any other plugin has a command to spawn an NPC at given x,y,z coordinates please?

    Thanks
     

Share This Page