[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

    Krexal

    Thanks alot! But when you set it do they spawn randomly or you have a certain command to spawn them? :L
     
  3. Offline

    Meisgoot312

    Hello to whom may reply to this, I am having a little difficulty with traders. When I create a trader, they seem to work fine, except for the fact that I cannot add to their sell/buy list (Im not using Iconomy and I have changed the Economy.yml). When I enter the command /trader sell 351:3:0 265:1 it says "Selling 3 inksacs for 0" and also regular players are unable to trade with them, they can select them, but not trade. Thank you for reading. Note: It is very hard to implement an Iconomy plugin when you're hosting a survival multiplayer as it doesn't belong anywhere.

    EDIT: Sorry, upon further wiki reading, I realize this is a bug, sorry for bugging :p
     
  4. Offline

    dark2222

    what do i so npc use iconomy?
     
  5. Offline

    Krexal

    A Problem, I can't seem to damage EVIL NPCS after I killed my first one... :L
     
  6. Offline

    ShadowHeart

    Just installed the current update and this is the error that appears:

    Code:
    16:12:15 [SEVERE]     at com.citizens.resources.npclib.NPCSpawner.spawnNPC(NPCSpawner.java:34)
    16:12:15 [SEVERE]     at com.citizens.npcs.NPCManager.register(NPCManager.java:46)
    16:12:15 [SEVERE]     at com.citizens.Citizens.setupNPCs(Citizens.java:305)
    16:12:15 [SEVERE]     at com.citizens.Citizens.access$0(Citizens.java:286)
    16:12:15 [SEVERE]     at com.citizens.Citizens$1.run(Citizens.java:120)
    16:12:15 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    16:12:15 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    16:12:15 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    16:12:15 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    16:12:15 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
        at com.citizens.npcs.NPCManager.register(NPCManager.java:48)
        at com.citizens.Citizens.setupNPCs(Citizens.java:305)
        at com.citizens.Citizens.access$0(Citizens.java:286)
        at com.citizens.Citizens$1.run(Citizens.java:120)
        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)
    Got any clues as to why it's doing that. Running CB 1k and Citizens 1.0.9d
     
  7. Offline

    NickXD

    i've found 2 bugs
    1: i can copy NPC but when i restart my server they are at the same place as the original one
    2: my NPC can't put a chestplate on
    sorry for my bad english
     
  8. Offline

    Physikbuddha

    Visit http://citizens.wikia.com/wiki/Citizens_Wiki
     
  9. Offline

    Starrk

    Is it a known issue that Waypoint NPC's disappear and become unselectable? I have some NPC's that aren't able to be selected and they were waypoint npc's and now they just stand there.
     
  10. Offline

    Kayonesoft

  11. Offline

    Starrk

    Oh my lord. I had just deleted every single citizens file and re-installed it.

    Worked great. Citizens and waypoints. Worked great.

    Then randomly the server shuts off.

    There are NO errors whatsoever but when I restarted the server, there was a rollback yet all the NPC's were fine that stood still. The ones who moved got completely removed.

    Can anyone help me at all? After I started the server again, the npc's with waypoints were completely removed. I've spent hours setting all of them up.
     
  12. Offline

    davznothere

    another suggestion

    ACTIONS

    npc can turn on / off levers, press buttons, activate pressure plates, retrieve items from chests or quest areas etc.
     
  13. Offline

    fullwall

    @ShadowHeart - Did you perhaps spawn an npc in another world and then delete that world?
    @Starrk - ouch :(. Citizens shouldn't be causing any shut offs. To avoid problems when servers do shut down you could lower the save-tick delay.
     
  14. Offline

    DJ_Idol

    Code:
    >00:45:31 [SEVERE] Could not pass event CHUNK_UNLOAD to Citizens
     java.lang.NoClassDefFoundError: Could not initialize class com.citizens.CreatureTask
       at com.citizens.listeners.WorldListen.onChunkUnload(WorldListen.java:51)
       at org.bukkit.plugin.java.JavaPluginLoader$49.execute(JavaPluginLoader.java:584)
       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
       at net.minecraft.server.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:243)
       at net.minecraft.server.World.doTick(World.java:1705)
       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Could this be caused by the NPC's we had that disappeared?
     
  15. Offline

    kahlilnc

    Damn, what plugins is this plugin not compatible with?
     
  16. Offline

    Cade616

    i downloaded the plugin and everything was working fine. i set up a trader and i can buy from him him but when i try to sell to him it says "you dont have enough money available to buy redstone" and i used the command "/trader buy 331 2" please help, any help would be GREATLY appreciated
     
  17. Offline

    sleite

    I read over the main post twice, carefully .. and there's two very important thing missing.
    1) Installation Instructions
    2) Usage Instructions

    All I see is READ THIS BEFORE POSTING and stuff about BUGS and developers. Pretty please .. please update?

    Thanks

    Update: I found what I was looking for (finally).
    Note: Some people might not know what a WIKI is. :)
     
  18. Offline

    joevengence

    In the economy.yml file in the citizens folder set use-econplugin to true:

    economy:
    use-econplugin: true

    to make your trader sell or buy for cash type:

    example:
    /trader sell 264:1 1000 (trader will sell you 1 diamond for 1000 if he has it in his inventory)

    /trader buy 264:1 800 (trader will buy 1 diamond from you for 800)
     
  19. Offline

    Pelle_M

    when i try to create an npc i get java.lang.nullpointerexception: null
    can someone help me please?
     
  20. Offline

    eirik-ff

    Is there a way to change the skin on the NPC? Maybe download the skin from the Internet or something.
     
  21. Offline

    wedgeley

    This is exactly what I find too. I tried the older version 1.0.9c and found that works fine, so I'm sticking with that for now.
     
  22. Offline

    fullwall

    Well... it'd help if you posted the error :p
     
  23. Offline

    Anora

    Id be nice if we could get the npc's to actualy craft things as well, as I am making a store on my server and would prefer evrything be made from resources from the world and not use some of the plugins that just creat the stuff out of thing air.
     
  24. Offline

    darkwarriors

    same usses but i dont known what event generate that
     
  25. Offline

    Nemolux

    Hallo I have this error: Please report this error: [see console]
    java.lang.NullPointerException: null

    error report from cmd as .txt
     

    Attached Files:

  26. Offline

    DetCox

    hey, quick question. Is there anyway to link a NPC to a iconomy account instead of setting there balance sort of a direct deposit/withdraw from a users account.
    if not this would be a great feature to add for servers with a ton of server owned NPC's. An admin could setup a iconomy account for the server/town/city.... and set each non-player owned NPC to link to that account so he wouldn't have to manage the balance for each NPC, only set the iconomy account balance to some thing high and pool the money for the server/town/city... rather than setting it to unlimited.
     
  27. Offline

    Starrk

    Hmm, I've made several more way-points to test it out again but whenever I restarted or reloaded the server they just disappear. I've checked my npc-profiles.yml and all the Citizens are there yet the ones who move are gone.

    I get this error after restarting the server/reloading the server :

     
  28. Offline

    Hunt800

    Did you give HIM money with /trader money give ? He can't buy stuff if he doesn't have money.
     
  29. Offline

    Poe

    GREAT plugin but i have a small issue...when i use a wizard to spawn a mob it doesnt work and the money gets subtracted ffrom iconomy5 running RB 1000
     
  30. Offline

    CevinWa

    My bodyguard don't attack mobs and i set the blacklist

    Great plugin btw
     
  31. Well im just stikicking with the old verion of citizens till they fix it cause i have 70 npcs (lol) and it took me like 10 min to remove all the quotes from 1/4 of the file :/
     

Share This Page