[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


    ok found the error that i was talking about

    2011-07-09 04:36:08 [WARNING] Task of 'Citizens' generated an exception
        at com.citizens.Utils.MessageUtils.getStackString(MessageUtils.java:161)
        at com.citizens.Economy.ItemInterface.getCurrency(ItemInterface.java:145)
        at com.citizens.Economy.EconomyHandler.getCurrency(EconomyHandler.java:368)
        at com.citizens.Utils.MessageUtils.getPriceMessage(MessageUtils.java:143)
        at com.citizens.Utils.MessageUtils.getStockableMessage(MessageUtils.java:157)
        at com.citizens.NPCTypes.Traders.TraderTask.sendStockableMessage(TraderTask.java:300)
        at com.citizens.NPCTypes.Traders.TraderTask.handlePlayerClick(TraderTask.java:209)
        at com.citizens.NPCTypes.Traders.TraderTask.run(TraderTask.java:104)
        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)

    it seems that when two to three players are right clicking the same NPC it gives that error then they can get the items for free.. when they close the inventory of the NPC.. and right clicked by another person or the same person it will say one at a time..

  3. Offline


    on the test citizens.. it despawn my NPC suddenly..
  4. Offline


    Is the "basic: look:" field meter-based or something ? I have to set it to 9 for my npcs to talk and look at players from 1 bloc away.

    Suggestion: A node that would override any limitations (unlimited npcs, free, ect)
  5. Offline


    I'm new to the plugin and need sum help from some people, idk if these are bugs or if I'm doing sumthin wrong.
    *The NPCs don't tlk to me when I hit them, only when i walk back and forth towards them.
    *The "/basic help" menu is showing the same stuff as the "/npc help" menu, but it didn't happen w/ the last version
    *None of the class menus show up i.e. I can make sum1 a guard, but I can't see the commands, it says "use /guard help to see...." but when I do tht, it just gives me that same message.
    *It randomly charges me yellow flowers (I'm admin and OP). Whether I do or don't have them it will do what I want, but charges me. (is this because i don't have iConomy?)
  6. Offline


    your last question...yes itis. you can also disable economy in the configurations file, its at the top line i think
  7. Offline


    Not sure if this bug has been reported, and I'm lazy to search the thread, but there is a way to get the items from an NPC vendor without being charged for them. You've gotta be quick when doing this though:

    Click me ONLY if you want to know (open)
    Left-click the item you want, and for a split second it will show the item being picked up (just like if you click any item from your inventory or chest). When you see the item being picked up quickly press escape to close the menu. If you did it properly, the item will drop onto the ground without taking any money away from you. The item IS usable.
  8. Offline


    Yep the latest dropbox version is working 100%.

    Not a single error upon startup. Restarted over 10 times with no NPC's randomly disappearing or losing their name.

    Great job! (I don't know how you guys do it with over 200 pages of questions.)
  9. Offline


    all my config files show up as 1 giant line in notepad.....so um yea..any tips on the other things? are they my problems or bugs? i really need help

    Also, whenever I have a blacksmith repair something, it says it costs me 1 flower, but take all of mine, anywhere from 12-64.
  10. Offline


    When my server restarts all my npcs dissapear. How can i fix this?
  11. Offline


    If that version is 1.0.9b... it has a ram issue, maxing my server out after an hour or so.... and wizard tele locations seem to not stick. I keep losing the tele locations after a restart. soooo 100%? if i got the non dropbox version, then thats why! =)
  12. Offline


    @waffulz I've tried to reproduce this bug on the latest test version and cannot get it to happen. I can get the items to drop when I am the owner of it, but following your directions exactly I was unable to do this when I wasn't the owner of the NPC.
  13. Offline


    I have the same issue, not sure how to fix it.
  14. Offline


    Possible small bug report in latest version When giving items or armor to NPC's they don't show up until the client relogs. (where it used to show right away)
    Too be honest it might be an other plugin causing this but couldn't unload the others as the server was in use yesterday.

    Something else i did notice (and is a known issue i think) is that the evil NPC's can't be harmed.
  15. Offline


    Also: Some of my traders and healers report to be not a trader or healer now and then when i try to use them.
    When using the toggle command twice (Off and then back on) they work again.
  16. Offline


    Well, your best bet would be to download Notepad++. it's amazing and sets everything in their correct lines, makes reading it and configuring it WAY easier. not so sure about the blacksmith thing though. it might be the citizens v1.0.9b that is causing the problems. It is very buggy so far. I can't even run it, it has a memory leak :/
    so yeah Notepad++ is a great program for minecraft server stuff and coding in general
  17. Offline


    Version 1.0.9c

    -added '/citizens debug' command to toggle Citizens debug-mode
    -added 'debug-mode' property in citizens.yml
    -added 'quick-select' property in citizens.yml; if it is set to true, an NPC will be selected and perform its action all at once when you select it
    -fixed random chunk generation bug (?)
    -fixed memory leak issues (?)

    Report bugs ASAP, and enjoy! :D
  18. Offline


    will get on this as soon as possible. i REALLY hope mem leak is all fixed
    Thank you SO much
    EDIT: Works great.
  19. Offline


    AMAZING !!!
    thanks :D
    really thanks guys :)
    my world size got up to 600MB :p great but i don't mind it as long as citizens work ..although am really glad it's fixed now ^_^
  20. Offline


    1.0.9c: having a leak here when my server is idle.. although in citizens-test that fullwall uploaded yesterday doesn't have leakage in memory..
  21. Offline


    ehummm .. quick question .. how do i set wizard interact item to everything ?
    when i use '*' it gives me error
    and is setting select items to [] will make it none ?
    because i wanna select only by using commands
  22. Offline


    ehumm ...
    is it just me or wizards, traders aren't working again :oops:
  23. Offline


    03:04:29 [INFO] [REGISTER] No loan permitted in Essentials Economy: User is not allowed to have a negative balance.

    Happens when people try to repair when their balance is too low. They get the repair for free
  24. Offline


    theres definitely something wrong with the save system.
  25. Offline


    Me 2 :D
  26. Offline


    Same for me :/ everyone can just take out everything of the traders
  27. Offline




    I have just tested this and found that any player with "Citizens.admin" is able to stock traders regardless of whether they own the NPC or not.

    A player without the citizens.admin node is able to interact with traders and purchase items as normal.
  28. Offline


    You need to make sure that you delete all the old config files, after they've been converted. If you don't do this, it will NOT save any changes you make to the NPCs that were converted.
  29. Offline


    Getting spammed with

    11.07 13:52:27 [Server] SEVERE Could not pass event PLAYER_INTERACT to Citizens
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    11.07 13:52:26 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:520)
    11.07 13:52:26 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
    11.07 13:52:26 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    11.07 13:52:26 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    11.07 13:52:26 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    11.07 13:52:26 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    11.07 13:52:26 [Server] INFO     at com.citizens.listeners.PlayerListen.onPlayerInteract(PlayerListen.java:83)
    11.07 13:52:26 [Server] INFO     at com.citizens.npcs.NPCDataManager.handlePathEditor(NPCDataManager.java:65)
    11.07 13:52:26 [Server] INFO java.lang.NullPointerException
    11.07 13:52:26 [Server] SEVERE Could not pass event PLAYER_INTERACT to Citizens
  30. Offline


    Yes but only moderators or higher have that permission or should i give the ranks i dont want to have it the permission "-citizens.admin" ?

    [Edit] And if someone opens the NPC store it gets spammed with the "Someone else is already using this npc" or something.

    [Another Edit] Yes this worked! :D thanks @Cenarius
  31. Offline


    @d00ba - ninja fixed, redownload.

Share This Page