[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

    chipchilly

    My NPC's dont talk at all, i right click them, then type "/npc set balgajdshf" or "/npc add hgfgjhghasf" but they dont talk at all, Please help me!
    here are the mods i use:
    Deathstick
    Citizens (obv)
    woolplus
    Mobrider
    ColorMe
    Snowballz
    Essentials
    Chickenbombs
    Fabulous
    Spyer
    Blockhead
    WorldEdit
    Voxelsniper
    PigSetspawn

    Also the npcs dont fall or move or look at me and they cant get hurt.
     
  3. Offline

    Andred

    I'm also having the issue with getting them to talk on right-click. They will talk if I set them to talk when a player is close, but not on right-click.
     
  4. Offline

    Nuinbot

    After testing the mod, I believe it is because we have permissions to edit them, since right-click is to select the NPC you want to edit. If you were a non-op/admin, it would probably work.

    At any rate, I wish there were custom skins. It just doesn't interest me enough without them. Hopefully Notch can add something in his code to allow something of this nature. Otherwise, it is a pretty decent mod and works fine. Running Bukkit build 544 with...

    BorderGuard Lite
    Essentials
    FalseBook
    MagicCarpet
    Runecraft
    WorldEdit
    WorldGuard
    Wormhole Xtreme
     
  5. Offline

    Andred

    Yeah, I would definitely like custom skins on these guys, too. I'm sure a client mod could do it, but of course, only people with that mod would be able to enjoy it.
     
  6. Offline

    blaize9

    Well notch said that he will add mod support very soon.
     
  7. Offline

    fullwall

    Please check the config file, I can't stress that enough. Right clicking by default only works with books, but you can configure this for other items. Custom skins would be great, but really, needs support from Notch or from some kind soul making a web database for a client mod. Until either of these things happen, it's impossible.
     
  8. Offline

    MacVaultDweller

    I am having a few issues with moving npcs. I get gost images from starting location to movement point and they are persistant even though sever is restarted and im getting spammed with npc creations that I did not create.
    I started with a fresh install of the latest version 1.07d running Craftbukkit 556
     
  9. Offline

    Nuinbot

    I attempted to change the items, to other tools, dirt blocks, even putting a * there for all, or just turning the option off. When I save and reload the server plugins, it overwrites the edited citizens.settings file, restoring it back to default. What happened?
     
  10. Offline

    fullwall

    Do you have 1.07?
     
  11. Offline

    fullwall

    Try redownloading the ZIP now.
     
  12. Offline

    BuilderJah

    When i try to say e.g "/npc create Hello" it says "You don't have enough money to do that"
     
  13. Offline

    Monjhall

    I put both the .jar and the file in my plugins folder and it just doesn't work. I haven't changed anything and that's the only plugin that's failing.
     
  14. Offline

    Markus Forren

    Hi cant create a npc! It say that i havent enough money :(
     
  15. Offline

    BigBlueGER

    Same problem here, duped NPCs kind of everywhere, most of them with reset messages etc.
     
  16. Offline

    Realityshow

    Ok but thanks ;) Maybe it will come with a further update :)
    Keep up this great work!
     
  17. Offline

    Scipione

    Citiziens doesn't hook into iConomy. I set use-iconomy=true but no money is charged when creating a NPC.
    Any hints ?

    Thanks

    /Edit: I already changed citiziens.jar to zcitiziens.jar to force it to load after iconomy
     
  18. Offline

    GoldenX

    Hi !
    Is it possible to hide NPC's names ?
     
  19. Offline

    bugonstick

    Also getting the "Not enough money" problem, I dont even have a money plugin. Craftbukkit 566 Citizens 1.07d for 566 I have * permissions. And this was right after i installed it.
    Plugins:
    Gastronomic
    borderguardlite
    lockette
    Groupmanager
    Essentials
    Ichat
    MonsterTamer
    mcMMO
     
  20. Offline

    gods

    SO can this be used for the original game or is this solely a server mod?
     
  21. Offline

    The_Shrike

    I have some questions that aren't really addressed in the OP.

    Are these NPCs persistent? That is, once spawned, will they despawn if the server is empty?
    Can these NPCs be kept constant (IE, have a template of name, activity, goods to trade, equipment) rather than recreating them each time?
    Can these NPCs be told to respawn in an area?

    We're trying to make NPC towns for players to get quests and goods from (eventually), and it's not clear that Citizens can do that, compared to, say, npcx. It would be helpful to know more about the persistence of NPCs in the OP.
    Thanks!
     
  22. Offline

    Binaryclock

    There seems to be an issue with 1.07.
    Craftbukkit: 556

    And no, I haven't upgraded to your [600] version yet. This is a 1.07 version from a few days ago. I haven't changed anything since thempc helped me upgrade the configs.

    I upgraded from 1.06 to 1.07 a few days ago with thempc's assistance. However today my server crashed with the errors "Too many open files."

    At first I thought it was an errant process, but then I traced the problem down to the Citizens.jar plugin. Once removed, I could boot the server back up. Here are the errors.


    2011-03-30 15:50:59 [SEVERE] Unable to save plugins/Citizens/Basic NPCs/Citizens.colours
    java.io.FileNotFoundException: plugins/Citizens/Basic NPCs/Citizens.colours (Too many open files)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:211)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:103)
    at com.fullwall.Citizens.PropertyHandler.save(PropertyHandler.java:67)
    at com.fullwall.Citizens.PropertyHandler.setString(PropertyHandler.java:138)
    at com.fullwall.Citizens.PropertyHandler.setString(PropertyHandler.java:142)
    at com.fullwall.Citizens.Utils.PropertyPool.saveColour(PropertyPool.java:56)
    at com.fullwall.Citizens.NPCManager.saveToFile(NPCManager.java:184)
    at com.fullwall.Citizens.NPCManager.registerBasicNPC(NPCManager.java:70)
    at com.fullwall.Citizens.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:25)
    at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:220)
    at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:77)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    And every plugin/file after that failed.

    I tried multiple things, but nothing worked. The only thing that I could do was remove the plugin.

    Does someone want to PM me and I'll send you the files that you need?

    Thanks,

    binaryclock02
    admin of Thunderdome-mc.com
     
  23. Offline

    IIGoldII

    Almost everything you find in a Bukkit-related thread will have to do with Servers.To answer your question,No,just a server mod.
     
  24. Offline

    Monjhall

    This has been occuring to me as well, except this is my first time with the plugin.
     
  25. Offline

    kreek

    Just gonna post this again because I'm seeing a lot of questions regarding this.
    To SELECT an NPC you have to right click it with the stick. I don't think they are supposed to take damage or do anything besides there there atm until he adds gaurds.
     
  26. Offline

    koguchi

    Any idea how far off way points are?!?!?!
    I'v been stalking this thread for ages waiting for it :D
     
  27. Offline

    Scandragon

    Ran fine all day.
    Updated about 9 hours ago, and just a few minutes ago the server crashed
    During start I noticed this:
    Code:
    >15:24:03 [INFO] [Citizens]: Permissions enabled.
    >15:24:04 [INFO] 143 recipes
    >15:24:04 [SEVERE] java.lang.NullPointerException
    >15:24:04 [SEVERE]      at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:36)
    >15:24:04 [SEVERE]      at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(UnsafeQualifiedObjectFieldAccessorImpl.java:20)
    >15:24:04 [SEVERE]      at java.lang.reflect.Field.get(Field.java:358)
    >15:24:04 [SEVERE]      at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.GetWorldServer(NPCSpawner.java:27)
    >15:24:04 [SEVERE]      at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.NPCManager.registerBasicNPC(NPCManager.java:62)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:25)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:220)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:77)
    >15:24:04 [SEVERE]      at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    >15:24:04 [SEVERE]      at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    >15:24:04 [SEVERE]      at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    >15:24:04 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    >15:24:04 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    >15:24:04 [SEVERE]      at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    >15:24:04 [SEVERE] java.lang.NullPointerException
    >15:24:04 [SEVERE]      at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:67)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.NPCManager.registerBasicNPC(NPCManager.java:62)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:25)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:220)
    >15:24:04 [SEVERE]      at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:77)
    >15:24:04 [SEVERE]      at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    >15:24:04 [SEVERE]      at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    >15:24:04 [SEVERE]      at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    >15:24:04 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    >15:24:04 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    >15:24:04 [SEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    >15:24:04 [SEVERE]      at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    >15:24:04 [SEVERE] null loading Citizens v1.07 (Is it up to date?)
    java.lang.NullPointerException
            at com.fullwall.Citizens.NPCDataManager.addItems(NPCDataManager.java:34)
            at com.fullwall.Citizens.NPCManager.registerBasicNPC(NPCManager.java:67)
            at com.fullwall.Citizens.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:25)
            at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:220)
            at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:77)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  28. Offline

    Matty11

    what is your approximate date onto adding the guards and waypoints? because ive tried to use the new npcx pluggin but its not that clean of a system and gets a lot of errors and it overloads my server easily.
    thank you,
    Matt
     
  29. Offline

    Matty11

    If you fix the settings you can make it so when you walk up to the Npc they say it. This has been said many times.
     
  30. Offline

    cowlick

    On my server I have the need for multiple hundreds of NPCs throughout the world. However, once I reach about 80, the server begins to lag extensively, is there a way around this? Or is this a limitation that I will just have to deal with.
     
  31. Offline

    IIGoldII

    I'm sure it somewhat depends on the type of computer the server is being hosted from.Although,it would be obvious that having multiple and multiple amounts of NPC's would slowly eat up RAM.I guess its really Dependant on computer specs to be honest.
     

Share This Page