[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


    its ok I only just figured it out today myself been trying to work out why they werent saving lol

    nah links are working for me
  3. Offline


    Hey, my citizens plugin says it detects the iconomy plugin when loading up, but in-game it gives the message that I have no economy plugin installed. Help?
  4. Offline


    even though the server automatically saves once per hour, you might want to use the '/citizens save' command if you just set up your npc the way you want it.
  5. Offline


    my npcs aren't showing up the torse armor slot everyother slot works anyone got a fix?
  6. Offline


    Just a quick question - If you are an admin does that override the max NPC amount?
  7. Offline


    Is there a way to do this :
    /npc item 35:4

    ? in next update ?
  8. Offline


    sorry for the late reply i am away on holiday i will have to do that later but i thing version 1.0.9 C will do fine sorry
  9. Offline


    Check if npc-profiles.yml really gets updated upon server stop. Check if server process has permissions to write to that file.
  10. Offline


    Edit the NPC file manually
    items: 298,306,303,300,0,
    which means
    items: <held item>,<head armor>,<torso armor>,<leg armor>,<boots>
  11. Offline


    Come on - no one ever answers my questions D:
  12. Offline


    Is a new Update planned? Because Citizens keeps crashing my Server...after 5-10 minutes a error message is shown and the server freezes....
    LarsMaehlum likes this.
  13. Offline


    I have exactly the SAME problem, reported it some pages ago. I completly reinstalled the plugin - including losing all my npcs... But the problem remians the same... ! Pls help too!
    PS: Yes, I set using econplugin to true in config...
  14. Offline


    It's nice to see that restarting doesn't fail to save the NPCs. Good job fixing that. I'm having another issue now though. I tried to run this on #953 and it constantly lags my server. I only had 1 npc and he didn't have any roles (he wasn't a trader or blacksmith, etc). I even did a fresh install (again, #953), and the same thing happens.

    Here's my plugin list (with versions), even though it does the same on a fresh server:
    BananaChunk             4.6
    BigBrother              1.8
    ButtonWarp              0.9
    ChairCraft              1.2.4
    ChestShop               2.75
    Citizens                1.0.9c
    CommandHelper           3.1.2
    CommandSigns            0.9
    CraftProxyLiter         102
    FalseBook               0.87#2
    General                 3.4.5
    HeroChat                4.10.3
    HeroicDeath             1.8.1
    HeroSpawn               0.2
    iConomy                 5.0.1
    Jail                    1.2.2
    Lockette                1.3.8
    MagicCarpet             1.5.6
    MobArena                0.92.4
    MultiInv                2.1.0
    MultiVerse              1.7.2
    NoCheat                 1.09c
    OnTimeCommands          1.0
    Permissions             3.1.6
    SignColours             0.5
    Statistician            1.3
    VanishNoPickup          1.9.12
    VoxelSniper             4.735
    WeatherRestrictions     1.7
    WorldEdit               4.6
    WorldGuard              5.2.2
    xAuth                   1.2.5
    Thanks for a nice plugin though.
  15. Offline


    Again I would like to comment on how much I am enjoying this Plugin. It has made my server so much better. one more question for now if you have time, is the mage functional? I cant seem to get him to teleport me... any ideas?
  16. Offline


    If you have it at defaults you need a feather to activate it. Assuming you 'toggle wizard' a npc. And added teleport locations. I use them for weather too.
  17. Offline


    thanks for that it worked
  18. Offline


    I'm confused with what version i'm running now. I took the last one in this topic which said it fixed the despawning NPCs but it doesnt which has been confirmed later on by aPunch.
    However this says:
    But i've read that 1.0.9d is going to be the next patch which fixes the despawn issue, right?
    Is it just a pre-mature version change in this in between fix?
  19. Offline


    Yes, we changed the version number in the code to 1.0.9d in that test build.
  20. Offline


    Feature request: Ability to assigns commands to NPC's when right clicked, ran as an imaginary player or from a specified admin name. Unless it's already there, and in that case I apologize for being a complete idiot

    Edit: the reason I want this is because I have a maze on my server in which the users spawn.
    Upon completion, I want an NPC to welcome them and promote them to a higher permissions group.
    Dimochka and aPunch like this.
  21. Offline


    Pretty sure it does.

    There's an easy way to find out though... try it :)
  22. Offline


    first i gotta say, this plugin had been excellent!
    however as of CB#1000 i am getting this just after the 'Done!' on server startup:
    16:12:36 [SEVERE] java.lang.NullPointerException
    16:12:36 [SEVERE]       at com.citizens.Resources.NPClib.NPCSpawner.spawnNPC(NPCSpawner.java:33)
    16:12:36 [SEVERE]       at com.citizens.NPCs.NPCManager.register(NPCManager.java:55)
    16:12:36 [SEVERE]       at com.citizens.Citizens.setupNPCs(Citizens.java:212)
    16:12:36 [SEVERE]       at com.citizens.Citizens.access$0(Citizens.java:175)
    16:12:36 [SEVERE]       at com.citizens.Citizens$1.run(Citizens.java:123)
    16:12:36 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    16:12:36 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    16:12:36 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    16:12:36 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    16:12:36 [WARNING] Task of 'Citizens' generated an exception
            at com.citizens.NPCs.NPCManager.register(NPCManager.java:57)
            at com.citizens.Citizens.setupNPCs(Citizens.java:212)
            at com.citizens.Citizens.access$0(Citizens.java:175)
            at com.citizens.Citizens$1.run(Citizens.java:123)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            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)
  23. Offline


    That means, that this plugin must update, until then you can't use it
  24. Offline


    I dont know if it is still the case with later builds, but I am an op and I could not exceed the limit when I first tried about 2 months ago. I just increased the limit.
  25. Offline


    I have a problem that when i try to change an NPC's inventory, it gives me a read timeout error, and kicks me from the server
  26. Offline


    Hi Fullwall, sorry for delayed reply, have had a number of RL committments recently. I have now been running same version (1.09c) continously for about 4 days now and have also completed some extra tests today. Findings are:
    1. The npc being not visible issue can be immediately triggered by going to skylands and returning (I am using dreamland plugin). Does not seem to happen with the nether though, strangely. I dont have/run any other worlds to test it with
    2. It is always the same 2 npcs that are there but not visible - and there is no obvious pattern i.e. there are npcs nearby and much further out from spawn point that are not affected. These two invisible'new suspects' are different to the same 'old suspects' who used to actually despawn.
    3. Relogging-in does not fix the issue. Have confirmed this with multiple relogs and multiple users.
    4. After about the third day, at least one of the invisible npcs appeared again after being present (but not visible) for two days, BUT the character model was in the wrong spot - about 7 blocks north and 1 block west of the correct position. You cannot interact with this character model as the actual npc is still in the original spot.
    5. After 4 straight days, still no sign of any despawning, mem leak or chunk gen issue - this is the most stable version of citizens that I have experienced since the project began.

    Will now run a test env for the rest of today and log back in to see if the npcs become invisible after a period of inactivity, or whether it is only dreamland/skyland that is causing the issue.

    PS. Am also on RB1000 now and no issues so far.
  27. Offline


    Feature request: "/npc say [text]" to have the selected npc say a line of dialog that you type in when you execute the command. You could have an npc carry on a conversation this way. ;)
  28. Offline


    ok, i need some help...for some reason, when i try to set up a trader where people can sell to it, it acts like im trying to buy from it, and says i don't have enough money (which i clearly do)...I can buy from it successfully
    CB 1000 and latest citizens 1.0.9 i think
  29. Offline


    One (or more) of the errors isn't correct.
    I think it could also mean the NPC hasn't got enough money to buy your stuff.
    Give your trader money with /trader money give 1000 (or any ammount)

    The other option that gives a false error is when you try to sell an item but don't have enough of it. For example it's set to buy dirt per 32 but you only have 31. You wouldn't say this is the issue but like i said, one or more of the errors aint correct atm.

    Hope that helps!
  30. Offline


    How do I right click them to chat?? when I right click, I just... select them... do I need to be a normal user to do that? cause I am an Admin
  31. Offline


    You don't need to rightclick them for them to start talking.
    However, standard when you create an NPC he doesnt talk.
    Select the npc and do: /npc talkclose true
    Then you will need to set his text with: /npc set Whatever you want him to say next!
    If you want him to have multiple lines, do the next ones like this:
    /npc add This is another thing i want my npc to say.
    /npc add And another thing i want this chatty npc to tell me!

    You get the picture ;)

Share This Page