[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


    anytime i put both essentials(latest) and Citizens together i get HORRIBLE lag when i have any region loaded that has more than one citizens npc. however when i remove essentials citizens works fine with zero lag.

    also it seems as though citizens refuses to work with iconomy and parts of it will think it has iconomy and not work with or without and others will think it doesnt and refuse to recognize it having iconomy

    i do apologize if it has been fixed/old news in the last 48 hr but i am at work and just wanted to get it out there
  3. Offline

    Daniel Few

    What do you mean? Is it up?
  4. Offline


    I've got nothing about Citizens in my "plugin.yml", just commands related with MultiVerse =/
  5. One bug ive found is that citizens are speaking across world in the same location :S
  6. Offline


    Can I get an NPC Save Command? Also make it save NPCs when you stop the server. The inventories aren't being saved or something.

    I have save-often=false

    And a /citizens reload wouldn't hurt either!

    Keep up the amazing work!
  7. Offline


    As far as the log, I think recording just those who use the trader and what they take out of it, maybe what they paid, would do the trick.

    Could even be used as a bit of a marketing resource. See what people are buying most, see who's buying most often, etc.
  8. Offline


    Everytime I restart my hosted server all the prices I give items to my traders are erased. The blocks are still there to be sold, but it says "(item) isn't being sold right now." Is there a fix? Is this a bug? Is something not right with my config?
  9. Offline


    Also testing shift + click stealing.
    Hover over item. Shift + Left Click. Open Inventory. Stolen!
    [do those steps quickly enough when the items are in your inv]

    So either charge people for shift clicks or disable shift clicking!
  10. Offline


    Yeah our server's been having this problem as well.
  11. Offline


    Please make Blacksmiths repair based on item type (like, hoe = 1 diamond, so repaired is 50 or so, and if the tool is iron, each iron repaired is 10 or so... then if it is a pickaxe it's three times that for either... with the numbers customizable if possible!)

    As it is now, I simply don't think it works too well... if you make that change, however, it will be far better than the other plugins out there that use signs or commands! It would be perfect!
  12. Offline


    I hope this hasn't been said, but when i make an npc they talk once, but for them to talk again, i need to restart the server. i'm assuming this is a bug? and yes i checked all of the properties files and have talkwhenclose set to true and set the default talkwhenclose to true. i don't get any error reports though. I have a lot of plugins. maybe one is conflicting?
  13. Offline


    btw i have build 803
  14. Offline


    never mind fixed it just needed to redownload it
  15. Offline


    @_knot_ - I'll try to reproduce that tonight. However, the problem is that I can't actually detect shift clicks without some other tricky bukkit hacks (there's no inventory API as of yet).
  16. Offline


    just some suggestions to improve the plugin, maybe have the different npc types have different skins and have a response system. for example, he says what is the password, and i say 12345. if i get the password right, he will say "that password is correct". if i get it wrong, he will say "that password is incorrect. except not just with a password, and have the responses be customizable. another example, he says, are you having a nice day, then i say yes. that will make him say "good" or 'Me too". if i say no, he will say "that is too bad".
  17. Offline


    is this possible and/or is this a good idea?
  18. Offline


    The reason for the lag is apparently that it begins spawning monsters NON-STOP. Literally hundreds spawn every few seconds and it doesn't stop until the number pushes 1000.


    Tested without Essentials and this is still happening. Uncontrollable monster spawns until I remove Citizens. This only started AFTER a server restart after the first time running Citizens and creating NPCs. It does not occur in the Creative world where there are no NPCs.


    This lag is entirely due to monster spawns. It has nothing to do with running extra checks (barring that it is causing more monsters to spawn than SHOULD be spawning). Using the /butcher command (this is in worldguard or worldedit.. one of sk8's plugins) to kill all Mobs in the world, I am able to effectively relieve this lag until the monsters spawn again (which takes only a few seconds to become bad).

    Considering I can easily handle 30 players and this happens with only myself and perhaps 7 NPCs spawned, this should not be happening.
  19. Offline


    This plugin is a great addition!

    Has there been any consideration for somehow allowing different amounts per user? I know Permissions doesn't really support that sort of configuration, but maybe even a "citizens.general.unlimited" permission?

    Maybe even a permission that allows you to configure an NPC to not count against your limit, or to count against a larger "world limit"... Maybe "citizens.global.*" family of Permissions and a configuration for how many "global" NPCs can exist.

    I love the idea of having Admins set up Wizards to help people to get around, but the fact that all players are limited to the same number of NPCs makes it challenging to send a few trusted people out to populate the world with Wizards while preventing the general populace from creating NPC overcrowding.
  20. Offline


    @Cardmeister - permission citizens.general.nolimit will disable the limit check.
    @Silarn - I will look into this, but my profiling suggested the 'extra check' as the cause.
  21. Offline


    If it was merely some extra check then I don't see how killing the monsters in the world would help. Nor do I see how it would be the cause if there were fewer players connected (including NPCs) than normal. There simply should never be more than a certain number of monsters alive at a time within an area. Whatever is causing this abnormal number of monster spawns is the root issue. It is as if every NPC created causes it to act as if it were a separate world, increasing the limit and rate of monster spawns by a multiple of the number of existing NPCs.


    I have not run NPCX since it was taken over by a new author and updated. Should I run a test to see if it has the same issue on our current version?


    Also consider that this problem only started on my server AFTER a restart. On first run, I, and a couple others, made roughly seven NPCs and had at least one of every type and a few traders active. The server ran flawlessly. As soon as I decided to reload the server plugins to change some settings, the lag started and eventually I tried /butcher to find supposedly nearly 800 monsters slain, and the lag was better for a few seconds.

    I restarted to see if it was merely an issue with a plugin reload, but to no avail. The monsters continued to spawn uncontrollably.
  22. Offline


    Strange thing. I found out when you steal using shift click, if you try and move it, it disappears from your inventory. It also stays in their inventory even when its in yours.
  23. Offline


    @Dagumboss - if it disappears, that means it's lag (you haven't actually stolen anything).
  24. Offline


    Is that going to affect the NPC data files? And either way, is this going to be a seamless transition?
  25. Offline


    When I use Citizens (the newest version) with xAuth I get errors like these below:

    26.05 06:26:57 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    26.05 06:26:57 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    26.05 06:26:57 [Server] INFO at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    26.05 06:26:57 [Server] INFO at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    26.05 06:26:57 [Server] INFO at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    26.05 06:26:57 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    26.05 06:26:57 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    26.05 06:26:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    26.05 06:26:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    26.05 06:26:57 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    26.05 06:26:57 [Server] INFO at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:60)
    26.05 06:26:57 [Server] INFO at com.fullwall.Citizens.Commands.CommandHandler.registerCommands(CommandHandler.java:51)
    26.05 06:26:57 [Server] INFO java.lang.NullPointerException
    26.05 06:26:57 [Server] SEVERE Error occurred while enabling Citizens v1.0.8 (Is it up to date?): null
    26.05 06:26:57 [Server] INFO plugins/Citizens/Questers/Citizens.questers not found! Creating empty file at plugins/Citizens/Questers/Citizens.questers.
    26.05 06:26:57 [Server] INFO plugins/Citizens/Bandits/Citizens.bandits not found! Creating empty file at plugins/Citizens/Bandits/Citizens.bandits.

    Why is that so and how can I run citizens with xAuth? Before I installed xAuth everything worked perfectly.

    xAuth: http://forums.bukkit.org/threads/sec-xauth-v1-2-5-offline-player-registration-689-803.8712/
  26. Offline


    @Bloodlex - try going into plugin.yml and editing the command (there is a command conflict). @Bronski - still txt for data files. Should be seamless.
  27. Offline


    Having the same issue on our server :(
  28. Offline



    Thank you! It works, great! :)

    There is a command "/toogle" that exists in both plugins and that causes those errors I mentioned.
  29. Offline


    May have a lag fix, if someone goes onto IRC and asks they will receive.
  30. Offline


    Someone still somehow stole stuff from my trader
  31. Offline


    Has someone the same issue like me? Can't set prices, it says that iconomy isnt installed. Tried it with iconomy 5 and 5.01 and with and without essentials. Don't know What todo. Pls help me.

Share This Page