[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

    @transient - hopefully it should be more secure now, but I would advise testing if you're unsure.
     
  3. Offline

    Sygnus

    THIS. Great plugin though :D
     
  4. Offline

    Zamm

    Everything works much better. However, I cannot add an item to my shop that has a data value. Typing
    Code:
    /trader buy 315:1:4 60
    which should be ID 315, Quantity 1, Data 4 (which is lapis lazuli that is dropped from mining the ore), gives me an ink sac, which is ID 315 with data value 0. I'm not sure if I'm typing it wrong or if this is a bug. Can someone please shed some light on this? Besides this, everything works well.

    Also, for everyone that has broken NPC's from the last version you're going to have to delete them all and start over. After you delete them and add them again they will save correctly.
     
  5. Offline

    masasuka

    @fullwall
    I know guards aren't finished yet, but Do you know if the glitch with them is fixed where saving to Whitelist doesn't keep capitilization, eg: Masasuka gets saved as masasuka?
    This is an issue since Minecraft, for player determination, is case sensitive.
     
  6. Offline

    Blackswordsman

    After the 9b update, every time a player warps, either using a gate to a different point on the same world or a different world, all the NPC's seem to disappear. It also happens when using the NPC wizard teleport. They still talk to you when you get close enough, but you cannot interact. Other than that, its all working great!
     
  7. Offline

    11RJB

    So saving is working great now, EXCEPT when I try to remove a Citizen. Even after forcing a save-all, it's restored on a restart. I'm using the 1.0.9b
     
  8. Offline

    transient

  9. Offline

    Lightzaver

    Hi! Great mod , no probs.... but what is the texture pack used for the logo/picture ?
     
  10. Offline

    HappyGrenades

    First off let me say cool plugin! I had it working for a little bit and its pretty cool. But, I was annoyed because yellow flowers were for some reason the npc currancy. So, I got iconomy. I wasn't paying to close attention to it and didn't notice that I needed to give people the commands in permissions. So, I thought, "maybe if I install citizens after iconomy" I uninstalled both, but then realize my first mistake. I put in the iconomy commands and now it works fine, but now citizens won't work for some reason. I tryed uninstalling iconomy, it didn't work, I looked up the nodes on the citizens wiki, I put in the citizens.admin one but it didn't work.
    I get this error message whenever I try typing up a citizens command:

    Please report this error: [See console]
    java.lang.NoClassDefFoundError: com/nijiko/permissions/Permi
    ssionHandler

    And yes, I did make sure that the citizens folder has appeared in my plugins folder. Someone please help, what do I do?
     
  11. Offline

    Insanehero

    I'm running CB 953 and citizens 1.0.9b.
    I set there talk items to this talk-items: '*' and now I get this error.
    I also have a question about changing there colors. If I want there color blue would I just change the f to a 3 like so? npc-colour: 3


    14:10:23 [SEVERE] Could not pass event ENTITY_TARGET to Citizens
    java.lang.NullPointerException
    at com.citizens.Citizens.validateTool(Citizens.java:371)
    at com.citizens.Listeners.EntityListen.onEntityTarget(EntityListen.java:87)
    at org.bukkit.plugin.java.JavaPluginLoader$60.execute(JavaPluginLoader.java:663)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at com.citizens.Listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:92)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  12. Offline

    d00ba

    They seem to disappear, only when no one is in the area. They seem to be invisible, but are still there (they still talk etc).
    This seems to happen when the area is empty for a while. So presumably something to do with chunks unloading/loading perhaps.
     
  13. Offline

    Blackswordsman

    So I was playing around and point to point gate travel on the same world is fine, but to differemt worlds is where it has the issue. My multi world plugin is Multiverse and my gate plugin is Creative Gates if that helps.
     
  14. Offline

    Todeshügel

    Hi,
    when I try to add something to sell for my trader i get this message:

    This server is not using an economy plugin, so the price cannot be that kind of value. If you meant to use an item as currency, please format it like so: item ID:amount:)data).
    Please report this error: [See console]
    java.lang.NullPointerException: null


    console:
    Code:
    20:32:58 [SEVERE] java.lang.NullPointerException
    20:32:58 [SEVERE]       at com.citizens.Utils.MessageUtils.getStackString(Messa
    eUtils.java:161)
    20:32:58 [SEVERE]       at com.citizens.Economy.ItemInterface.getCurrency(ItemI
    terface.java:145)
    20:32:58 [SEVERE]       at com.citizens.Economy.EconomyHandler.getCurrency(Econ
    myHandler.java:368)
    20:32:58 [SEVERE]       at com.citizens.Utils.MessageUtils.getPriceMessage(Mess
    geUtils.java:143)
    20:32:58 [SEVERE]       at com.citizens.Utils.MessageUtils.getStockableMessage(
    essageUtils.java:157)
    20:32:58 [SEVERE]       at com.citizens.Commands.Commands.TraderCommands.change
    raderStock(TraderCommands.java:345)
    20:32:58 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    ethod)
    20:32:58 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
    ource)
    20:32:58 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkn
    wn Source)
    20:32:58 [SEVERE]       at java.lang.reflect.Method.invoke(Unknown Source)
    20:32:58 [SEVERE]       at com.citizens.Resources.sk89q.CommandsManager.execute
    ethod(CommandsManager.java:514)
    20:32:58 [SEVERE]       at com.citizens.Resources.sk89q.CommandsManager.execute
    CommandsManager.java:404)
    20:32:58 [SEVERE]       at com.citizens.Citizens.onCommand(Citizens.java:196)
    20:32:58 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginComma
    d.java:35)
    20:32:58 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleC
    mmandMap.java:129)
    20:32:58 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(C
    aftServer.java:298)
    20:32:58 [SEVERE]       at net.minecraft.server.NetServerHandler.handleCommand(
    etServerHandler.java:711)
    20:32:58 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServer
    andler.java:676)
    20:32:58 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHan
    ler.java:669)
    20:32:58 [SEVERE]       at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:
    3)
    20:32:58 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager
    java:226)
    20:32:58 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHan
    ler.java:84)
    20:32:58 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFil
    :105)
    20:32:58 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServ
    r.java:451)
    20:32:58 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSe
    ver.java:361)
    But i have an economy plugin installed.. First i tryed it with Economy but i also tryed with iConomy. What can I do?
     
  15. Offline

    TheGurw

    You're missing a colon in that link.
     
  16. Offline

    ohmydoddtv

    Well that was a different problem than mine haha, my Npc's just disappeared when i was looking strait at them xD It's fine now though. did you download the Jar version or the whole zip?
     
  17. Offline

    asdfasdf2

    Bei mir ist der server überlastet wenn ich dieses Plugin benutze why ist das so?
     
  18. Offline

    d00ba

    Just the Jar
     
  19. Offline

    Taho

    I have install this new Npc's version on a bukkit 1.7 and 10 of my 16 NPC never appears (data's missing in the new yml file).. I naturally add manually all the data correctly of the missing one in the new yml but after 1 hour of test.. Still don't reappear. Bof it's ok and i don't mind. :) So i try creating all NPC 1 by 1 with an empty Citizens drawer.. First one i create. I stop the server and restart it.. Oh no! "No" name. :) It seems that when stopping the server or even doing a (/citizens save) when the server is running don't write the npc's name in the (npc-profiles.yml).. Anyway, don't reply. I just want to tell this funny bug i have here. I will continue on server 1.6.6 (until a next update) since the npcs i use are usefull and fun in the game. My bests and good luck..
     
  20. Offline

    Dyramisty

    Uhm, Without any errors my citizen plugin seems not to save my traders? common problem or just me? =)
    Thanks in advance.

    (all latest builds)
     
  21. Offline

    11RJB

    I'll second the user that mentioned still having memory issues. I run a lot of plugins (15-20), but my server is rock-solid stable without Citizens. Even with a fresh install, new config file, etc, the memory will spike and the server will become unresponsive after 30 minutes to an hour of the restart.
     
  22. Offline

    ohmydoddtv

    Download the full zip, I think there maybe something wrong with the Jar file downloading the correct files or something.
     
  23. Offline

    ARavinMadMonkey

    Every time my server restarts for any reason all except for 3 of my NPCs disapear, and the ones that stay reset their names to nothing?

    Does anyone else get this bug? It's really annoying because the NPCs are ment to be tutorial guides >.<
     
  24. Offline

    TriadGaming

    Doesn't work when Right-clicking with my users to buy, did before update?
    Also I get this error when typing /trader list sell;

    java.land.ArrayIndexOutOfBoundsException: 3
    It says [See Console] , so here's consoles error;

    Code:
    2011-07-05 20:27:59 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 3
    2011-07-05 20:27:59 [SEVERE]     at com.citizens.Resources.sk89q.CommandContext.getInteger(CommandContext.java:81)
    2011-07-05 20:27:59 [SEVERE]     at com.citizens.Commands.Commands.TraderCommands.displayList(TraderCommands.java:173)
    2011-07-05 20:27:59 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-07-05 20:27:59 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2011-07-05 20:27:59 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2011-07-05 20:27:59 [SEVERE]     at java.lang.reflect.Method.invoke(Method.java:616)
    2011-07-05 20:27:59 [SEVERE]     at com.citizens.Resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:495)
    2011-07-05 20:27:59 [SEVERE]     at com.citizens.Resources.sk89q.CommandsManager.execute(CommandsManager.java:394)
    2011-07-05 20:27:59 [SEVERE]     at com.citizens.Citizens.onCommand(Citizens.java:321)
    2011-07-05 20:27:59 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-07-05 20:27:59 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-07-05 20:27:59 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-05 20:27:59 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  25. Offline

    Duginox

    I'd just like to point out that the WizardMode ''TIME'' does not save after server-restart.
    I had the same issue on the v1.0.9a, and it was not fixed with the newest version. (1.0.9b)

    A fix or any help is appreciated.
     
  26. Offline

    Icewold

    How can I tame evil npcs ?
     
  27. Offline

    bladerboy6000

    How do I install this to clanforge as the only version they have is 1.0.9a?
     
  28. Offline

    ThijmenDF

    Hey.

    I love your plugin! i have an castle filled with Caste_Guard s right now, including King_Arthur. at the village inside the same castle, i have Fumblemore the wizard, an Blacksmith, an Merchant and an Castle_Archer (on the roofs). Healers are everywhere on the map too.

    I also found an bug in 1.0.9a. there you can level-up the healers to higer then level 10. the max. i got them is lvl 15!. ( i did that with /healer level-up 5, and later with /healer level-up 10)

    I have got 2 ideas/suggestions. One for Guards, and one for Waypoints.

    Waypoints:

    Whenever the NPC has got an path to walk, AND whenever the NPC has got talkwhenclose true, the NPC will stop walking, and start looking, and talking to you. when you walk away again, the NPC will resume his route.

    Guards:

    An new mode: Protective.
    What it does is:
    1. select an cuboid.
    2. assign your guard to that cuboid.
    3. done.
    Your Guard will now protect that area. That means, whenever someone breaks an block OR if a mob on the blacklist comes inside the cuboid, the guard will attack that player/mob. When the player/mob dies OR leaves the cuboid, the Guard will go back at his position.

    There will also be an limit to the coboid, like not bigger then one chunk?

    Best wishes,
    ThijmenDF
     
  29. Offline

    sublynx

    You can already set the radius of a guard, and put him into bouncer mode.
    (It doesn't work mind you, but the commands are there.)
     
  30. Offline

    ThijmenDF

    But that's not what i mean at all :D i mean that it will protect that area, not attack everyone who get's in it.
     
  31. Offline

    Ancetras

    When I try to add an item to a trader which cost more than 100 money, it gives me an error.

    "Invalid item ID or name specified"
     

Share This Page