[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


    Just wondering, will we ever be able to make a custom skin for each NPC,
    or is it in there already?
    P.S. can I have a list of which name's have Skins built in?
  3. Offline


    http://www.mcskinsearch.com/ hover on a skin and copy player's name
  4. Offline


    Guys, a very useless issue. I got my instance of plugin up and runnin', but it seems it bugged out a little. I've been using Citizens in conjunction with iConomy for many decades, but I never encountered message, containing "Economy plugin is not enabled". I got stubbord, because my configuration file clearly states the opposite. I've been trying to re-install Citizens and iConomy. At first that helped, but after 2 or 3 restarts, "/trader money" started acting crazy. I tried running the plugin in debug mode, but it seems no errors occur during the gaming process. Moreover, Citizens DOES find economy plugin, but in the end it just f*cks up. I am using a lot of other plugins:
    AntiHack.jar HawkEye.jar PlayerEditor.jar
    ATM.jar Help.jar PorteCoulissante.jar
    Backup.jar HeroChat.jar RetractableBridge.jar
    BinarySkates.jar iConomy.jar SignLift.jar
    BukkitUpdater.jar ItemDetector.jar Spout.jar
    ChairCraft.jar Jail.jar Tables.jar
    ChatterCraftPlugin_v0.9.3.jar LWC.jar Towny.jar
    Citizens.jar MCDocs.jar TownySpout.jar
    ColoredSigns.jar MCMA_compat.jar VisualControl.jar
    CommandBook.jar MinequeryPlus.jar Waypoints.jar
    DispNameChanger.jar MobArena.jar WorldEdit.jar
    DoorShield.jar MobileAdmin.jar WorldGuard.jar
    Flup.jar NoRegen.jar
    Freezer.jar Permissions.jar

    What could cause that sort of issue?
    CB Build 1060, Citizens Build 1.0.9d
  5. Offline


    This is definitely one of my favorite plugins, this & McMMO are the two best :D
  6. Offline


    I tried to add the citizens 1.0.9d again, and I've got the same problem as I had last week.
    Issue: NPCS randomly despawns. No form for error or any other message shown.
    morizuki likes this.
  7. Offline


    @coffeehedrake thanks a lot! You really helped me out!
  8. This is my error on startup all of my quotes are gone in all of the configs exept npc-profiles!
    15:28:27 [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
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            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.
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 13 more
  9. ok let me rephrase that i just updated to the new buildand now i get this error
    15:35:20 [SEVERE] Error occurred while enabling Citizens v1.0.9 (Is it up to dat
    e?): while scanning an alias; expected alphabetic or numeric character, but foun
    d but found
    while scanning an alias
     in "<reader>", line 13, column 23:
                select-items: *
    expected alphabetic or numeric character, but found but found
     in "<reader>", line 13, column 24:
                select-items: *
            at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:11
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(ScannerImpl.java:78
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at com.citizens.properties.ConfigurationHandler.load(ConfigurationHandle
            at com.citizens.properties.ConfigurationHandler.<init>(ConfigurationHand
            at com.citizens.properties.properties.UtilityProperties.initialize(Utili
            at com.citizens.properties.PropertyManager.registerProperties(PropertyMa
            at com.citizens.Citizens.onEnable(Citizens.java:99)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  10. Offline


    Add single quotes around that select-items configuration node in citizens.yml.
  11. Offline


    What order are your plugins loading in the console?

    A few pages back, I made mention of a method to help force a load order by prefixing your jar files with a number sequence, like this:


    If iConomy doesn't load before Citizens, the citizens plugin has to assume it doesn't exist. You may have trouble with other plugins that rely on a load order as well, unless you rename them.
  12. Offline


    Hey are they fixing the problem where if you reload the server the npc file gets messed up
    Bugs i hav found:
    1.dissapearing npcs (already found by u guys)
    2.reloading messes up npc profiles config
    I REEALY NEED the permissions3x to work with this for my server
  13. Offline


    Don't fret! The bridge plugin should keep most if not all of your current plugins working, even after the transition to the integrated permissions system.
    You're going to see almost all the plugin devs migrating to the new model for permissions soon. Bukkit's got you covered in the meantime, so it's not going to be a nasty fall into something awful, at least they have a method in place to gently ease things along.
  14. Offline


    k thanks but are you sayin that most plugin devs will be adding support for the built in bukkit permissions.
    is their a guide showing how to use bukkitpermissions? ill utube it nvm
    anyway thannks
  15. Offline


    Can you tell if anything of what I said is being added ?
  16. Offline


    Nope. For those who don't follow our GitHub commits, it will be a surprise. :D
    Mordaith likes this.
  17. Offline


    I just looked at some of the commits. I'm pretty damned excited.

    Will it be hard to convert from the older version to the coming update? Any chance of loosing old NPCs?
  18. Offline


    You will need to delete all of your configuration files and let the regenerate. We made lots of changes to those files that could break if you keep your old files. However, you won't need to remove anything from your npc-profiles.yml (at least not at this point), so all of your NPCs should be safe.
  19. Offline


    I don't know about all that. I still see devs balking and one even pulling out support for it. I made the move early and got burned because one of the devs of a core plugin didn't want to touch it and it wasn't playing nice with his plugin. I'm still not sure he has.

    I'm not running back to PermissionsBukkit just for this plugin. I use it to make silly NPCs say silly things. I can't think of anything else it does that I can't get elsewhere and it too has burned me in the past with disappearing data and hilariously-poorly-designed upgrades.

    Earn it first.
  20. Offline


    Hi there everyone,
    A friend of mine and me are making an awesome server that will blow everyone's mind ^^
    But for it to look believeable we'd want to use custom skins for the citizens.
    Now my question is the following:
    Is there a way that we could adapt the plugin to not search for the skins on the minecraft site but on.. let's say our own site? That way we could put our skins up there and people would see skins we made.

    We both don't have java knowledga but do have some scripting knowledge so before we start learning java I'd like to know if this would be even possible to do.
    Already thanks for reading this ^^ CUlater -Element_
  21. Offline


    It is possible, though it would require modifying the client code.
  22. Offline


    Yeah, I have that problem too. :(
  23. Offline


    I'm working on something like this, right now, actually.

    Am I allowed to post links? Forgive me if I'm not :(
  24. Offline


  25. Offline


    ummm now that everubody is speaking of skins is there other way to store like custom skins on the server.. Ive' been maintaining a server here in our little net cafe consists of 20 units though players here and specially kids like to play minecraft. CITIZENS is the best pluggin I have encountered so far and the only problem I have encountered guards don' t attack evil NPCS hahahahah, they attack other mobs though but I like to suggest sumtin to the incoming release... can guys put like a 100% blacklist script on guards like detecting the exact name so that guards have the ability to attck evil npcs and Human monsters. and also the ability to auto blacklist a player when that npc is abbused by a plyer. example: NOOB player attcks guard 5 times auto blacklist enabled so guard retaliates NOOB player everytime he is on NPC's radius! hahaha kinda cool.....
  26. Offline


    So, isn't disappearing NPC's a big issue here?

    Also, for the 2nd time, what do you mean by removing 'single quotes' in the citizens.yml?


    Also, for the despawning issue, how do I fix it?
  27. Offline


    It means remove the the single quotes in citizens.yml..

    look: '4' ----> look: 4
    You don't fix the despawning issue, it's a bug.

    Still using version 1.0.9c, waiting on 1.1 then gonna do a fresh install. Hope its coming soon :)
  28. Offline


    Ok thanks for answering that fast ^^
    How does the code now go on finding the skin?
    Becouse if you say that the client side should be modified, you guys must be using code that is already inside minecraft for looking up skins.
    If that is the case then the only way to make what I want is to wait for propper minecraft multiplayer mod support :(

    Feel free to use some scripting terms as you answer, I can handle it ^^
  29. Offline


    Which core plugin was that? Essentials?

    Not that it's my place to argue, but these guys (Citizens team) are actually putting the effort in to comply with what the Bukkit team is pushing out. If other developers don't want to put the effort or work that's involved with changing things to meet the standard that Craftbukkit requires, shouldn't we be upset with non-compliant devs, rather than those who are working towards the common goal?

    I understand the resistance to change, both on an admin's part (mine) to run your server to support the integrated permissions, and a developer's part, as you really have to rewrite your plugin to support the new hooks. However, if that's the direction that things are going, and it's for the better (in the long run it actually means LESS work for everybody, especially developers) then why dig in your heals?

    I haven't moved my server over to the new system yet, but I will upon next official bukkit update. I have dozens of plugins installed, and I would say at least a fourth of them already support the new permissions system, have a check in place to discover it, and work fine without it right now using Permissions 3.x.

    That's fine, nobody is saying you have to. aPunch, fullwall and crew are just saying that going forward, they'll be developing the plugin using the built-in permissions, so if you want the updates... then you'll have to, or if bukkit is upgraded and breaks the old functionality, whichever comes first.

    Citizens isn't the ONLY plugin that's moving toward the newer system, and the point is that if developers want to balk... they can. Right now the only discussion on the table is that Bukkit is rolling this out, later they'll talk about 3rd party permissions support or not. However, it's certainly not the fault of the Citizens Developers that this move is coming. If you want to be upset, the place to do that is with the bukkit team.

    On top of all that, writing plugins isn't easy, and every one of them have some issues along the development path. I'm sure these guys have a day job too, donations probably aren't paying all the bills at home.

    All that said, I'm not saying things are going to go smoothly with this whole Permissions debacle, it will probably take a lot of work on everyone's part.
    An adage I have found myself repeating, both at work and in my leisure (yes, I run a server for fun, and for free... I get nothing out of it aside from that) is "An admin's work is never done." Yes, I'm going to have to upgrade, yes it means a bunch of reconfiguration, but at least I don't have to write my own plugins to get the functionality I desire... nice folks like these do it for free or donations. This comes at only the price of control; this is their project, not mine, and they're going to take it in a direction that makes sense for them.
    Mordaith likes this.
  30. Offline


    I tried using this with 1060, but whenever I try to use the NPCs, they give me that crazy error where everything is free and then they spam me with "only one person can be served at a time!" I think someone already stole a pig spawner off one of the traders. :'(

    So, in my love for Citizens, I shall eagerly await the latest update. Although my server feels sooooo naked without my NPCs. x_x

    I'd try the dev build, but the world "unstable" scares me.
  31. Offline


    Damnit. Guys FIX THE NPC TEXTS! This is the Forth time it didnt save over 50% of the NPCs i created. IM PISSED! Especialy because im doing nothing more than

    /npc create ImNotSavedAnyway
    /npc set Hello Whatever i write here has no point anyway
    /npc add especialy
    /npc add long
    /npc add texts
    /npc add and
    /npc add stories
    /npc add NPC STORIES
    /npc add and
    /npc add adventure quests
    /npc add get FU*** deleted
    /npc add ANYWAY.

    The plugin is to good else i would have removed it.!
    WHAT is wrong.

Share This Page