[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

    SamPam12

    Hello,
    help me I've installed and citizen in my start. command is :


    17:30:50 [INFO] Done (14.994s)! For help, type "help" or "?"
    17:30:50 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.a(I)V
    at net.citizensnpcs.resources.npclib.CraftNPC.<init>(CraftNPC.java:17)
    at net.citizensnpcs.resources.npclib.NPCSpawner.spawnNPC(NPCSpawner.java:75)
    at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:159)
    at net.citizensnpcs.Citizens.setupNPCs(Citizens.java:284)
    at net.citizensnpcs.Citizens.access$000(Citizens.java:62)
    at net.citizensnpcs.Citizens$2.run(Citizens.java:134)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    >17:30:50 [INFO] Server permissions file permissions.yml is empty, ignoring it
    >17:30:50 [INFO] Done (14.994s)! For help, type "help" or "?"
    >17:30:50 [WARNING] Task of 'Citizens' generated an exception
    >java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.a(I)V
    >at net.citizensnpcs.resources.npclib.CraftNPC.<init>(CraftNPC.java:17)
    >at net.citizensnpcs.resources.npclib.NPCSpawner.spawnNPC(NPCSpawner.java:75)
    >at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:159)
    >at net.citizensnpcs.Citizens.setupNPCs(Citizens.java:284)
    >at net.citizensnpcs.Citizens.access$000(Citizens.java:62)
    >at net.citizensnpcs.Citizens$2.run(Citizens.java:134)


    please help as fast as possible as it can ;)
     
  3. Offline

    sammymat1

    Everyone! to download click the "Citizens is now on bukkitdev"
     
  4. Offline

    LosT

    Hi there!
    First of all I wanted to thank the developers of this awesome plugin for all the work =) On small servers the npcs add a bit of a bigger world feeling. Very nice!

    Sadly I have encountered a problem with the location quests. I don't know what I'm doing wrong but the YAML parser and Citizens dont let me add the quest without breaking everything.
    Can someone spot the mistake and point it out to me please?
    Code:
    gotocrater:
        texts:
            description: We need an experienced man to check out the crater!
            completion: <g>What did you say? THAT huge?
            acceptance: <g>Good <y>luck!<g>.
        objectives:
            '0':
                '0':
                    type: move location
                    location:
                        x: 238
                        y: 70
                        z: 4
                        world: 'world2012'
                    amount: 60
                    text: You have found the crater.
        rewards:
            '0':
                type: money
                money: 50
            '1':
                type: command
                command: xp <player> 50
                server: true  
     
  5. Offline

    aufdemrand

    Paste the error it's giving you. I loaded your quest into my quests.yml without any issue.
     
  6. Offline

    bobacadodl

    Can you add an option for guard to NEVER respawn, meaning they get deleted and removed from the config when they die? Currently, bodyguards are really unfair on my server.
     
  7. Offline

    LosT

    aufdemrand: I am embarrassed to say, I loaded the quest into the the quest.yml again, restarted the whole server, as I did before, but this time it suddenly seemed to work. I am deeply sorry to have wasted your time :'(
    (though the text did not seem to appear)

    Thank you very much for trying it!
    As said before, your work is very much appreciated!

    Edit: It seems I should have studied the wiki more closely, then I would have noticed that it's not "text", as in the code, but "message".
     
  8. Offline

    rabbits

    Is it possible to KILL your npcs? Anything I have to do in the config? Me and my friend made an assassin's creed based map and we're gonna play it with guards everywhere, we would like to kill them.
    Anyone help?
     
  9. Offline

    kozmo

    where is it placed?
    & does it have anything else.
    citizens.trader.use.trade
    or
    'citizens.trader.use.trade'
    or
    - 'citizens.trader.use.trade'
    I would like to know how & where the code is placed. cause it seems everything I do is not working...
     
  10. Offline

    Block285

    Is there a way to make an npc fight each other, if there is tell me. Also is there a way to make a quest to hunt an npc if so tell me. Please!
     
  11. Offline

    Block285

    do /npc setowner [a friend that is not playing or a random player name that exists] if you want to get it back do
    /npc setowner [your username]
     
    rabbits likes this.
  12. I have a problem with traders and iconomy. I've made a trader that sells stuff from the nether and I've configured sell-/buy-prices and set him up to have unlimited supplies.
    The problem is that when someone buys something from him no money are charged even thought the message says it does. If they sell the things back to the trader they get the money. So as it is now everyone can make how much money they want buy buying for free and then just sell it back.

    Is this something anyone know how to fix?
     
  13. Offline

    rabbits

    Oh, so I just /setowner RandomPersonOnMyServer so they'll be killable? I'll try it, thanks!
     
    Block285 likes this.
  14. Offline

    ir0nfist

    I'm also having trouble with the move location quest. I didn't see the proper syntax on the wiki if the one above is correct. Either way I can't get it to work. Also when I do a quest status it errors out. I did see it say Goto Seabed when reaching a particular point at one point, but the quest would not complete.


    Disregard. I looked at wikia, followed that instead of the other wiki example I saw, and got it to work.
     
  15. Offline

    minemaker3000

    I need HELP Please The quests doesn't work ! Please help me
    I'm from germany.

    1:
    texts:
    description: Einfache Mob Quest -(Haupt)
    completion: <g>Danke für deine Hilfe. Hier ist deine Belohnung!
    acceptance: <g>Die ganzen schweine zerstoeren meine Ernte Toete 3 von ihnen<g>.
    repeats: 0
    objectives:
    '0':
    '0':
    type: hunt
    string: 'pig'
    amount: 3
    message: Du hast es geschaft. Besuche mich wieder damit du dir deine Belohnung abholen kannst !
    rewards:
    '0':
    type: item
    item:
    id: 297
    amount: 3
    data: 0
    '1':
    type: health
    amount: 10
    '2':
    type: money
    money: 5
     
  16. Offline

    minemaker3000

    ohh i found the mistake ! The text was to long
     
  17. Offline

    Scizzr

    Hello.

    First of all, I'd like to say that this used to be a great plugin, but for some reason has been broken for my server since the release of the 1.1 RB. When NPCs have paths defined, Bukkit spits these errors randomly:
    Code:
    2012-02-07 13:10:27 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getPlayer()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
        at net.citizensnpcs.resources.npclib.PathNPC.handleMove(PathNPC.java:146)
        at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:213)
        at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
        at net.citizensnpcs.TickTask.run(TickTask.java:30)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-02-07 13:10:28 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getPlayer()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
        at net.citizensnpcs.resources.npclib.PathNPC.handleMove(PathNPC.java:146)
        at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:213)
        at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
        at net.citizensnpcs.TickTask.run(TickTask.java:30)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
    Thanks.
     
  18. Offline

    rabbits

    How is it possible to stop guards from respawning?
     
  19. I'm getting this error for some reason:
    Code:
    2012-02-08 00:48:51 [INFO] [Citizens] Below is the stacktrace that has been transmitted to the developers, no other information has been included other than Citizens version information.
    2012-02-08 00:48:51 [INFO] [Citizens] An error occurred whilst sending your error report.
    2012-02-08 00:48:51 [INFO] [Citizens] An error has occurred, please wait while it is sent to the developers...
    ... 23 more
    at net.citizensnpcs.listeners.EntityListen.onEntityTarget(EntityListen.java:91)
    at net.citizensnpcs.resources.npclib.HumanNPC.callRightClick(HumanNPC.java:73)
    at net.citizensnpcs.wizards.Wizard.onRightClick(Wizard.java:206)
    at net.citizensnpcs.wizards.WizardManager.handleRightClick(WizardManager.java:127)
    at net.citizensnpcs.wizards.Wizard.getCurrentLocationName(Wizard.java:115)
    at java.util.ArrayList.get(Unknown Source)
    at java.util.ArrayList.rangeCheck(Unknown Source)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    ... 18 more
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Caused by: java.lang.reflect.InvocationTargetException
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:923)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at net.citizensnpcs.listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:51)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
    org.bukkit.event.EventException
    2012-02-08 00:48:51 [SEVERE] Could not pass event net.citizensnpcs.api.event.NPCTargetEvent to Citizens
    2012-02-08 00:48:35 [INFO] [Citizens] Below is the stacktrace that has been transmitted to the developers, no other information has been included other than Citizens version information.
    2012-02-08 00:48:35 [INFO] [Citizens] An error occurred whilst sending your error report.
    2012-02-08 00:48:35 [INFO] [Citizens] An error has occurred, please wait while it is sent to the developers...
    ... 23 more
    at net.citizensnpcs.listeners.EntityListen.onEntityTarget(EntityListen.java:91)
    at net.citizensnpcs.resources.npclib.HumanNPC.callRightClick(HumanNPC.java:73)
    at net.citizensnpcs.wizards.Wizard.onRightClick(Wizard.java:206)
    at net.citizensnpcs.wizards.WizardManager.handleRightClick(WizardManager.java:127)
    at net.citizensnpcs.wizards.Wizard.getCurrentLocationName(Wizard.java:115)
    at java.util.ArrayList.get(Unknown Source)
    at java.util.ArrayList.rangeCheck(Unknown Source)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    ... 18 more
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Caused by: java.lang.reflect.InvocationTargetException
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:923)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at net.citizensnpcs.listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:51)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
    org.bukkit.event.EventException
    2012-02-08 00:48:35 [SEVERE] Could not pass event net.citizensnpcs.api.event.NPCTargetEvent to Citizens
    
    I'm using citizens 1.1.5 and CB 1.1-R3. The error only appears once a while... I'm not sure why, but I've been having some memory leak troubles on my server, which I'm really trying to solve.
     
  20. Offline

    Blandothegreat

    Hey my npc are jsut disapreing the chat still works but other wise...
     
  21. Offline

    min

    my server is same situation.
    npc is normally work when first startup.
    but some time has passed.... npc gone! disappear!!!
    but still talk -0-;;;;;

    ...funny situation...
    all npc is not gone.
    a part of npc is gone at random position(I think per chunk)... -0-;;;;

    no error and even I can't feel when npc gone.
    only developer help me fix this plugin problem.
    help me..!!! or us!!!

    plugins list
    http://todaystory.net/image/3383/plugins.PNG
    bukkit version
    http://todaystory.net/image/3384/bukkit.PNG

    same time, same map, Different regions
    [npc disappear]
    http://todaystory.net/image/3388/screen.jpg

    [but here still exist]
    http://todaystory.net/image/3389/2012-02-08_17.49.34.png
     
  22. Hey. I'm using citizen since recently and I really like this plugin but I have a little problem. I use questers to make quests but I can't give any other potion than the water bottle as a reward. I wish to know how to give subobjects as rewards and trader, like every object that has subnumbers (Like dyes, spawneggs and potions)
     
  23. Offline

    Xenovai

    Hello,

    Possible to kill npc guards for a quest objective?
     
  24. Offline

    MGNick

    Would like to make it so specific groups from permission file can accept certain quests. Is this possible?
     
  25. Offline

    aufdemrand

  26. Offline

    aufdemrand

    Depends on which permissions plugin you are using. If you don't have one now, I would suggest PEX as it's pretty easy to set up.
     
  27. Grrrr, Whenever I type in any npc command like /npc create or /npc help, it keeps telling me its not recognized as a command an says type /npc help for help. But it type /npc help and it gives me the same error message. Help would be greatly appreciated :)
     
  28. Offline

    Block285

    You can just set the respawn time in the config 4 guards to a rly high number or i think if you put it negative the will never respawn.
     
  29. Offline

    Block285

    Is there a way to make a quest to have to kill a certin npc and make an npc fight another npc
    Please help!
     
  30. Offline

    Block285

    I am wondering the same thing
     
  31. Offline

    lilgraham

    How do I hide the names above them? I am trying to hide some npc's but it just ruins it since you can see their names from far away.
     

Share This Page