[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

    arthoz

    Same with underscore
     
  3. Offline

    derero

    i think i don't understand this plugin (sry i'm german^^) and i can't find an answer not in the wiki and not with using google. How can i make a guard who really is going to GUARD my house or things like that?
     
  4. Offline

    gmore70

    Dude...time to switch...right off essentials page:
    2.3.x? We will probably remove GroupManager in favor of Permissions 3.0

    And right across the top of this plugin's page is:
    Citizens supports Permissions but will default to ops only if not available

    Also WorldEdit and WorldGuard are reporting that GroupManager is corrupting maps when combined with GroupManager. I know its a PITA as I did the switch last week, but if I was you I would switch...and you never know, it might solve your npc issue.
     
  5. Offline

    J-Leblanc

    Running MC 1.6.6 Bukkit 818. i downloaded and installed the plugin on 7/7/11 i managed to create the npcs but when i try to toggle them to any other class(trader, healer, wizard, ect) I get "Your server has not turned economy on for Citizens"
    The economy.yml file currently has use-econplugin: 'false' use-economy: 'True'. not sure why it isn't registering i have the item based economy enabled.
     
  6. Offline

    Mistergone

    I would love to make this plugin work, and I have read the wiki and this thread, and I cannot find the answer to my problem. My NPCs don't talk. I right click, my other users right click, and the NPCs say nothing. If I turn on "talkwhenclose" then they talk, but I find that rather annoying.

    My server is only running CraftBukkit and Citizens. Any suggestions?
     
  7. Offline

    Melgrin

    By default, when you want to interract with NPC you need to right clic them with a special item, specified in the citizens.yml config file. Usually, the Talk Item is ID 340, which is the BOOK referring to that page : http://www.minecraftwiki.net/wiki/Data_values


    @gmore70 :
    As for the use of Permissions 3.x instead of GroupManager, I switched from Permissions, which I was unable to configure whatever my efforts and whatever the Online Parser would tell me, while GroupManager works just perfectly fine. I never encountered any map corruption with WorldEdit and GroupManager enabled.

    @derero :
    I don't think Guards are currently officially supported (written quite a few times in the preceeding pages of this topic, so just wait for a while, or try using NPCX which is much more complicated to use (mainly because of the commands and the use of a MySQL database).
    By default, you'll create a Bodyguard who'll follow you (slowly) everywhere, and attack anyone on sight. You may try to toggle it to Bouncer (/guard bouncer) to no real avail for the moment. So, why don't you wait for an official release ?
     
  8. Offline

    morizuki

    1 question.. how do i set another owner if the new owner have space? let say the name of the new owner will be John Smith.. how will I do that?
     
  9. Offline

    matymathew

    thanks for the help
     
  10. Offline

    robZ

    Hi,

    I really tried to find a solution for my issue but I couldn't find anything.
    When I restart my server, all npcs get stuck beneath the ground they where standing on (min. 5 blocks), or it teleports them to the bottom of the world. I can get them back via /npc move but that's obviously not very practical.
    I have no errors in my console.

    Thanks
     
  11. Offline

    Melgrin


    Have you tried the /npc move command ?
     
  12. Offline

    robZ

    thanks for your reply, i did indeed use that command "I can get them back via /npc move but that's obviously not very practical." as stated in my problem :)
     
  13. Offline

    Bradley Hilton

    And add numbers to that
     
  14. Offline

    heifinator

    Having some problems with traders I tell a trader to buy cobblestone 64 @ 15 iconomy coins.

    /trader buy 4:64 15

    Then it works for a while but if I try to sell the NPC a half stack or an odd number that isn't 64 he will buy it for the full credits.

    Curious what I am doing wrong
     
  15. Offline

    Jumpystyles

    Hey Guys Sry for my English ...
    But If i create a NPC like ->
    1. /npc create Test Hi Im test
    2. /npc add Hi Im test 2

    hes dont speak Random ...
    hes only speak " Hi im test 2 " .... :oops::'(
    i dont know what i am doing wrong ...
     
  16. Offline

    gmore70

    Im just the messenger...Its all posted on all their pages...your choice what you want to do...
     
  17. Offline

    gmore70

    sounds right. I notice the blacksmith fixes for different rates depending on how much needs fixing. It seems pro-rated.
     
  18. Offline

    Jumpystyles

    in my citizens.yml

    where the default are 340, ( Book )

    talk-items: '*' <-- My Settings

    They are Dont Support The '*' ( For all items ) ?
     
  19. Offline

    heifinator

    What I was saying was even if I tell it to buy 64 it buys 32 or 16 or any random number but pays the price for 64. Seems broken or I am doing something wrong.

    When I first create it if I do /trader list buy it says buying cobblestone 64 for 15 credits
    If it start actually buying some and log a couple times and come back and do /trader list buy it says buying cobblestone 16 for 15 credits.

    Seems like its resetting or something odd.
     
  20. Offline

    Mikoyano

    In the last working version of Citizens I had 8 NPCs and when I oppened my server it said: Server overloaded! Did the time change? ( something like this )... Ive been told that I should run my server with more RAM.. but how do I change it? i run it with 1024mb but I have a 4GB PC... How do i change it?

    Also: Are the guards and questers and bandits and Evil Npcs working in this version?

    Oh Oh... and another question: Can I make the blacksmith have a limited time to fix items? So people cant repair more than once the same tool and buy another one

    And when I try to sell things to an Npc it says that I dont have enough money to buy it... His stock is unlimited and I do have money... Is it a bug or am I missing something?
     
  21. Offline

    heifinator

    Anyone else getting the error with traders where no matter what the issue (not enough money, or stock) you get

    "the trader doesn't have enough money available..."
     
  22. Offline

    FuzzeWuzze

    Yea sounds like a pretty big bug. I suppose you could get around this by setting the price for your buying for stacks of 1? Like .005 coin per rock.
     
  23. Offline

    heifinator

    I have figured out what is happening. when I setup the NPC the citizens.stocking file shows

    8=4/32/0/,10.0/true,true,;4/32/0/,20.0/true,false,;

    Then after a few minutes of using it, attempting to sell stuff that isnt 32 (5, 10, 12) weird amounts it says the trader doesn't have enough money available.. even though he has more than enough.

    Then it starts selling the item in a smaller amount. When I look at the citizens.stocking file. It now shows

    8=4/32/0/,10.0/true,true,;4/5/0/,20.0/true,false,;

    So for some reason its re-writing that value. Hmm
     
  24. Offline

    elcaleeb

    Is it currently possible to have traders sell different color wool blocks?
     
  25. Offline

    fullwall

    @elcaleeb - not at the moment.
    To all - fixed special names (hopefully) in the repo - @aPunch might want to do a special hotfix (sorry :().
    @heifinator - will look into it.
     
  26. Offline

    elcaleeb

    Thanks for the fantastically quick reply! :)
    Very much enjoy this plugin, thanks for the hard work you guys put into it.
     
  27. Offline

    Safetybrick

    I submitted that last night on Github as i was testing 1.0.8f on my test server. now with 1.0.8g it looks as though the plugin doesn't even use items period even when creating the basic npc. might be because Im a admin on the server. Im not sure. im going to update my submission.
     
  28. Offline

    dreadiscool

    @Citizens
    @fullwall

    How come when I use my username (Harm3112) it only shows up as Harm? I want it to use my skin, but since it shows up as 'Harm' it doesn't work.

    Thanks
     
  29. Offline

    Liger_XT5

    If you look at the top post, it lists what is featured. What is listed is what is currently working right now. Guards are not ready to be used yet.

    ---------------------------------------
    I checked through the last few pages and didn't see a post of this error. I just installed Citizens 1.0.8g and got the following error. Not sure if it's because I still have the old config files from MC 1.5.x

    Code:
    2011-06-08 17:18:10 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
        at com.fullwall.Citizens.Properties.Properties.WizardProperties.saveMode(WizardProperties.java:42)
        at com.fullwall.Citizens.Properties.Properties.WizardProperties.saveState(WizardProperties.java:85)
        at com.fullwall.Citizens.Properties.Properties.WizardProperties.loadState(WizardProperties.java:99)
        at com.fullwall.Citizens.Properties.PropertyManager.load(PropertyManager.java:56)
        at com.fullwall.Citizens.NPCs.NPCManager.register(NPCManager.java:73)
        at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:177)
        at com.fullwall.Citizens.Citizens.access$0(Citizens.java:168)
        at com.fullwall.Citizens.Citizens$1.run(Citizens.java:132)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  30. Offline

    Malchus

    It says my server has not turned economy on for citizens. How do I turn it on? I've looked everywhere.
     
  31. Offline

    QQCucumber

    I've got some bad news to report fullwall. With the latest test build aPunch put out shortly before G was officially released, I got that massive NPE looping error as before, ended up with a 200MB log file.

    Also, within moments of starting the server with G, I had the following occur:

    Code:
    2011-06-08 20:31:29 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    	at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
    	at java.util.ArrayList$Itr.next(Unknown Source)
    	at com.fullwall.Citizens.Listeners.WorldListen.onChunkLoad(WorldListen.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:519)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:89)
    	at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:93)
    	at com.fullwall.Citizens.Listeners.WorldListen.onChunkLoad(WorldListen.java:59)
    	at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:519)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:89)
    	at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:93)
    	at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:61)
    	at com.bukkit.jason.pitfall.PitfallPlayerListener.onPlayerMove(PitfallPlayerListener.java:27)
    	at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
    	at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-08 20:31:2920:31:29 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    	at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
    	at java.util.ArrayList$Itr.next(Unknown Source)
    	at com.fullwall.Citizens.Listeners.WorldListen.onChunkLoad(WorldListen.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:519)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:89)
    	at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:93)
    	at com.fullwall.Citizens.Listeners.WorldListen.onChunkLoad(WorldListen.java:59)
    	at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:519)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:89)
    	at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:93)
    	at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:61)
    	at com.bukkit.jason.pitfall.PitfallPlayerListener.onPlayerMove(PitfallPlayerListener.java:27)
    	at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
    	at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    2011-06-08 20:31:29 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    	at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
    	at java.util.ArrayList$Itr.next(Unknown Source)
    	at com.fullwall.Citizens.Listeners.WorldListen.onChunkLoad(WorldListen.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:519)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:89)
    	at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:93)
    	at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:61)
    	at com.bukkit.jason.pitfall.PitfallPlayerListener.onPlayerMove(PitfallPlayerListener.java:27)
    	at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
    	at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-08 20:31:2920:31:29 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    	at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
    	at java.util.ArrayList$Itr.next(Unknown Source)
    	at com.fullwall.Citizens.Listeners.WorldListen.onChunkLoad(WorldListen.java:57)
    	at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:519)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:89)
    	at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:93)
    	at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:61)
    	at com.bukkit.jason.pitfall.PitfallPlayerListener.onPlayerMove(PitfallPlayerListener.java:27)
    	at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
    	at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Don't know what's up with that, this never happened with the test build.
     

Share This Page