[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

    fullwall

  3. Offline

    sayris

    still having huge problems with the trader NPC.

    Still acts more like a chest than a store owner, not buying or selling anything, just storing things :S

    added the following permission: citizens.use.trader

    Also, the only thing any other group can do is target the NPC, nothing else even with those permissions.

    Please message me teh solution thanks :)
     
  4. Offline

    TnP

    I have installe Citizens and Iconomy (and more but don't mind) and when i want to toggle a citizen to a trader (or bandit etc. ) it say i need 10 yellow flowers....I have installed the Citizens Plugin 1 week earlier and my currency was the money from Iconomy.....how can I changethe currency from flowers ---to---> Iconomy Money ????
     
  5. Offline

    d00ba

    @KayoticSully

    The nodes on the wiki work fine for me, read the wiki again.

    check your economy.yml under /plugins/citizens/ and make sure you change use-econplugin to 'true'

    @gmore70

    The guards are not finished and not officially released. They do not work properly, so I would avoid using them until they're finished.

    I believe they do intend on adding health which might be available with official release of guards.

    @PlannedBoredom

    You don't, the quest system is not finished and not released yet. I would advise you not to use it until it has been released.

    @Musaddict

    I suspect the next update will be fairly soon (within the next few days) to fix some of the bugs that exist.

    I think Guards are getting there, so be patient, let them fix the plugin-breaking bugs first, then I suspect they will look to add new things.

    @sfxworks

    Yeh, seems to be a common bug atm, NPC's that I've placed on lower ground don't seem to be affected. Suspect they'l be looking to fix this in the next version.

    Guards aren't finished, so I would advise against using them until they're released.

    @wildeebeast

    don't see why not

    @Pim1234

    I wouldn't use them until they're released.

    @olimoli123

    citizens.use.trader does the job for me.

    Try reading the wiki.

    @jor956

    Haven't had this problem, added text works fine over here.

    @Pawned

    citizens.use.trader

    @DetCox

    Still getting the issue here DetCox, but I believe they're working on it, and hopefully they'l get this fixed in next version.

    @TnP

    check your economy.yml under /plugins/citizens/ and make sure you change use-econplugin to 'true'
     
  6. Offline

    LarsMaehlum

    Tried it. The extra npc's disappeared, which is good.
    Too bad some of the other ones did too.
    At least /npc list seems to work. Some of the npc's are not showing up, but I can still remember some of their ID's :)
     
  7. Offline

    fullwall

    Hmmm... seems gravity is making npcs disappear when chunks aren't loaded. I'll look to fix this.
     
  8. Offline

    TnP

    i have turned i conomy on:

    -----------------------------------------------
    CitizensEconomy file

    #If set to false, all NPCs will be free of charge
    use-economy=true <---- turned on!

    #If set to true, Nijikokun's iConomy plugin will be used for economy handling.
    use-iconomy=true <---- turned on!

    #Settings are in groups of two: one for item prices, one for iConomy prices.
    #The iConomy prices have "-iconomy" on the end, and items have "-item".

    #The item-currency-id property states what type of item id should be used if not
    #using iConomy.

    #iConomy prices check the user's balance for the amount, the item prices #check if the #player has enough of the specified item using item-currency-id in their inventory.

    basic-npc-create-item-currency-id=1
    basic-npc-create-item=100
    basic-npc-create-iconomy=100

    ------------------------------------------------------
    and economy file:

    economy:
    use-econplugin: 'true' <---- turned on!
    use-economy: 'true' <---- turned on!
    prices:
    blacksmith:
    creation:
    item: '10'
    econplugin: '100'
    item-currency-id: '37' [ Here you see the currency id is 37 = yellow flowers....how can I change it to
    toolrepair: money? ]
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
    armorrepair:
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
    basic:
    creation:
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
    guard:
    creation:
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
    wizard:
    creation:
    item: '20'
    econplugin: '150'
    item-currency-id: '37'
    changetime:
    item: '20'
    econplugin: '150'
    item-currency-id: '37'
    spawnmob:
    item: '20'
    econplugin: '150'
    item-currency-id: '37'
    teleport:
    item: '20'
    econplugin: '150'
    item-currency-id: '37'
    togglestorm:
    item: '20'
    econplugin: '150'
    item-currency-id: '37'
    trader:
    creation:
    item: '20'
    econplugin: '250'
    item-currency-id: '37'
    bandit:
    creation:
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
    healer:
    creation:
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
    levelup:
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
    quester:
    creation:
    item: '10'
    econplugin: '100'
    item-currency-id: '37'
     
  9. Offline

    LarsMaehlum

    That makes a lot of sense. This is the only real problem I've been having with this plugin (and maybe guards), and when this is fixed I can start offering my users a much better city experience. Keep up the good work :)

    EDIT: I might be willing to fix the guards myself. Make sure that they properly follow you or guard an area. I'm usually a .NET programmer, but the code seems fairly clean, so it should not be too hard to get into. What kinda tools do I need to get started? Just eclipse?
     
  10. Offline

    d00ba

    I see the problem, you're using the OLD file.
    This file was updated to a yml format and is called economy.yml
    You need to download the latest version of Citizens and update your files.
     
  11. Offline

    fullwall

    @LarsMaehlum - yep, just eclipse. Submit a pull request on git and I'll take a look at it. The code is slightly messy though.
     
  12. Offline

    LarsMaehlum

    I need to install ecplipse, git and JavaSDK to get started. I'll do a pull this afternoon :)
     
  13. Offline

    CJits

    This may be a stupid question, but I can't find where you activate the npc's, or can I just suddenly meet them deep in the forest or something? xD
     
  14. Offline

    Beamlord7

    need help no npc will spawn
     
  15. Offline

    TnP

    ok now i have installed the NEWEST version...and i have enabled iconomy but my currency is still yellow flowers...why???
     
  16. Offline

    Sleelin

    @fullwall: not sure if you're aware of this bug, but updating from f to g caused NPC names with numbers in them to stop working. Basically, if your NPC name has a number in it, the number, and anything after the number will not be included in the name. Discovered this while trying to place a deadmau5 NPC :p
     
  17. Offline

    gmore70


    Thats the problem...when you act like your one of the plugin developers.....The are NOW released! Officially. Directly from the word of the developer, as posted on the WIKI...anyways still hoping for an answer from the PLUGIN DEVELOPER
     
  18. Offline

    d00ba

    The problem, is that the plugin developers don't have time to answer all the stupid questions, that are posted here by people who are too lazy to look into it, hence I'm trying to do my bit.

    I repeat: Guards are not yet officially released. Please learn to read -_-
     
  19. Offline

    fullwall

    The PC Tech Guy likes this.
  20. Offline

    fullwall

    Thanks @d00ba for helping with the thread :). Try the posted link to see if it fixes that trader bug you mentioned.
     
  21. Offline

    Sydaell

    When i try using /toggle [type] command , nothing happens. I dont even have any error in console.
    I have the permissions for it.
     
  22. Offline

    d00ba

  23. Offline

    MrMoooshi

    Hey, every time I try to spawn a NPC with a number like Deadmau5 it just sais Deadmau5 was born but when I look at him it just says Deadmau. It happens with every user with a number
     
  24. Offline

    LarsMaehlum

    Please at least read the last couple of pages before you post..
     
  25. Offline

    Smit80

    Awesome plugin, well done.

    Ive been using it to creat adhoc Evil NPC's that attack players, would be great if at some point you could implement a specific type for that purpose. :)
     
  26. Offline

    Shay Williams

    -snip-

    I'm an idiot.
     
  27. Offline

    Sydaell

    Could anyone help me? my /toggle command doesn't work at all.
    I do have citizens.admin node for me.
    I can create a npc, set his armor, item, text, set it to talk when close etc.
    But i cant toggle it to other type.
    I write /toggle healer and nothing happens. Nothing. No error, nothing in console.
     
  28. Offline

    fullwall

    @Sydaell - have you selected the NPC?
    @Shay Williams - try getting a recent version and replacing the plugin.yml (there is a command missing in the citizens yml).
     
  29. Offline

    user_80273

    Hi all my server has been stricken with repetitions of the following error, which is causing alot of strain. Any advice?

    Code:
    2011-06-10 05:08:52 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    at java.util.AbstractList$Itr.next(AbstractList.java:343)
    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:87)
    at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:92)
    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:87)
    at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:149)
    at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:137)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:354)
    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:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-10 05:08:52 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    at java.util.AbstractList$Itr.next(AbstractList.java:343)
    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:87)
    at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:149)
    at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:137)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:354)
    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:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-10 05:08:52 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    at java.util.AbstractList$Itr.next(AbstractList.java:343)
    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:87)
    at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:92)
    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:87)
    at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:149)
    at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:137)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:354)
    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:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-10 05:08:52 [SEVERE] Could not pass event CHUNK_LOAD to Citizens
    java.util.ConcurrentModificationException
    at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    at java.util.AbstractList$Itr.next(AbstractList.java:343)
    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:87)
    at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    at net.minecraft.server.PlayerManager.movePlayer(PlayerManager.java:149)
    at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:137)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:354)
    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:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-10 05:14:11 [INFO] Connection reset
    2011-06-10 05:14:11 [INFO] Harmaakettu lost connection: disconnect.quitting
    2011-06-10 05:14:14 [INFO] Harmaakettu [/77.223.37.76:49602] logged in with entity id 883358 at (227.22540377731866, 70.0, 624.0757024817339)
    2011-06-10 05:17:25 [INFO] Harmaakettu lost connection: disconnect.quitting
    2011-06-10 05:17:25 [INFO] Connection reset
    2011-06-10 05:17:28 [INFO] Harmaakettu [/77.223.37.76:49605] logged in with entity id 888278 at (27.389770933632274, 91.0, 512.9727739402695)
    2011-06-10 05:17:37 [INFO] ยง9[PLAYER_COMMAND] Harmaakettu: /home
    2011-06-10 05:27:38 [INFO] [BBROTHER] Removed 0 old records because of age in 0h00m00s.
    2011-06-10 05:29:15 [INFO] [Citizens]: Saving npc files to disk...
    2011-06-10 05:29:15 [INFO] [Citizens]: Saved.
     
  30. Offline

    MrMoooshi

    Cant find anything about that
     
  31. Offline

    Sydaell

    Selected it by right clicking.
    Message appears that i have selected npc and it tell me its ID. I can set his text etc but i can't toggle him to become healer for example.

    Edit 1:
    Okay so it's a conflict with one of my plugins that is sure.
    I'll inform you when i find out which one is it.

    Edit 2:
    It's a conflict with xAuth plugin. Which i dont really need so its okay.
     

Share This Page