[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

    DJ_Idol

    Can someone show me the format of setting a traders buy/sell list, with examples?

    I've tried /trader buy 264:1 cost:1000, and other different ways but it always tells me The command was not recognized, etc. etc.

    BTW, the NPC is really a trader, because other commands work (/trader list buy, /trader money, etc.)
     
  3. Offline

    PoorPinkus

    Just because i am really lazy, is there a way that items could have a set price when you install the plugin? (I am using 1.0.8a so if this is already implimented than that is awesome)
     
  4. Offline

    PoorPinkus

    I think you are supposed to use spaces and not colons but when i tried that it also said it was not recognized
     
  5. @DJ_Idol and @PoorPinkus
    The correct syntax for the trader command:
    /trader <buy|sell> <item>:<amount>:<data-type> <cost>
    COST = iconomy OR: <item>:<amount>:<data-type>

    now, this next part might make you think i'm mad, but im not, i just want everyone to see it
    TRADER HELP IS: /trader help AND /trader help 2
     
  6. Offline

    RTRD

    @Citizens When /npc create name i get:
    Code:
    2011-05-14 23:27:17 [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:255)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    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(ServerEconomyInterface.java:90)
    at com.fullwall.Citizens.Economy.EconomyHandler.canBuy(EconomyHandler.java:117)
    at com.fullwall.Citizens.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.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.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
     
  7. what citizens version, what iconomy version (if any) what essentials version (if you run that) its a bit hard to replicate the bug for testing if you dont give more information.
     
  8. Offline

    Aspernatio

    So are guards not coming... : (

    Anyway, thanks for the awesome plugin and the hard work you put into it.
     
  9. please read the wiki, guards are coming, they only just released healers,blacksmiths,traders and wizards, and that was a lot of work, be patient
     
  10. Offline

    aPunch

    How in the world did you come to that conclusion?
     
  11. Offline

    Stales89

    "economy not enabled on this server for citizens"

    I currently cannot use iConomy due to it clashing with other plugins. How can I get wizards etc WITHOUT iconomy? Is this possible?
     
  12. Offline

    aPunch

    Set use-economy to true in Citizens.economy. You could also use Essentials Eco or BOSEconomy.
     
  13. Offline

    Bronski

    I had horrific lag with 1.07ish. I turned it off for now and haven't upgraded to 1.08ish yet. I was hoping it was fixed in this version. Hopefully the devs have some idea of what is causing it.
     
  14. Offline

    Stales89

    Which would you say is best to use as I have been an avid iConomy user from the start?

    (Thanks for the speedy reply anyway!)
     
  15. I don't know if it could be other plugins affecting it, but i've been testing with 60+ NPC's with almost no impact on bandwidth, no lag for anyone on my server during that testing
     
  16. Offline

    aPunch

    I wouldn't recommend using either of them. Use the built-in Citizens item economy for now.
     
    Graloth likes this.
  17. Offline

    Stales89

    Just tried:
    "use-econplugin=true"
    and getting the same error...

    What am I doing wrong?

    (all economy plugins are uninstalled)
     
  18. Offline

    Stales89

    Urgh I feel stupid.

    Just found "use-economy=true" further down...
     
  19. Offline

    RTRD

    I use Essentials 2.2.8, and Citizens 1.0.8c
     
  20. Offline

    hiro24

    aPunch, what's the deal with NPCs only talking once?
     
  21. Offline

    Stales89

    I also noticed this...
     
  22. Offline

    aPunch

    We are working on this bug.

    Use Essentials 2.2.17 or above. That is the version that is highly recommended for use with Citizens.
     
  23. Offline

    RTRD

    Ok, ill update now! :)
     
  24. Offline

    RTRD

    Updated to 2.2.193. Still not working. Error:
    Code:
    2011-05-15 00:43:12 [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:255)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoSuchMethodError: com.earth2me.essentials.api.Economy.accountExist(Ljava/lang/String;)Z
    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(ServerEconomyInterface.java:90)
    at com.fullwall.Citizens.Economy.EconomyHandler.canBuy(EconomyHandler.java:117)
    at com.fullwall.Citizens.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.java:51)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  25. For me I have a feeling like adding buy/sell items to a Trader inflates him terribly in memory.
    I've started getting internal errors after adding 11 items to buy list and trying to add more.
     
  26. Offline

    PoorPinkus

    I know how to use the help commands, but I typed /trader sell 354:1 266:5 and it advised me to see citizens help
    Then i tried /trader sell 354 1 266 5
    In the end, i just installed iConomy and used currency instead (and it worked perfectly), but its going to take a while to put in the values for every item in the game so that people can get money in the first place.
     
  27. Offline

    Taylor179

    no mysql support? if there is can you point me in the right direction? because it is lagging out my server hardcore and i need it in mysql :D!
    Thanks in Advance
     
  28. Offline

    Missnostalgia

    I'd like to know this as well.
     
  29. Offline

    aPunch

    We are not supporting MySQL. We may in the future, but at the moment it is very low priority.

    Attention all Essentials Eco users:

    I need testers to come test the newest version that may fix the Essentials issues. You must have Essentials Eco release version 2.2.17 or higher, and must be competent. I don't want people asking me how to install plugins when I just need testers. :p Join me in the IRC channel if you're interested.
     
  30. again, you click the npc with the item specified in the settings file, by default its a feather.
    left click = select destination
    right click = teleport there
    remember, it does not work unless you have defined at least 1 destination
     
  31. Offline

    quickclay

    I get the same issue happening.. this was with less than 10 npcs spread out quite a bit (none in same chunk).
     

Share This Page