[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

    Liger_XT5

    He's stated that citizens doesn't support multi worlds just yet.
     
  3. Offline

    Janb


    I posted this in in the DwarfCraft thread, hopefully it's a little help to Citizens users too. If the display name can be changed (I think I read it now can?) that opens up a lot of possibilities. The glonick site has a good index of Minecraft usernames: http://gn.nexua.org/


     
    T1tan1umTurtl3 likes this.
  4. Offline

    TuRmoiLxx

    I'm so excited for 1.07! Cmon Full Wall! I cant wait anymore ;D! I'm loving it now, can't wait to see the next version. Will the NPCs still despawn?
     
  5. Offline

    fullwall

    Shouldn't do :p.

    Citizens is already multiworld, or at least was designed to be (check the location file. The first word is the world name).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  6. Offline

    NinjaGrinch

    Then what would you make of the error above (reiterated below), as it only gets thrown when I set a NPC in another world and reboot my server. The NPC does not appear in that world either as I would expect. While if I set a NPC in my main world it does not throw a fit.

    Code:
    12:43:00 [SEVERE] null loading Citizens v1.06 (Is it up to date?) java.lang.NullPointerException        at com.fullwall.Citizens.BasicNPCHandler.spawnNPC(BasicNPCHandler.java:9 6)        at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:127)        at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:61)        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(SimplePluginManage r.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)
     
  7. Offline

    fullwall

    Well, it is impossible to trace that exact error, but I'd say that the world isn't loaded or something, causing a NPE because the location trying to be created relies on a world that hasn't been loaded in the server yet :S.
     
  8. Offline

    DividedByZer0

    That may be the issue. I get the same error and I am noticing in my logs that MultiVerse plugin loads my other two worlds after Citizens loads. Are plugins loaded alphabetically?

    EDIT: Yeah, they're loaded alphabetically. I changed Citizens.jar to zCitizens.jar and it loaded last. This may help out.
     
  9. Offline

    fullwall

    Ahhh... maybe you want to ask the author of MultiVerse to change his plugin loading order? That would help - I don't know for sure if they're loaded alphabetically at least. My WorldGuard is the first to load :S.
     
  10. Offline

    DividedByZer0

    This fixed my problem. I changed Citizens.jar to zCitizens.jar and now my npcs are reloading after a server restart. Hope this helps other people. I'm certainly not suggesting fullwall change anything with his plugin. Just a tip to server admins. If they're having problems with a plugin, consider the order that they load.
     
    Ninja Grinch likes this.
  11. Offline

    NinjaGrinch

    Alrighty, thanks for the tip DividedByZero. I just changed the name to 'NPCs'. :)

    I should note though I get this error with the latest builds of Bukkit, though I understand that only the recommended builds will be supported likely by yourself I figured it'd be helpful to at least pass along this error.

    This kills the ability to use any of the commands this plugin provides. :(


    Code:
    08:54:07 [SEVERE] ENTITY_DAMAGED loading Citizens v1.07 (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGED
            at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:55)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:453)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.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:203)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:190)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:130)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:245)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  12. Offline

    Justis

    Hi,
    First off, awesome plugin! I really like the skingrab feature.
    I'm having a bit of a problem with chat format, however...
    I tried to make it look like a player by setting it to
    Code:
    chat-format=<%name%>
    However it still defaults to [name]: in game :(
     
  13. Offline

    NickBrahz

    Hello, first off sweet plugin bro, but i have a slight problem, so i wanted to make a handful of Guards at my spawn citys gate, so i named them "Guard" i made 2 of them, and then i decided to delete them, now im stuck with one of the Guards who is named "Guard" when i typed the command in to delete them it only deleted the newest spawned one, now im stuck with one standing there and it said there is no NPC by its name...

    Ok so i just restarted the server which got rid of it, which is good but also bad, everytime i restart my server is it going to delete the NPC's? I hope not...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  14. Offline

    Crowbars82

    Excellent NPC creating plugin. The commands are very simple to use, and the lack of mySql databases always make things that bit easier for a non-mySql user! An idea I had for help with questing... if you could somehow assign a private id to a book/weapon, and link that to an NPC. So you can get sent to find 'the object' and when you bring it back, they can reward with items or $? Would stop players making the item, as it would need to be that specific tagged item.
    The only bug I have noticed is if I assign chainmail 303 to the chest, the NPC will no longer display the holding item. Aside that... this has really added character (literally) to my server!
    Keep up the excellent plugins!
     
  15. Offline

    NickBrahz

    Got a short tutorial video of this up!
     
  16. Well, that is absolutely useless since we have changed everything in the new build that you can get from GitHub.
     
  17. Offline

    NickBrahz

    It took what 3 mins to make, i could easily make a new one for the other build, don't have to be an ass about it mate.
     
  18. Offline

    Aspernatio

    Is there a readme for that build? I'm just downloading the source file, but its filled with all sorts of stuff that I am unsure what to do with.
     
  19. I was just telling you, didn't mean to be rude.

    Download the .jar in releases instead, I am going to update that now btw, it's compiled and ready to go, just do /citizens help or /npc help to get info about that.
     
  20. Offline

    NickBrahz

    Just seemed like you were trying to be rude, and it says that 1.06 is the newest one :S
     
  21. Offline

    Aspernatio



    I'm likely just being incompetent about this, so sorry in advance, but I can't download the .jar from the releases folder on github, and I don't see it in the downloads either. When I download the source, and go into the releases portion of that .zip file, and then put the .jar I find there into my plugins directory, I get an insanely long error message, regarding the plugin being unable to save citizens.colors, or something like that. Am I doing something wrong?

    Okay, so I got it working by keeping my citizens folder in my plugins directory. Have guards not been added yet, because I don't see how to create them in the help file. Anyway, keep up the good work!
     
  22. Offline

    TipsyFairy

    I have a problem, every time my server is auto restarting all the Npc's dissapear how to solve this ?
     
  23. It also says that you should checkout our github repo.
    Guards haven't been added yet, no, please keep in mind that I, thempc and fullwall are working on it as fast as we can, we are currently figuring out some details about guards and traders.
     
  24. Offline

    TipsyFairy

    So whats added then ?
     
  25. Offline

    Fatnipple

    how do u make them say their lines?
     
  26. Offline

    Aspernatio

    Yeah, I hear you. What I do love now, though, is the fact that "_" are displayed as " " in npc names, so now Fisherman_Bob will be Fisherman Bob! Awesome! The addition of npc id's is also fantastic, and I simply can't get over how quickly you guys are improving this plugin! Thanks for the hard work!
     
  27. Offline

    ghiiirocker1

    is this even in the slightest compatible with multiworld functionality? i tried to put some NPCs in another world, and when i rebooted the server they were gone :'(
     
  28. Offline

    jor956

    Update????
     
  29. Offline

    NinjaGrinch

    Figured out earlier on thanks to another user that it was because MultiVerse was loading after Citizens. Just rename Citizens.jar to NPCs.jar or something and it should load fine. :)
     
  30. Offline

    Rockbanh

    No one is responding to any of the posts when they say that when they put a npc down and they restart the server then the npc is gone
     
  31. Offline

    Futil

    type /reload, and the npcs should spawn.
     

Share This Page