[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

    parker_digg

    I could have sworn i had seen NPC's with other characters than just the alphabets. Why can't we use _, numbers, or other characters??
     
  3. Offline

    fullwall

    @Bronski - redownload and set spawn evil npcs to false.
     
  4. Offline

    gmore70

    They have posted on their wiki they are working on waypoints
     
  5. Offline

    TnP

    I have turned econplugin and all the other stuff on...but it still says:
    You need 10 yellow flowers more to do that
    if I want to create a NPC.
    Before I restarted my server my currency was the normal from the Iconomy plugin....
    I don't know why it has changed...
     
  6. Offline

    aPunch

    This will be fixed in the next version.
     
  7. Offline

    TnP

    ok thank you
     
  8. Offline

    Riolu

    When will be new version? :)
     
  9. Offline

    fullwall

  10. Offline

    Me4502

    is there ever going to be random walking along a certain material - eg cobblestone pathing
     
  11. Offline

    sfxworks

    ok..
    to make an npc wear this....
    /npc <slot> id

    for slot...
    chest, chestplate, chest_plate, and shirt do not work....what is the slot for the chest? I figured out the rest of them and they work fine (helmet, leggings, and boots)
     
  12. Offline

    user_80273

    Use Torso :)
     
  13. From the wiki -> commands page:
     
  14. Offline

    Scizzr

    Hey. Great plugin and all and it works very nicely.

    I've got just a slight problem with the blacksmith however. It's not a problem as in a bug, but just a preference that I think should be configurable.

    If (for example) users use pickaxes of various grade to break 10 cobblestone, my blacksmith charges the following:
    Show Spoiler

    The amounts charged are as follows:
    Code:
    gold    (22/32)     [31.25000% dmg] 3 dollars, 12 coins [31.25000 * 0.1]
    wood    (49/59)     [16.94915% dmg]  1 dollar, 69 coins [16.94915 * 0.1]
    stone   (121/131)   [ 7.63358% dmg]            76 coins [7.63358  * 0.1]
    iron    (240/250)   [ 4.00000% dmg]            40 coins [4.00000  * 0.1]
    diamond (1551/1561) [ 0.64061% dmg]             6 coins [0.64061  * 0.1]
    
    My economy.yml config is as follows:
    Code:
    prices:
        blacksmith:
            toolrepair:
                item: '10'
                econplugin: '100'
    

    I adjusted the economy.yml a tiny bit and saw no true change, only a 10x increase in prices... Same thing with swords on 10 glass blocks:
    Show Spoiler

    The amounts charged are as follows:
    Code:
    gold    (22/32)     [31.25000% dmg] 31 dollars, 25 coins [31.25000 *  1.0]
    wood    (49/59)     [16.94915% dmg] 16 dollars, 94 coins [16.94915 *  1.0]
    stone   (121/131)   [ 7.63358% dmg]  7 dollars, 63 coins [7.63358  * 1.0]
    iron    (49/59)     [16.94915% dmg] 16 dollars, 94 coins [16.94915 *  1.0]
    diamond (1551/1561) [ 0.64061% dmg]             64 coins [0.64061  * 1.0]
    
    My economy.yml config is as follows:
    Code:
    prices:
        blacksmith:
            toolrepair:
                item: '100'
                econplugin: '100'
    

    I think I now see what the 'issue' I'm referring to is, but my ultimate question is: Why are these repair costs based on the percentage of durability remaining (given the fact that diamond tools have crazy durability) and not the exact number of uses remaining? I think there should be a configurable value for the increase/decrease of prices throughout material changes... Such as:
    Show Spoiler
    Code:
    #economy.yml
    prices:
        values:
          - gold: '0.25'
          - wood: '0.50'
          - stone: '0.75'
          - iron: '1.00'
          - diamond: '2.00'
    
    I also think the cost (in coins) should be this formula:
    Code:
    (maxDurability - currentDurability) * materialValue = cost
    The costs for swords on glass blocks would then be:
    Code:
    gold    (22/32)     [10 dmg]  2 dollars, 50 coins [10 * 0.25]  ( 1 dur = $0.25 )
    wood    (49/59)     [10 dmg]  5 dollars           [10 * 0.50]  ( 1 dur = $0.50 )
    stone   (121/131)   [10 dmg]  7 dollars, 50 coins [10 * 0.75]  ( 1 dur = $0.75 )
    iron    (240/250)   [10 dmg] 10 dollars           [10 * 1.00]  ( 1 dur = $1.00 )
    diamond (1551/1561) [10 dmg] 20 dollars           [10 * 2.00]  ( 1 dur = $2.00 )
    

    Do you agree that this would be more reasonable than having users pay more for items they will be damaging in greater amounts?

    Nonetheless, great plugin. I really hope to see this functionality implemented in a later version, as players have complained that it's too costly to repair their junky items (so they make new ones instead) and that it's too cheap to repair the good items (so they rarely mine for diamonds) and it really damages the economy.

    Thank you for your work.
     
  15. Offline

    Fujikatoma

    I have a problem :
    If a friend try to buy a Stack of Dirt but:
    He Right Click on the NPC and then the Plugin say "You have Selected Bob ......" and if he try to buy something he wont get it :(
     
  16. Offline

    navyrob

    Hi. I have downloaded the most recent version, but after I created a few message NPCs they disappeared after I reloaded. The server info message says it loaded 3 NPCs but the do not show up in the game any more. Everything seemed to be working fine until I restarted.

    The search feature gave me results of people with a similar problem but I couldnt find a clear soloution.
     
  17. Offline

    aPunch

    @cembry90 Should be easy to implement, I don't think it should be configurable even. I'll just use your method without any other option.
     
  18. Used this a while ago, just reinstalled, for some reason when right clicking the NPC they don't talk.
    Am I missing something?
     
  19. Offline

    garrett dye

    can someone help me pls i have 8 nice good wrorking npcs but when i relog they do not appear even after i wiat for a ahile can someone help me pls the bukkit cmd says they have been loaded but they just do not show up pls help me!!!!!!!!
     
  20. Offline

    aPunch

    Calm down. Now just explain everything that happened and try to breathe. Everything is going to be okay, just take deep breaths.
     
  21. Offline

    Citizens

    Attention All

    All commits to our repository will now automagically create a downloadable build for anyone to use. You may download these builds here: http://is.gd/teamcity.

    IMPORTANT:

    If you decide to use these builds, we are in no way responsible for ANY problems that come with it. They are developmental builds and most likely will not be stable. If you come to us to complain about developmental builds you will be reported and most likely belittled by your fellow server admins.

    Love,

    the Citizens Team
     
  22. Offline

    fjuser

    ive got a problem it says "An internal error occured while attempting to perform this command"
    but ive got all permissions.. :( ??
     
  23. Offline

    garrett dye

    rofl well i just mad the npcs and it says that it loads them but they wont show up only two show up at spwan
     
  24. Offline

    aPunch

    This is a known bug. Check out at least the previous 2-3 pages before you post your bug report.
     
  25. Offline

    garrett dye

    Well what do i do?
    Can u look for me?
     
  26. Offline

    Sunbeam

    /trader [buy/sell] [item ID:)amount:)data))] [cost:)amount:)data))] ??????????????
    i want the trader to sell stone what do i have to type in chat?
     
  27. Offline

    aPunch

    Can I look for you?! Sure, I'll look through the past 2 pages and send you my eyes via express mail.

    /trader sell 1:64 10 <== That sets the trader to sell 64 stone for 10 economy plugin currency.

    Also, use one question mark next time.
     
  28. Offline

    Randy Schouten

    I think the API broke in the current v1.0.8g.
    My plugin doesn't work since this version, no errors or anything.
    Unless I have to call it in a different way ofcourse.

    I tried the WIP version too, which works fine again.
     
  29. Offline

    garrett dye

    ok dont be fucking sassy im sry ur the one who make the plugin maybe you should fix the bugs huh
     
  30. Offline

    Randy Schouten

    He's saying you should use proper English and look at previous pages before posting.
     
    Flip likes this.
  31. Offline

    user_80273

    Still hoping for any insight into the looping error we're receiving, or perhaps just acknowledgement that other people have experienced this and that the devs are aware of it? Many thanks

    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.
     

Share This Page