[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

    Bogden

    Suggestion: Easier NPC speech editing.

    I love Citizens, and I love giving them dialogue to help enrich the story behind the world that the players are in. The fact that you can add text to them is great, and I love you guys for that, but the editing system is very simplistic at the moment. Currently, the only chat commands are "/npc set" and "/npc add". The biggest problem with this is that if you make a mistake on say, the 4th text entry, there is no way to undo or edit that entry without going into the config file. The only way to change it in-game is to completely reset the NPC's text. Could you please consider adding an undo/edit option? Thanks!
     
  3. Offline

    Teldelariel

    were is the complete command structure to make npc's wiazrads, balcksmiths etc. Thanks

    I couldnt find the commands on your wiki page, it only had very basic fisrt NPC start up sequence.

    Found one http://citizens.wikia.com/wiki/Commands
     
  4. Offline

    Hryniu

    Maybe they'll do a better system, which when you come closer to the npc and click on him, he'll start to tell you the story. Couse you know, he says only one text each time you walk beside him.
     
  5. Offline

    manniL

    I've reloaded Citizens:

    Code:
    13:19:46 [INFO] [Citizens] Reloading configuration settings....
    >
    13:19:46 [SEVERE] java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
    >
    13:19:46 [SEVERE]       at com.citizens.SettingsManager$Constant.toBoolean(SettingsManager.java:150)
    >
    13:19:46 [SEVERE]       at com.citizens.utils.Messaging.debug(Messaging.java:62)
    >
    13:19:46 [SEVERE]       at com.citizens.SettingsManager.setupVariables(SettingsManager.java:187)
    >
    13:19:46 [SEVERE]       at com.citizens.commands.commands.BasicCommands.reload(BasicCommands.java:100)
    >
    13:19:46 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    >
    13:19:46 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    >
    13:19:46 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >
    13:19:46 [SEVERE]       at java.lang.reflect.Method.invoke(Method.java:597)
    >
    13:19:46 [SEVERE]       at com.citizens.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:518)
    >
    13:19:46 [SEVERE]       at com.citizens.resources.sk89q.CommandsManager.execute(CommandsManager.java:404)
    >
    13:19:46 [SEVERE]       at com.citizens.Citizens.onCommand(Citizens.java:196)
    >
    13:19:46 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    >
    13:19:46 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    >
    13:19:46 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    >
    13:19:46 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  6. Offline

    aPunch

    Remove single quotes from configuration files. Also, read the OP before reporting bugs.
     
    manniL likes this.
  7. Offline

    aPunch

    I'll probably work on implementing a more intuitive text system for v1.1.
     
  8. Offline

    Teddeh

    Is there any way of getting around the Citizens disappearing?
     
  9. Offline

    aPunch

    We think it may have to do with multiworlds, but we cannot be too certain at this point. Try temporarily restricting multiworld teleporting. If you notice anything different in the NPCs disappearing behavior, please let us know.
     
  10. Offline

    kervalin

    looking for the syntax to have npc take gold ingots for currency
     
  11. Offline

    fugos


    Anyone?
     
  12. Offline

    Teddeh

    Well, all I know is that every Restart the NPC's disappear, people say its players not being around them or something? Like some sort of radius?
     
  13. Offline

    dhamon99

    First off let me say I love your addon! However I am fairly new at using craftbukkit and plugins, and was wondering if there is a way to adjust how much the blacksmith npc charges to repair tools (such as a diamond pickaxe).
     
  14. Offline

    yottabyte

    We are having a lot of problems with the NPCs despawning. It seems random, me and another guy were standing next to a NPC and the next second all NPCs around us were gone. Only way to get them back seems to be reloading the server?

    Maybe for now just a quick fix for respawning the NPCs without reloading the entire server?
     
  15. Offline

    Duginox

    Well, as you know, serveral npcs are despawning randomly and sometimes reseted to default.
    I were also having major lagg after adding the newest version. Another memory leak?
     
  16. Offline

    Hryniu

    Could you do something like area only for permitted people, and if someone tries to cross the line, the guards starts to atack him, but first they give him a word warning. You could think of it, while making guards.
     
  17. Offline

    joevengence

    /trader buy 49:1 266:1

    in the above example the trader will buy 1 obsidian and give you a gold ingot for it.
     
  18. Offline

    heroanth2345

    where's the wiki online? (command list with description)
     
  19. Offline

    MiniKahn

    Same here...
    Very baad..
     
  20. Offline

    heroanth2345

    Same for me, 2011-08-06 19:48:21 [INFO] [Citizens] Loaded 0 quests.
    2011-08-06 19:48:21 [INFO] [Citizens] Permissions enabled.
    2011-08-06 19:48:21 [INFO] [Citizens] version [1.0.9d] (Odyssey) loaded
    2011-08-06 19:48:21 [SEVERE] Could not pass event PLUGIN_ENABLE to Citizens
    java.lang.ExceptionInInitializerError
    at com.citizens.listeners.ServerListen.onPluginEnable(ServerListen.java:37)
    at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:548)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
    at com.citizens.SettingsManager$Constant.toBoolean(SettingsManager.java:150)
    at com.citizens.economy.EconomyHandler.<clinit>(EconomyHandler.java:14)
    ... 13 more

    It was ok before I changed the config to use essentialsEco
     
  21. Offline

    Fuka

    can someone please explain or show to me either a config file or whatever that shows how wizards are supposed to work. I've succeeded in getting them to remember their destinations but they are NOT able to cycle through them. they just port to their first location. (iconomy and permissions (most recent versions))
     
  22. Offline

    JBXX155

    Hey. Im having some problems with citiznes. I download it correct and everything, but when i try to spawn one, it says 'Please report this error [see console] Java.Lang.NullPointerException: null" and i can not spawn a citizen. Please help because i think this is a great plugin, and really want it.
     
  23. Offline

    number1ahole

    I'm still having mem issue when runnning 1.0.9d. we have all other plugins running fine and 100%, as soon as citizens runs, causes crash and reverting back any citizen changes. i tried running with this reverted file only (no changes other than the existing traders and blacksmith), but then causing crash still after 10-20 mins and mem is maxing out about 1G more. If anyone else seeing this let me know. I am only using like 8 traders and 1 blacksmith.
     
  24. Offline

    Teldelariel

    My 2nd prob is unique I believe, when I enable the perms for players to use citize.healer.use.heal type perms from your wiki it cancells out other plugins, I know this as when I add these

    - citizens.healer.use.help
    - citizens.healer.use.status
    - citizens.healer.use.heal
    - citizens.trader.use.help
    - citizens.trader.use.trade
    - citizens.wizard.use.help
    - citizens.wizard.use.status
    - citizens.wizard.use.locations
    - citizens.wizard.use.interact
    - citizens.blacksmith.use.help
    - citizens.blacksmith.use.status
    - citizens.blacksmith.use.repair
    It overrides my towny plugins use for disabling cheats (ie flymod for my admins and mods) and takes away teh group managers prefix and chat options it also disables the falsebook perms I had set up too, low and behold when I delete reload all is fine again, I also use the citizen.use.* perm instead now I can dog throug the log to give you a copy of any error messages there are, iff so just send me a pm

    Thanks
    ~Tel~
    SubTerran.com
     
  25. by removing the single quotes from the config files do you have to remove them from the "npc profiles" file too cause i have over 100 npc's
     
  26. Offline

    aPunch

    No, you do not need to remove single quotes from npcprofiles.yml,
     
  27. okay epic so just making sure i remove ANY single quotes i see from
    citizens
    economy
    and
    mobs?
     
  28. Offline

    aPunch

    Correct.
     
  29. Offline

    GREENGUY11

    could for choosing a skin but having a different name then the skin owner, you just some how give the npc a nickname like some plugins do for players and display the nickname above their head?I also thought i seen a plugin that allowed certain players like admins or maybe ops to change players names and the color.
    I also seen a different plugin like this one with npcs and would it be possible to include triggerwords that the npcs respond to with their set text?
     
  30. Offline

    Oldfox

    1. What's wrong?

    Code:
    21:36:49 [SEVERE] Could not pass event PLAYER_LOGIN to Citizens
    unacceptable character #0 special characters are not allowed
    in "<reader>", position 0
            at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    va:68)
            at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
            at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
            at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:106)
            at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.ja
    va:964)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:237)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produ
    ce(ParserImpl.java:200)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:104)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at com.citizens.properties.ConfigurationHandler.load(ConfigurationHandle
    r.java:55)
            at com.citizens.properties.ConfigurationHandler.<init>(ConfigurationHand
    ler.java:33)
            at com.citizens.npctypes.questers.PlayerProfile.<init>(PlayerProfile.jav
    a:28)
            at com.citizens.npctypes.questers.quests.QuestManager.load(QuestManager.
    java:73)
            at com.citizens.listeners.PlayerListen.onPlayerLogin(PlayerListen.java:6
    4)
            at org.bukkit.plugin.java.JavaPluginLoader$12.execute(JavaPluginLoader.j
    ava:321)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.java:184)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2. How do you add a player to guard black list?
    3. When i'm using AuthMe, i can't hit guards...
     
  31. Offline

    snowboundmage

    anyone having trouble with BOSEconomy? I have changed the config, but everything is free. The plugin worked fine with the use-econplugin: false and use-economy: true, but swapping them around(use-economy: false, use-econplugin: true) makes everything free! It also detects econplugin as bose on the server startup, but it detects it as BOSE 0.6.2, when i am using 0.7.0. I am not using decimals in my config.
    It says:
    Blacksmith1 has repaired your item for none.
    Here's the top bit of my config(when i paste it here there are no spaces, but there are in my config)
     

Share This Page