[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

    fullwall

    OK... there is an issue obviously with the separators being used. I will fix soon.
     
  3. Offline

    oleerik

    Great fullwall. From my point of view you are the best plugin dev considering the amount of feedback you provide to us and how fast you are updating. I guess Ill donate a bit :)
     
  4. Offline

    mrgreaper

  5. Offline

    riuthamus

    eh, sk8 use to do this for worldguard and worldedit, problem is people get busy and with all the craftbukkit changes it gets to be a bit overwhelming. I am glad to see a supporter of their plugin like this though, keep up the good work!
     
  6. Offline

    Mrjibidi

    Problem fixed? I dont even know what is wrong...[​IMG]
     
  7. Offline

    fullwall

    :O. My first donation! I'm so happy :). Thank you so much oleerik. I'll look into Help support. Redownload for a fix to the messages bug. To riuthamus - the new version includes an event that gets called on NPC right click, I will add a documentation for that to the main post.
     
  8. Offline

    riuthamus

    Epic, this will be great use for our system. when you finally add traders we can charge the people with our currency system. Thanks again, and if you ever want ideas or need help testing please let me know. Consider my server and the playerbase at your disposal!
     
  9. Offline

    Mrjibidi

    I was also wondering what is this kind of text ??
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    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)
     
  10. Offline

    fullwall

    I'm usually on IRC for testing purposes, so hit me up in there (usually in irc.esper.net #craftbook). How to hook into the event is in the main post.
    That error means the plugin is not getting enabled, but you have missed a bit. Could you paste the bit just below that (maybe above)?
     
  11. Offline

    Mrjibidi

    This might be long dunno

    2011-03-07 17:24:26 [INFO] [Citizens]: Permissions enabled.
    2011-03-07 17:24:26 [INFO] [Citizens]: version [1.05] (Helpers) loaded
    2011-03-07 17:24:26 [INFO] [ColorMe] v1.1 has been enabled.
    2011-03-07 17:24:26 [SEVERE] null
    unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 38
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:106)
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:964)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:237)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:200)
    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.getSingleNode(Composer.java:104)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at com.earth2me.essentials.Essentials.loadData(Essentials.java:270)
    at com.earth2me.essentials.Essentials.reload(Essentials.java:172)
    at com.earth2me.essentials.Essentials.onEnable(Essentials.java:109)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    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)
     
  12. hey, amazing mod. a few issues though:

    1) doesn't reload with the chunk (you already know that)
    2) /npc reset [name] is not a recognised command
    3) after removing the NPC the message is removed from the citizens.text but if you approach the area where it was the message is still displayed
    4) NPCs don't have their messages (it's there in citizens.text) if you have a capital letter as the start of their name (They don't have the cap letter in citizens.text).
    5) I tried to extend the speech of the NPC by changing the contents in citizens.text and reloaded the plugin and now it says all the messages all together.

    This is amazing work mind and I can't wait to litter my world with NPCs ^_^
     
  13. Offline

    fullwall

    You might want to try redownloading for a fix to the messages bug. I'll fix /npc reset [name] and not removing messages in a bit.
    --- merged: Mar 7, 2011 3:37 PM ---
    Capital letter NPCs are treated as different names for now... debating whether to change that.
    --- merged: Mar 7, 2011 3:42 PM ---
    Redownload for bugfixes (/npc reset, text not being removed when NPCs are). The chunk fix will come tomorrow.
     
  14. Offline

    oleerik

    Great!

    And, no problem! I know how it is to use a lot of time trying to make something for those around you but getting close to nothing back :)
     
  15. Offline

    joshcvb

    @fullwall

    Will it be possible in one of your future versions to add armor to an NPC? Just to give guards a good look.
     
  16. Offline

    Mrjibidi

    Redownloaded few times, no affect, feeling sad [​IMG], waiting for you to fix this
     
  17. Offline

    fullwall

    Armor - why not? I'll do it soon. I need the error Mrjibidi!
     
  18. @Mrjibidi
    Your error is coming from Essentials and not Citizens.
     
  19. Offline

    Mrjibidi

    whaat i already have sended it!!!
    --- merged: Mar 7, 2011 3:52 PM ---
    u sure???
     
  20. at com.earth2me.essentials.Essentials.loadData(Essentials.java:270)

    This line from your stack trace shows Earth2Me's Essential's plugin as the erroring location.
     
  21. Offline

    Mrjibidi

    Ok... i see... what should i do?? delete one of those essentials??? which one or is there another option??
     
  22. I would suggest looking to see if there is an update to that plugin before deleting it.
     
  23. Offline

    Moe041991

    where can i configure the item to make them talk? whats the default item?

    I also cant remove NPCs

    2011-03-07 17:02:21 [SEVERE] java.lang.NullPointerException
    2011-03-07 17:02:21 [SEVERE] at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.RemoveBasicHumanNpc(NPCSpawner.java:101)
    2011-03-07 17:02:21 [SEVERE] at com.fullwall.Citizens.NPCHandler.removeNPC(NPCHandler.java:57)
    2011-03-07 17:02:21 [SEVERE] at com.fullwall.Citizens.Citizens.removeNPC(Citizens.java:108)
    2011-03-07 17:02:21 [SEVERE] at com.fullwall.Citizens.Citizens.onCommand(Citizens.java:98)
    2011-03-07 17:02:21 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    2011-03-07 17:02:21 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    2011-03-07 17:02:21 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:638)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    2011-03-07 17:02:21 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)


    wont even be gone after restart. Cant get rid of him ;D
     
  24. Offline

    Chosen

    i have 1 questions...
    U can add "custom quest system" ?
    like Craftizens?

    Respect
     
  25. Offline

    Evan Melvin

    Support for uQuest would be awesome.
     
  26. Offline

    Mrjibidi

    So after that i would be able to use citizens????
     
  27. Maybe. Did you receive any other errors than this one?
     
  28. Offline

    fullwall

    I did armor, redownload.
     
  29. Offline

    tha d0ctor

    this mod is awesome by the way, can't wait for AI to make mercenaries that protect you from mobs, so iconomy support would be swell down the line!
     
  30. Offline

    Mrjibidi

    well no, but there are those same essentials. Nobody is updatin them!!!
     
  31. Offline

    riuthamus

    Hm... armor command doesnt seem to work. Says npc is not found although i am looking right at him! no errors in the log either.

    **edit** can we get a reload command as well?

    **edit edit** Another feature you could look at down the road is the hiding of the NPC name when a player is a certain distance from the npc. I know that another one did this for hmod... might be something to look into for this as well.
     

Share This Page