[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 - 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


    The NPC stores the money in his own purse. The owner of the shop can withdraw or increase his purse. If you are using iConomy for example you can type in "/trader money" and I think that shows how much cash they have.

    You can also put in "/trader money <give/take> <amount>" and I think that it will do the transfers. Your shop keep needs money to buy things from players.
  3. Offline


    im getting this error when i create a NPC while using iConomy
    Any ideas?
  4. Offline


    when i use /npc armor [slot] [item]
    should i see the armor or not?
  5. Offline


    trader delete theire inv after a time!! big trouble on my server -.-"
  6. Offline


    hey i just found out that when i've got your mod on i can't se the connected players on the server and they can't se me well nobody can see each other
    don't know if anyone else has tried that, i've tried to figure out what it was but i couldn't. and i didn't get any warnings in the console.
    plz need help
  7. bumb! :/

    i get this error on startup and all i did was put the .jar file in my plugins and thats it :/

    21:21:04 [SEVERE] Error occurred while enabling Citizens v1.0.9 (Is it up to dat e?): com/google/common/collect/Maps java.lang.NoClassDefFoundError: com/google/common/collect/Maps at com.citizens.npcs.NPCTypeManager.<clinit>(NPCTypeManager.java:10) at com.citizens.Citizens.registerTypes(Citizens.java:271) at com.citizens.Citizens.onEnable(Citizens.java:87) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:857) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:264) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136 ) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Maps 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) ... 13 more
  8. Offline


    OK so i have this installed and everything but when i turn the npcs into guards/wizards they don't do anything. I also cant damage the Evil NPC's. Anyone know a fix?
  9. Offline


    Would be nice if skins could be changeable without using other ppl name but ur own skins in some kind of folder or smth :D..
  10. Offline


    @fullwall and or @aPunch

    I know you're all hard at work, but how hard would it be to add a functionality where NPC's can have a set "default stance" that can be overridden when they are looking at a player, but then reverts to the default stance when they leave the sight range?

    It's really weird when you walk by 1 or 2 of them, then they just look at nothing, or the floor, or the room above, so I was wondering if it would be possible (maybe with Spout?) if you can add a function that makes their default stance in-line with where you're standing when you set it (if that makes sense).

    You'd stand as far away as you'd like, and type:

    /npc stance set

    or something, and their body and head would be facing you. Then if you walk by them, they look at you but when you walk away, they face back to where you set the stance. (maybe you can use some of the same type of coding as warps from Essentials, since they store camera angles and such, not just block positioning)

    My 2 cents
  11. Offline


    This can soon be done with Spout (at least for NPC's. Players skins can be changed already)
    Mordaith likes this.
  12. Offline


    Why they delete their inv?!help please
  13. Offline



    I belive i found a big bug.
    When you gonna buy something, when you click to see the item price, if , after you just clicked the item, if you press E, the item will be duped.

    Thanx for the awesome plugin, this is the first time im using citizens and im really loving it.
  14. Offline


    could you try to find out why the citizen mobs (I.E. pirates & Evil) can ignore the fact that i have god-mode enabled? it is a major annoyance.
  15. Offline


    Any word on despawning bugs fix? x
  16. Oh awesome thanks :D.
  17. Offline


    Is it possible to change mine skin ( i mean i know how to change skin in .minecraft or just add a randomtexture) and skins of people that plays on my server?

    Somewhere ive seen the thread about it but lost it ;/
  18. Offline


    you can change your skin on www.minecraft.net, just log in and go to your profile.
  19. Offline


    is it possible to integrate spout for custom skins on npcs?
    Alesana likes this.
  20. Offline


    I keep getting:
    02:14:07 [SEVERE] java.lang.NullPointerException
    02:14:07 [SEVERE] at com.citizens.resources.npclib.NPCSpawner.spawnNPC(NPC
    02:14:07 [SEVERE] at com.citizens.npcs.NPCManager.register(NPCManager.java
    02:14:07 [SEVERE] at com.citizens.Citizens.setupNPCs(Citizens.java:321)
    02:14:07 [SEVERE] at com.citizens.Citizens.access$0(Citizens.java:283)
    02:14:07 [SEVERE] at com.citizens.Citizens$1.run(Citizens.java:119)
    02:14:07 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainT
    02:14:07 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    02:14:07 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    02:14:07 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    02:14:07 [WARNING] Task of 'Citizens' generated an exception
    at com.citizens.npcs.NPCManager.register(NPCManager.java:57)
    at com.citizens.Citizens.setupNPCs(Citizens.java:321)
    at com.citizens.Citizens.access$0(Citizens.java:283)
    at com.citizens.Citizens$1.run(Citizens.java:119)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    Any idea what's going on?
  21. Offline


    I just updated to 1.0.9d and I get this message spammed repeatedly:
    Any suggestions? This message goes continuously and the server will not load.

  22. Offline


    They don't delete their inv, they just run out of stock. Do "/trader unlimited" (without quotes) to prevent that.
    Yep. NPCs are regarded as players by MANY plugins, and I believe this needs a fix. If you want to be able to damage Evil NPC's, set pvp=true

    I asked the same thing. This isn't exactly compatible with essentials or so, so they ignore all commands like /butcher or /god. Fullwall also stated that they probably won't integrate this into the plugin, as it would need a lot of work to put in all /god, /godmode etc commands.

    Tried doing /npc talkclose and /npc lookat ?

    You should in theory. In practice however, you may not see the helmet, and you most likely won't see the chestplate. It's a bug.


    This happens because the human mob has been removed, so therefore I think that plugins intercept NPCs as real players. I have this problem too, but I have a feeling the devs won't care much since it can be manually fixed...
  23. Offline


    Try the latest bukkit build!
    Your traders seem to have the chest/sign wiping bug,lol! Didn't know it was possible!

    Also,by latest build,i mean 1046,the developer build,it includes an experimental fix for this!
  24. Offline


    The what bug? Does it mean that players on my server can have their invs wiped???
  25. Offline


    Lol yeah, I've been using Citizens for 4 months now :p but what I'm requesting is what happens AFTER they look at you. Currently they look at where you were when you left their viewing radius, but I'm suggesting that after you leave their sight, they revert back to a user-set default stance (maybe they can use some of the same type of coding as warps, since they store camera angles and such, not just block positioning)
  26. Offline


    it means that,under some circumstances,chests and signs can dissapear when you leave the area for a while!
    a trader npc is using a chest, and i believe the bug is affecting them too!
  27. Offline


    Hey, I have a question. I have an old Citizens file with a lot of basic citizens. However since recently updating my server these citizens don't appear anywhere. They're not in any of the locations they should be and I'm not sure they've been copied over.
    I should probably say that I copied them over from an old backup since updating the files seems to have removed them. Is there any way to get them back? Thanks.
  28. Offline


    hey i have one question. i only have one problem with the trader and it is that it wont reconize boseconomy as my economy is there something i missed
  29. Offline


    Please fix the dupe item bug in the dev (and in the standard) version.
  30. Offline


    Set 'use-econplugin' to true in economy.yml

    Why don't you tell Bukkit to add inventory events? That is the only way these trader bugs will get fixed.
  31. Offline


    Spout / BukkitContrib has them :(
    in any case, its possible to simulate a inventory event, however its not the best deal.

    Spout would be the perfect solution i belive.

    While npcs can dupe items, its hard to keep them on serious servers :( Im thinking on removing theyr selling just cause of it. =(

    Else , a simple comparation could be usefull. Get player [] itemstack b4 opening npc. Log every action he makes as temp, after he closes the npc, if he got something new and he didnt bought
    it, it disapears.

    There is some ways to fix this, not being the best solution. I belive this posted above can be one simple, using Spout/BukkitContrib can be tha perfect.

    thanx for your attention aPunch

Share This Page