[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


    okey and then how can i add for example messages? i want to make a basic npc, for an information desk, in the city, and i want to make same sentences for this
  3. Offline

    Combat Wombat

    Select the NPC (right click with the item you have configured to select NPCs, this is usually a book (id 340)), then type /npc add [your text here].
  4. just remember all messages are randomized, the dont appear in a certain order
  5. Offline



    when we spawn a NPC it don't cost anything for spawn or healing.
    And blacksmith don't repair anything.

    We use iConomy.

    Also NPC don't talks, even with /npc set

    And last one, can we create a NPC that Buy everything?
  6. Offline


    Can someone solve this error?

    07:56:21 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:493)
    at java.lang.Integer.parseInt(Integer.java:514)
    at com.fullwall.Citizens.Utils.TraderPropertyPool.parse(TraderPropertyPool.java:85)
    at com.fullwall.Citizens.Utils.TraderPropertyPool.getInventory(TraderPropertyPool.java:72)
    at com.fullwall.Citizens.NPCs.NPCManager.loadTrader(NPCManager.java:127)
    at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:76)
    at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:43)
    at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:297)
    at com.fullwall.Citizens.Citizens.access$0(Citizens.java:262)
    at com.fullwall.Citizens.Citizens$1.run(Citizens.java:106)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
  7. Offline


    hi, can someone please help me. i have the latest version (1.0.8c) and when i try to join my own server with that plugin installed on minecraft it comes up with this
    " Internal exception: java.io.IOException: Recieved string length longer than maximum allowed (19 > 16)"
    please help i would like to have citizens working on my server again.
  8. Offline


    If I remember correctly, this is an issue with Signs. In an update sign length was reduced. As such you may have a leftover sign that has too many characters. Try restarting the server and if that doesn't help then I suggest you use MCEdit or a similar map editing tool to remove the signs then manually replace them.

    It can also be an issue with Chunks, in which case you might want to try something like Chunkster... the worst case scenario is you will have to make a new world or just avoid that area where you get the error. (Source of my information [1])

    What craftbukkit version do you use?

    Check if you have
    set to TRUE and not FALSE. It should look something like this
    As for the talking problem, I have the same issue and have no idea how to resolve it.

    For an NPC that buys everything you will have to configure each item one by one I believe.
    This page will be useful for that: http://www.minecraftwiki.net/wiki/Data_values
  9. Offline


    Is it possible to sell a stack of an item for a set amount?
    Like,buying a stack of wood from an NPC for 10 (currency)?
    /trader sell [ID] <amount> {Price}
  10. Offline


    what do you mean that it might be an error with signs? i can't join my server full stop (thankyou for trying to help me)
  11. Offline


    yes, use this
     /trader sell wood:64 10
    In minecraft update 1.5 the length that signs are allowed to have was shortened, as a result there is possibly a leftover sign somewhere that is breaking things. If it isn't the signs then I have no clue, and I am sorry I couldn't help you.
  12. Offline


    yeh i don't think it's them because if i take the plugin out of my plugins foldar my server runs fine:confused:

    thanks for your help anyway:)

    hopefully someone else can help.:)
  13. Offline


    Ah Thanks.Also,as a suggestion,It'd be nice if They implemented a notification is chat if someone buys something from your NPC.Kinda like iConomyChestShop.
  14. Offline


    I've got
  15. Another tutorial video, this time with narration
    aPunch and atristoffate like this.
  16. Offline


    When I try creating an NPC it says that I need 10.00 yellow flowers to create. Why is it happening?
  17. Offline


    Getting following error:
    2011-05-13 15:14:08 [INFO] [Citizens]: Permissions enabled.
    2011-05-13 15:14:08 [INFO] [Citizens]: version [1.07i] (Helpers) loaded
    2011-05-13 15:14:08 [SEVERE] Could not pass event PLUGIN_ENABLE to Citizens
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
        at com.fullwall.Citizens.Listeners.PluginListen.onPluginEnable(PluginListen.java:28)
        at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 13 more
  18. This is because the cost is set to 10 flowers in the config file.
  19. Offline


    the settings one or the economy one? because I cant find anything that says that ths is the cost to create one.
  20. Offline


    Don't know if this has been answered already, but so far my searching hasn't revealed any answers.

    I have assigned all the relevant permissions and created a blacksmith in order for that person to repair items in my village, however only I, as the owner am able to use it. No other players, whether using commands or the right click function are able to get it to work.

    Am I missing something?

    I've been over all the permissions a number of times and hunted through the settings files as well, and can't find anything.

  21. Offline


    Try it to set the owner to anything like "." or "Thisistheownernow". I did the same thing to the Traders and everyone can use them now
  22. Offline


    I'm still getting the error where theres a internal console error whenever i try to create a npc.... Using CB 766, essentials 2.2, citizens 1.08c, and have the economy set to true, and none of it still works. I even regenerated the npc folder by deleteing the original and started up my server, but still no solution. Please help :] I posted the error in page 87, just incase u need to see it.
  23. Offline


    I got the same issue some times
    Are you sure that you have typed in the command correctly?
    Have you stopped and restarted your server?
    Try to create a npc with /npc create Notch for example then it'll take Notch's clothes and maybe its outbugged? don't know
    Look whether there are other plugins which are incompatible with Citizens like Backpack
  24. Does anyone else have this issue?
  25. Offline


    Nishok I got that issue too. I got 1.08b and deleted it. Today I downloaded 1.08c and atm^^ I haven't got any bugs. Maybe try to delete the citizens folder and recopy it? Or delete all npcs on the server, restart your server and try it again
  26. Can someone say me how to buy from a trader? or to sell something?
  27. From where did you get 1.09c?
    Do you have a link for me please?
  28. Offline


    sorry I did a mistake it's 1.08c and 1.08b :(
  29. Offline


    1. Create a npc
    2. toggle the npc to a trader
    3. give the trader something to sell or buy /trader help for infos ( for quantitiy set a ":" after the itemname or id, for example: Dirt:64/3:64 )
    4. if you got him something to sell then right click on him and give him the item he should sell//// if you got him something to buy then be sure that you gave him enough money!
    5. Set the owner of the npc to anything else except of players ( for example "." or "Thisistheownernow" )
    6. right click on the npc and if you want to buy anything then left click on the item in HIS inventory to buy/// if you want to sell anything then left click on the item in YOUR inventory to sell it
    7. Beware of bugs as there seem to be very many of them
    8. Have Fun!
  30. Offline


    I've read som posts that NPCs get attacked by mobs during the night and I have the same problem. If the NPC is indoors so the mobs are'nt killed by the sun the house is completed flooded after a couple of nights and the server lags out completely. I can't kill them because the server lags too much. Only solution was to remove the NPC and wait for the mobs to move on and get killed by the sun.

    Anyone found any solutions?
  31. Offline


    same thing, i did everythign correctly still wrong....

Share This Page