[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

    Tfs Halo

    love how no one talks xD now
     
  3. Offline

    LucidLethargy

    Has anyone else been getting this error?

    I think this is the same problem I had back on citizens 1.0.7i that lead me to stop use... but I can't be sure at this time as I don't have the same number of people online as when I was first getting that error on the old version. Can the staff perhaps verify or deny that something was done about the lag/timeout issues? (or perhaps someone knows the error?)

    As it stands, this happens like clockwork every 20 minutes or so kicking me and the other 2 members off. It could be npcx, however, as both that and this plugin are newly updated on my server.

    CB: 766
    Citizens: 1.0.8b (not using essentialseco, using iConomy)

    Edit: It appears to be citizens, it happens when things save:

    If it matters/helps, and you can tell by the IP, I am using SimpleServer.
     
  4. Offline

    ARasputin

    I added a video to the Wiki about Blacksmiths, hopefully this will be helpful to some people.

     
  5. Offline

    ARasputin

    I was having this issue too, all my NPCs that are set to
    Code:
     /npc talkewhenclose true 
    don't seem to talk when you get close.
     
  6. Offline

    Tfs Halo

    lol no i meant on this forum because i was on a old page so i didn't see all the posts with 1.8
     
  7. Offline

    Shad

    Could you make an npc do a command when given money (iConomy) and an item? But otherwise, yes. This sounds like a great substitute for the meantime. You should also make it so they npc can't give that command to the same person more than once to prevent deranking.
     
  8. For some reason I am unable to add different dyes (ink sacks)
    Item ID for ink sack is 351, dyes are data for 351:(1-15).
    Whenever I'm trying to add them to sell list (80 ecomoney per stack of 8)
    /trader sell 351:8:1 80
    The first one succeeds (ink sack) and any consecutive attempts fail with
    Already selling that at 8 INK_SACK(s) for 80 gold.

    Seems like it is ignoring the data value completely.
     
  9. Offline

    Neoblade298

    Great plugin!

    This is a recording of me once I read the title of citizens 1.0.8:
    *GAASP* WHOOOOOOOOOOOOOOAAAAAAAAAAAAAAAAAAAAAA
    *click* *click* WHOOOOOOHOOOOOOOOOO!
     
  10. Offline

    Rhazes

    So now we have to right click npcs for them to talk? I don't want to complain but that takes the fun out of it.
    I really enjoyed having a town crier that talks to new people when they joined. My Guards use to say Halt! Who goes there. I even had a Npc sitting outside of a closet telling a Notch Npc he has to come out of the closet and Notch saying he's not coming out of the closet. Now people have to go inside the closet and click on him.
    If I'm doing something wrong please advise me several players on my server are disapointed with their npcs now.
     
  11. Offline

    Exidous

    Internal exception: java.io.IOException: Received string length longer than maximum allowed (17 > 16 )

    now creators cant join the server that own npcs.
     
  12. Someone made an NPC with a name that is too long.
     
  13. Offline

    Raptorr

    I am having trouble configuring the Citizens to use iConomy, it keeps saying we arent using the iconomy plugin but that is not the case when using /money works just fine.

    EDIT: nevermind I found it, there was a flag in the citizens.economy file
     
  14. Offline

    registered

    Same here, I have iconomy 5 installed. but this plugin doesn't seem to be using it
    use-econplugin=true
     
  15. Offline

    aPunch

    Do you have use-economy set to true as well?
     
  16. Offline

    Meteo

    Hi, jsut reporting that i got an error like this,

    Code:
    19:15:52 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'npc'
     in plugin Citizens v1.0.8
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    78)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:682)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoClassDefFoundError: com/earth2me/essentials/api/Economy
            at com.nijikokun.register.payment.MethodEEco.hasAccount(MethodEEco.java:
    38)
            at com.fullwall.Citizens.Economy.ServerEconomyInterface.playerHasEnough(
    ServerEconomyInterface.java:25)
            at com.fullwall.Citizens.Economy.ServerEconomyInterface.hasEnough(Server
    EconomyInterface.java:90)
            at com.fullwall.Citizens.Economy.EconomyHandler.canBuy(EconomyHandler.ja
    va:117)
            at com.fullwall.Citizens.CommandExecutors.BasicExecutor.onCommand(BasicE
    xecutor.java:51)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.earth2me.essentials.api.Economy
    
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            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(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 18 more
    Using CB 766, and 1.08c citizens, is there anyway to fix this please?
     
  17. Offline

    Raptorr

    Now I have a new problem tho. Buying and selling doesnt work xD. it says "buying 1 coal for 50.00 dollars" but the coal never drops or goes into my inventory, just plops right back into the npc's inventory without another word
     
  18. Offline

    registered

    use-econplugin=true
    use-economy=true
     
  19. Offline

    aPunch

    Use Essentials 2.2 and above.
     
  20. Offline

    Bronski

    I was looking at the "Plans for the future" page on the wiki and I didn't see anything about patrols/walking/pathing. Is that planned?

    That and skins (which I know the status of) are 2 of the more... cosmetic... features that people who spend more time creating than "living" (interacting with NPC's and such) in their world might notice most :)
     
  21. Offline

    ARasputin

    I cannot seem to figure out how to make the vendor sell items. I do the following
    1. /npc create Innkeeper How may I help you?
    2. /toggle trader
    3. /trader sell bed 13
    4. /trader unlimited true
    5. right click to open stock
    6. put 64 bed in the stock
    7. Nothing I do or my players do allow them to buy the beds for $13, or at all.
     
  22. The command syntax is <ID>:<AMOUNT>:<DATA>, so to sell 1 of 351:1 you have to do 351:1:8, not 351:8:1 as that would just sell 8 sink sacks :)

    it says so in the ingame help as well, might have a read there :p its /trader help
     
  23. Offline

    QQCucumber

    @fullwall I have a bug report.

    When NPCs have text set and "talkwhenclose" is set to true, NPCs will talk to each person once when they approach and then never talk to that person again, even if they have multiple things to say. Also, when the server is restarted or settings are reloaded, "talkwhenclose" reverts to false for all the NPCs.
     
  24. Offline

    Meteo

    Sorry to say.... using 2.2 atm as well, iam sorry.
    The error is the same, and the error message is

    "internal issue thingy"
     
  25. Offline

    sagerobot

    None of my users can talk to them when they right click it just says selected or something help please
     
  26. Offline

    NouvelleOrange

    1.08.c with 766 - When I try creating a NPC, it gives me this error in the console. I have enabled the codes in Permission, and use the latest build 2.2 of Essentials (Essentials.jar, GEoIP, Chat and Spawn) and I don't use iConomy before people ask :)
    [​IMG]
    Uploaded with ImageShack.us
     
  27. Offline

    Combat Wombat

    Here's what I meant when I said I can't set the trader to sell the same stuff in different quantities to iConomy:

    [​IMG]
    [​IMG]

    No matter what, users can only purchase it in the stack that has been predefined, so if I typed /trader sell 35:8 200, they can only buy wool in stacks of 8, or if I type /trader sell 35:1 25, they can only buy wool in stacks of 1, and it's very slow.
     
  28. Offline

    ARasputin

    I discovered how to make Vendors work, it requires the
    Code:
    citizens.trader.stock
    permission for the user groups. Once I added that to my default members they were able to buy and sell flawlessly.
     
  29. Because you are the owner you cannot purchase/sell from/to the NPC, you can only stock it, if you want to use it, change the owner to something else with /npc setowner <name>
     
  30. yes, use that permissions because:
    if you're NPC owner = opens the stocking window
    if you're noto the owner = opens trade window
     
  31. Offline

    Combat Wombat

    Did you even read what I wrote? That's not the issue here. I know that already. The problem is I can't get the trader to sell items in different quantities.

    EDIT: Also, the shift-click glitch still managed to work for one of my users when he spammed it during a world-save. Managed to take the item completely out of the trader's inventory, even though it was set to unlimited.
     

Share This Page