[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

    Musaddict

    fullwall aPunch aside from that one name color bug, everything seems to be fine now :) I have a suggestion tho. For wizards, could you make the interact object consumable (togglable) and also, much preferred, economy support? I would very much love to be able to force my players to actually give something up to use their powers, especially since using glowstone to regenerate mana is rather cumbersome.

    Paying to use a wizard's unlimited mana seems to be much more user friendly than to recharge a wizard's limited mana.
     
  3. Offline

    5000 People

    Ok i just got on without configuring config then it crashed like 10 seconds after i created an npc and when i restart server it keep crashing then when i removed it this stopped.
     
  4. Offline

    WebNinja

    Hey guys, I just wanted to let you know how awesome this plugin is. Our server now has over 200 NPCs and over 40 quest in it. Just wanted to say to keep up the good work!
     
  5. Hello! I have noticed that citizens are draining my server memory, and causing my server to crash because of that. I've been getting lots of messages like: "23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem" when I start my server(like 100 messages). I have prooven that it is citizens causing it, because I've removed the plugin and the memory drain/message spam have stopped, and put it back in and everything comes back.

    And I've noticed that sometimes when I try to create a NPC on my test server this error pops out:
    http://pastebin.com/Ffi4MptF

    The NPC is created, but the server lags and crashes shortly after.
    I'm using CB 1.1-R3, and the issue is not lack of rented memory, the host has temporarily given me additional ram just to prove it.

    I will be keeping an eye on this, in case anyone knows what's wrong, or if I need to provide additional info. Don't hesitate in asking for any info I forgot to include, I will post it.
    Thank you!
     
  6. 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, like every object that has subnumbers (Like dyes, spawneggs and potions)
     
  7. Offline

    Kazulin

    Prior to 1.1 i was able to get this working but it won't load up correctly..this is my log error i receive..thank you for your effort ! I am not able to do any command..not even /npc help..i have all the class.jars in the plug ins folder as well : (

    at net.citizensnpcs.api.event.CitizensEnableTypeEvent.<clinit>(CitizensEnableTypeEvent.java:20)
    at net.citizensnpcs.Citizens.loadNPCTypes(Citizens.java:285)
    at net.citizensnpcs.Citizens.onEnable(Citizens.java:75)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:977)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.HandlerList
    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)
     
  8. Offline

    BSF

    Still have the issue of creating an NPC and he just dissapears after a few seconds....Still will trigger a chat event if you go near where he was..Ive used this plugin in the past with no issues but since the new mc update no luck.....please help our server loves this plugin and wants to get it going again....(also no console errors)
     
  9. Offline

    fullwall

    Kazulin - you need to update CraftBukkit.
    BSF - what plugins are you using?
     
  10. Offline

    ReaZaaa

    Thx 4 this great Plugin. Works perfect (R3). :)
     
  11. Offline

    BSF

    mmmmm... started just working on it's on...strange
     
  12. 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, like every object that has subnumbers (Like dyes, spawneggs and potions)
     
  13. Offline

    WebNinja

    Try this:

    id: '373:16'

    with the '
     
  14. No.... I try with 373:16 - '373:16' - 373.16 - 373,16 i try all posibility..
     
  15. Offline

    Boltblaster

    Hi all. I've been over to BukkitDev before you ask, and got little to no support... So. I know this is a one-of-a-kind, awesome plugin, but I have a few issues. One is that guards do not go back to their original locations if they are aggro. Two, they do not attack players when they are aggro. Three, bPermissions groups do not seem to be recognised by the plugin despite what the wiki says. Any help is greatly appreciated :)
     
  16. Offline

    Pufarina

    Need help with this error
    Code:
    20:39:18 [SEVERE] java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
    20:39:18 [SEVERE]      at net.citizensnpcs.Settings.getBoolean(Settings.java:35)
    20:39:18 [SEVERE]      at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:175)
    20:39:18 [SEVERE]      at net.citizensnpcs.commands.BasicCommands.create(BasicCommands.java:226)
    20:39:18 [SEVERE]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    20:39:18 [SEVERE]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    20:39:18 [SEVERE]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    20:39:18 [SEVERE]      at java.lang.reflect.Method.invoke(Unknown Source)
    20:39:18 [SEVERE]      at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsMana
    20:39:18 [SEVERE]      at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.ja
    20:39:18 [SEVERE]      at net.citizensnpcs.Citizens.onCommand(Citizens.java:193)
    20:39:18 [SEVERE]      at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    20:39:18 [SEVERE]      at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    20:39:18 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
    20:39:18 [SEVERE]      at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:7
    20:39:18 [SEVERE]      at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
    20:39:18 [SEVERE]      at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    20:39:18 [SEVERE]      at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    20:39:18 [SEVERE]      at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    20:39:18 [SEVERE]      at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    20:39:18 [SEVERE]      at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    20:39:18 [SEVERE]      at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    20:39:18 [SEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    20:39:18 [SEVERE]      at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    command used was /npc create Pufarina
    reply : Paid 100.00 dollars for Pufarina
    Please report this error [see console]
    it could be because of EpicQUest ?
     
  17. Offline

    Stormbow

    Error received after updating server to 1.1.0:
    Code:
    12:04:57 [SEVERE] Error occurred while enabling Citizens v1.1.4 (Is it up to date?): org/bukkit/event/HandlerList
    java.lang.NoClassDefFoundError: org/bukkit/event/HandlerList
            at net.citizensnpcs.api.event.CitizensEnableTypeEvent.<clinit>(CitizensEnableTypeEvent.java:20)
            at net.citizensnpcs.Citizens.loadNPCTypes(Citizens.java:285)
            at net.citizensnpcs.Citizens.onEnable(Citizens.java:75)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:989)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:443)
            at org.bukkit.Bukkit.reload(Bukkit.java:188)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:385)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:381)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:573)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.HandlerList
            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:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 18 more
     
  18. Offline

    WebNinja

    Update to 1.1.5 and it goes away
     
    Stormbow likes this.
  19. Offline

    Stormbow

    What CraftBukkit build would that be? (Still getting the error with CB1.1.0)

    Thanks! CB 1.1.0-R3 and it works fine.
     
  20. Offline

    KubaBVB09

    Is there any way to increase the health of guards? Mine all drop in 1 or 2 hits even with armor...
     
  21. Offline

    CrazyMouldy

    I make an NPC, I give it waypoints and after about 20 seconds it will just disappear, i've updated to 1.1.5 and re-installed it, it just wont work
     
  22. Offline

    polkunus

    I haven't used this plugin for quite some time.

    Has the issue with npcs with same names crash the server? I just want multiple npcs with the same names to be "guards" in a city... Last time I tried this, making two npcs with the same name crashes the server completely.
     
  23. 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, like every object that has subnumbers (Like dyes, spawneggs and potions)
     
  24. Offline

    Stormbow

    Does Citizens allow the buying/selling of variable data values yet?

    Red wool (35:14) instead of only 14 white wool; redwood saplings (6:1) instead of only oak saplings, for example.
     
  25. Offline

    Datenkralle

    Nice plugin idea, but your Wiki isn't helpful.
    I don't know how to create a NPC who defend, attacks other player, attacks other mobs and so on.
    They are many commands, but when i try something, it shows me error by error.
    Also i think it will be better if there are any examples for these commands.
     
  26. Offline

    Gilbertus

  27. Offline

    Samkio

    yes
     
  28. Offline

    ChadZombie

    My guards used to teleport back to there spot and now they wont do it anymore its probably a simple error that im missing but i cant find out how to fix it right now....
     
  29. Offline

    gladiozzo

    Hi guys
    sorry but I do not speak English well!
    I appreciate very much your work for some weeks I'm using your plugin with my friends.
    Unfortunately I found a small problem, the NPCs aren't payment, the system did not ask for money in exchange of a new NPC.
    I changed my computer and I installed only this plugins: permissionex and iconomy, and I noticed that the problem occurs with permissionex.
    Obviously I connected all the permissions to my account. how can I solve this problem?
     
  30. Offline

    Stormbow

    How is that accomplished? Typing /trader sell 35:14 makes the trader sell white wool (1) for 14. And typing /trader sell 35:14 25 makes the trader sell white wool (14) for 25.
     
  31. Offline

    Samkio

    trader sell id:amount:data
    trader sell 35:1:14 25
     
    Stormbow likes this.

Share This Page