[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

    Grey_M62

    Hello. I need help When i try to run it, i get this error message:



    Code:
    09:10:47 [SEVERE] Could not load 'plugins\Citizens.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open<Native Method>
            at java.util.zip.ZipFile.<init><Unknown Source>
            at java.util.jar.JarFile.<init><Unknown Source>
            at java.util.jar.JarFile.<init><Unknown Source>
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin<JavaPluginLoader.j
    ava:62>
            at org.bukkit.plugin.SimplePluginManager.loadPlugin<SimplePluginManager.
    java:215>
            at org.bukkit.plugin.SimplePluginManager.loadPlugins<SimplePluginManager
    .java:136>
            at org.bukkit.craftbukkit.CraftServer.loadPlugins<CraftServer.java:147>
            at org.bukkit.craftbukkit.CraftServer.<init><CraftServer.java:123>
            at net.minecraft.server.ServerConfigurationManager.<init><ServerConfigur
    ationManager.java:52>
            at net.minecraft.server.MinecraftServer.init<MinecraftServer.java:141>
            at net.minecraft.server.MinecraftServer.run<MinecraftServer.java:388>
            at net.minecraft.server.ThreadServerApplication.run<SourceFile:457>
    EDIT: I'm not sure, but maybe its because I'm on 1.0.0.
     
  3. http://ci.citizensnpcs.net/
    Latests dev builds works so far pretty good. Some small issues.
     
  4. Offline

    Treehouze

    @m0nk thnx you so mutch that's what i was loking for
     
  5. Offline

    sinkir

  6. Offline

    Lupusghost

    Nice Plugin but pls make it able for bukkit 1566
     
  7. Offline

    azraeldestiny

    I cant create npcs in 1.0.0 -.- (I'll stay with this mod like me one day to function properly)

    Version citizen: #333 10-dic-2011 0:00:55 = NOT WORK

    Error =

    [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoClassDefFoundError: net/minecraft/server/Packet17EntityLocationAction
    at net.citizensnpcs.resources.npclib.PathNPC.<init>(PathNPC.java:31)
    at net.citizensnpcs.resources.npclib.PathNPC.<init>(PathNPC.java:51)
    at net.citizensnpcs.resources.npclib.CraftNPC.<init>(CraftNPC.java:16)
    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:482)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.Packet17EntityLocationAction
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 12 more




    SEVERE] java.lang.NoClassDefFoundError: net/minecraft/server/Packet17EntityLocationAction
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.npclib.PathNPC.<init>(PathNPC.java:31)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.npclib.PathNPC.<init>(PathNPC.java:51)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.npclib.CraftNPC.<init>(CraftNPC.java:16)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.npclib.NPCSpawner.spawnNPC(NPCSpawner.java:75)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:159)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:189)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.commands.BasicCommands.create(BasicCommands.java:226)
    2011-12-10 17:52:36 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-12-10 17:52:36 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:530)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.java:407)
    2011-12-10 17:52:36 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:200)
    2011-12-10 17:52:36 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    2011-12-10 17:52:36 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    2011-12-10 17:52:36 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    2011-12-10 17:52:36 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-10 17:52:36 [SEVERE] Caused by: java.lang.ClassNotFoundException: net.minecraft.server.Packet17EntityLocationAction
    2011-12-10 17:52:36 [SEVERE] at java.net.URLClassLoader$1.run(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] at java.net.URLClassLoader$1.run(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    2011-12-10 17:52:36 [SEVERE] at java.net.URLClassLoader.findClass(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    2011-12-10 17:52:36 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    2011-12-10 17:52:36 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-12-10 17:52:36 [SEVERE] ... 27 more
     
  8. Offline

    worstboy32

    I am just started using citizens.
    But i have setup quests and things today.
    But now there is a lot lag when players login.
    It takes like 20 seconds to login and in that time the server is freezing.
    I hope there is just something i did wrong because else all my work is for nothing.
    I would like to use npc's and quests but not with 20 second lag every time ppl login.
    here is my citizens.yml: http://pastie.org/2988756
    And here the quests.yml: http://pastie.org/2988759
    Running bukkit: #1566
    Citizens: #331

    It is not a conflict with another plugin because i have tried it without other plugins.
    Please let me know if its a bug or if im doing something wrong.
     
  9. Offline

    666bob

    Could anyone answer this?

    I'm running a 1.8.1 LAN server with this plugin, and they don't want to work. I downloaded the one of the website as well, but, instead of that one working, it says there was an error for that one. But, the download of of here, it works, but the NPC's do nothing. :/ Any reason?
    (I use 1337 bukkit version with IC2 and BuildCraft)
     
  10. Offline

    fullwall

    @worstboy32 - how many NPCs do you have? What are your server specs? Are there any errors in console?
    @666bob - what do you mean by 'do nothing'?
     
  11. What i have noticed since using the new dev build is that it takes longer to log in,
    There was no effect on the login time on the latest RB before minecraft update, but on the dev build there is;
    Any solutions :/ ?
     
  12. Offline

    worstboy32

    There are no errors in the console.
    I'm running a dedicated 4gb server from legendaryservers.
    And i have 22 npc's
     
  13. Offline

    sac388

    my npc can't walk please help there is standing in my mcd: reached en of stream.
    and more crazy text. please help!!
     
  14. Offline

    666bob

    I get no errors when it comes to me running bukkit with Citizens. But, when i set their path and what they do, no matter what, they stand there.
    I could be doing something wrong, or something. But, i can talk to traders. I could just be really stupid and not catch my mistakes, but yeah.
     
  15. Offline

    hiro24

    Is there a list anywhere of what codes do what colors for the questers? like, I know <white> is white, <g> is green, <red> does red, and <blue> does blue.. what else is there?
     
  16. Offline

    Jake044

    VERY good plugin!
    I love it and so does my friends :D but when will it be updated? :eek:
     
  17. Offline

    Mortana

    I used your plugin and it's great. However, how can I receive the money from the blacksmith? Seems as if it is draining?
     
  18. Offline

    ParadoXz

    with the lastest #1597 build

    Code:
    2011-12-12 23:35:14 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoClassDefFoundError: net/minecraft/server/Packet17
        at net.citizensnpcs.resources.npclib.PathNPC.<init>(PathNPC.java:28)
        at net.citizensnpcs.resources.npclib.CraftNPC.<init>(CraftNPC.java:15)
        at net.citizensnpcs.resources.npclib.NPCSpawner.spawnNPC(NPCSpawner.java:31)
        at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:164)
        at net.citizensnpcs.Citizens.setupNPCs(Citizens.java:290)
        at net.citizensnpcs.Citizens.access$000(Citizens.java:63)
        at net.citizensnpcs.Citizens$2.run(Citizens.java:137)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.Packet17
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 11 more
    
     
  19. Offline

    bootscreen

    use the def build from http://ci.citizensnpcs.net/. this works for me
     
  20. Offline

    Lanuk

    Hello, just wondering...

    May it be possible to set the heads of NPCs to block textures as done in the SimpleHat plugin? I am not sure how that was done exactly, but since NPCs are considered players too technically, I was wondering if that could maybe be implemented somehow.
     
  21. Offline

    fullwall

    @hiro24 - the chatcolors are all implemented. I used the Bukkit naming scheme for them, but shortened things like 'dark' to 'd' - 'dark grey' is 'dgrey'. You can also refer to them by the numbers (0-F or 0-16). <0>, <C>, etc.
     
  22. Offline

    KubaBVB09

    When trying to create an npc with the most recent citizens dev build with the 1.0.1 craftbukkit release I get the following error:

    java.lang.NoClassDefFoundError: net/minecraft/server/Packet17
     
  23. Offline

    juicycool

    hi, ive got error with "authme" plugin
    [​IMG]

    help me plz :>
     
  24. Offline

    hiro24

    Thanks @fullwall but I kinda already dug through the source and found it :p I didn't know though about the numbers, that'll be useful. One more question though, regarding something I saw in the source in Messaging.java... I saw something about <delay>. Is that some type of delay for displaying messages or is it the delay for other parts, like.. the delay for standing at a move location for x seconds? If it's a message delay that'd be awesome.. can several be embedded into the msg to drag speech out? how does it work? (full of questions of this potentially exciting find.. :D )
     
  25. Offline

    fullwall

    @hiro24 - <delay=ticks> (several can be embedded, yes).
     
  26. Offline

    Sharingan123

    I create citizens and everything works but when it restarts the server citizens disappear. What do I do?
     
  27. Offline

    waltonaaron

    Hi, When I do /npc path I cannot set any points 16 blocks away from the first waypoint. Even if I do a 2nd way point 10 blocks away, i cant do a 3rd way point 16 blocks from the first waypoint. So is there anyway that I can either fix this, or any way that I can change the magical number 16 to like a 1000?
     
  28. Offline

    worstboy32

    I am just started using citizens.
    But i have setup quests and things today.
    But now there is a lot lag when players login.
    It takes like 20 seconds to login and in that time the server is freezing.
    I hope there is just something i did wrong because else all my work is for nothing.
    I would like to use npc's and quests but not with 20 second lag every time ppl login.
    here is my citizens.yml: http://pastie.org/2988756
    And here the quests.yml: http://pastie.org/2988759
    Running bukkit: #1566
    Citizens: #331

    It is not a conflict with another plugin because i have tried it without other plugins.
    Please let me know if its a bug or if im doing something wrong.

    @worstboy32 - how many NPCs do you have? What are your server specs? Are there any errors in console?

    There are no errors in the console.
    I'm running a dedicated 4gb server from legendaryservers.
    And i have 22 npc's

    Please help me with this issue.
    I have tried the last version of citizens and bukkit RB
    That have the same issues.
    Also when i remove the npc's it still give a lot of lag.
    It takes like 10<>20 seconds to login and the server freeze's then so its lagging for everyone.
     
  29. Offline

    Serejai

    Just wanted to chime in I've had the same 10-20 second login delay since using the 1.0 versions of Citizens. Also, guards don't seem to function at all unless a mob is literally standing on top of them (range issue), and as mentioned numerous times pathing is broken.

    Otherwise everything else seems to function fine.
     
  30. Offline

    ParadoXz

    didnt for me i got their lastest #340 build and now it gives me this error
    Code:
    2011-12-13 18:55:38 [SEVERE] Error occurred while enabling Citizens v1.1.2 (Is it up to date?): net/citizensnpcs/api/event/citizens/CitizensEvent
    java.lang.NoClassDefFoundError: net/citizensnpcs/api/event/citizens/CitizensEvent
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at net.citizensnpcs.questers.QuesterType.getCommands(QuesterType.java:27)
        at net.citizensnpcs.npctypes.CitizensNPCLoader.loadNPCType(CitizensNPCLoader.java:49)
        at net.citizensnpcs.Citizens.loadNPCTypes(Citizens.java:304)
        at net.citizensnpcs.Citizens.onEnable(Citizens.java:75)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.event.citizens.CitizensEvent
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 38 more
     
  31. Offline

    ZeroZX4

    i have same problem but i found out u just need to make
    1st waypoint
    than u make 2nd one not futher than 16 block u left click it than right click than left click again and here u go that extand the 16 blocks path to the next 16 blocks from the place u just left clicked

    idk if its normal since rightclick deletes ur last way point

    so in short of it left click, right click, left click and here u go
     

Share This Page