[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

    noahwhygodwhy

    sigh, don't mean to spam but i got another error when i tried to set a trader to sell something

    Code:
    148 recipes
    16 achievements
    15:09:28 [INFO] Starting minecraft server version Beta 1.6.6
    15:09:28 [INFO] Loading properties
    15:09:28 [INFO] Starting Minecraft server on *:25566
    15:09:28 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    15:09:28 [INFO] Preparing level "world"
    15:09:28 [INFO] Preparing start region for level 0
    15:09:29 [INFO] Preparing start region for level 1
    15:09:29 [INFO] Preparing spawn area: 60%
    15:09:29 [INFO] [BananaChunk] version 4.5 is enabled!
    15:09:30 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10
    minutes!
    15:09:30 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    15:09:30 [INFO] Fake Permissions version 2.7.2 is enabled!
    15:09:30 [INFO] [EasyFlight] version [0.3] is Enabled.
    15:09:30 [INFO] [EmptyInventoryPlus] Plugin enabled! (version0.2)
    15:09:30 [INFO] Loaded Essentials build 2.3.1 by Zenexer, ementalo, Aelux, Brett
    flan, KimKandor, snowleo, ceulemans and Xeology
    15:09:30 [INFO] Loaded EssentialsChat build 2.3.1 by Zenexer, ementalo, Aelux, B
    rettflan, KimKandor, snowleo, ceulemans and Xeology
    15:09:30 [INFO] Loaded EssentialsGeoIP build 2.3.1 by Zenexer, ementalo, Aelux,
    Brettflan, KimKandor, snowleo, ceulemans and Xeology
    15:09:30 [INFO] This product includes GeoLite data created by MaxMind, available
     from http://www.maxmind.com/.
    15:09:30 [INFO] Loaded EssentialsProtect build 2.3.1 by Zenexer, ementalo, Aelux
    , Brettflan, KimKandor, snowleo, ceulemans and Xeology
    15:09:30 [INFO] Loaded EssentialsSpawn build 2.3.1 by Zenexer, ementalo, Aelux,
    Brettflan, KimKandor, snowleo, ceulemans and Xeology
    15:09:30 [INFO] mxRingplatform v 1.0 enabled
    15:09:30 [INFO] SearchIds version 2.3 is enabled!.
    15:09:30 [INFO] SearchIds: Updating data from https://github.com/mrapple/SearchI
    ds/raw/master/search-ids-data.xml...
    15:09:31 [INFO] SearchIds: Update complete!
    15:09:31 [INFO] Superpickaxe v0.1 by DiddiZ enabled
    15:09:31 [INFO] WorldEdit 4.4 enabled.
    15:09:31 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    15:09:31 [INFO] [xWarp]: 0 warps loaded
    15:09:31 [INFO] [xWarp]: Linked with permissions system: Permissions v2.7.2
    15:09:31 [INFO] [xWarp]: Linked with economy system: Essentials v2.3.1
    15:09:31 [INFO] [xWarp]: xWarp 2.11.1 enabled
    15:09:31 [INFO] [Citizens]: version [1.0.8f] (Realist) loaded
    15:09:31 [INFO] [Citizens]: Permissions enabled.
    15:09:31 [INFO] [Citizens]: Payment method found (EssentialsEco version: 2.2)
    15:09:31 [INFO] Done (0.318s)! For help, type "help" or "?"
    15:09:31 [INFO] [Citizens]: Loaded 6 NPCs.
    15:10:09 [INFO] noahwhygodwhy [/74.192.5.81:50206] logged in with entity id 46 a
    t (140.6875, 81.0, 77.5625)
    15:10:45 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /eco
    >eco give noahwhygodwhy 20000
    15:11:13 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /eco
    15:11:26 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /help 1
    15:11:29 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /help 2
    15:11:31 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /help 26
    15:12:00 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /i cookedporkchop
    15:12:10 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /i 320 128
    15:12:23 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /i 350 128
    15:12:41 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /i ironingots 128
    15:12:47 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /i ironingot 128
    15:12:58 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /i goldingot 256
    15:13:13 [INFO] º9[PLAYER_COMMAND] noahwhygodwhy: /i bread 256
    15:15:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'trad
    er' in plugin Citizens v1.0.8
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    81)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            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)
    Caused by: java.lang.NumberFormatException: For input string: "money"
            at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
            at java.lang.Double.parseDouble(Unknown Source)
            at com.fullwall.Citizens.Commands.CommandExecutors.TraderExecutor.change
    TraderStock(TraderExecutor.java:289)
            at com.fullwall.Citizens.Commands.CommandExecutors.TraderExecutor.onComm
    and(TraderExecutor.java:101)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    15:16:04 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'trad
    er' in plugin Citizens v1.0.8
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    81)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            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)
    Caused by: java.lang.NumberFormatException: For input string: "goldingot"
            at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
            at java.lang.Double.parseDouble(Unknown Source)
            at com.fullwall.Citizens.Commands.CommandExecutors.TraderExecutor.change
    TraderStock(TraderExecutor.java:289)
            at com.fullwall.Citizens.Commands.CommandExecutors.TraderExecutor.onComm
    and(TraderExecutor.java:101)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    >
    any help?
     
  3. Offline

    alfw

    can any give full permissions list?
     
  4. Offline

    Pivinton

    Err, the traders on my server dissappear whenever I have to reboot, why is this? My players are losing a lot of goods please help fast.
     
  5. Offline

    Darkvoltage3

    the plugins not finished yet the owner has to update it badly...
     
  6. Offline

    Meisgoot312

    He's doing his best, I know I wouldn't like to pestered about a voluntary project throughout the day. Give it some time.
     
  7. Offline

    Riolu

    Code:
    05:22:50 [SEVERE] Could not pass event ENTITY_DAMAGE to AuthMe
    java.lang.NullPointerException
            at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.getLastAlert(PlayerCac
    he.java:68)
            at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.isAlertNeeded(PlayerCa
    che.java:76)
            at com.bukkit.fabe.AuthMe.AuthMe.checkAuth(AuthMe.java:611)
            at com.bukkit.fabe.AuthMe.Listener.AuthMeEntityListener.onEntityDamage(A
    uthMeEntityListener.java:30)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.j
    ava:570)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:527)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:867)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            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)
    How can I fix that?
     
  8. Offline

    rslink

    @Riolu

    [SEVERE] Could not pass event ENTITY_DAMAGE to AuthMe

    Wrong plugin.
     
  9. Offline

    ShortSighted

    When I turn the server off, it reverts everything I've done with the citizens (adding text + adding armour/weapons). Anyway I can fix this?

    I know this is a repost... I just need help fixing this...?
     
  10. Offline

    sfxworks

    I was thinking....about skins for npcs...an alternative method.

    Could it be possible intercept the skin retrieval method? Say, instead of going to minecraft.net to get the skin for the player's id, have it instead go to localhost and access a fake director or a database? Or is the process of getting the skin a client side class file?
     
  11. Offline

    rslink

    @sfxworks

    Yes, I made a mod like this my self. however I need to code it more so that if it can't find a skin my my server it looks to the official one. You can also give your self and npcs capes with it. however it needs to be recompiled when you want to change the address, although I'm sure that can be called to a .txt file.
     
  12. Offline

    sfxworks

    Another thing that would be pretty cool. A type of citizen that just roams or lives somewhere. They can be hired vs just being spawned. Has a payroll or can "eat" food stored in his chest by the owner of that worker over time.
     
  13. Offline

    sfxworks

    Is it a client-side mod or integrated with the server? Im really interested in this.
     
  14. Offline

    rslink

    @sfxworks

    It can only be done client side.
    It is a simple mod, but id like it to be improved and need some one else to code that.
     
  15. Offline

    sfxworks

    Hey. Also. Having trouble with how to interpret this arugment.

    To change an npc's armor...you do /npc [slot] [id]
    Getting the slot numbers from here...
    /npc 103 IronHelmet
    doesnt work...nor does the id for ironhelmet
    Am I doing it wrong or is it a glitch?
     
  16. Offline

    sfxworks

    I can't help if its in Java. Im not entirely familiar with it yet. I usually just code websites or fancy-dancy AIR applications. I would be happy to give something in return for that mod of yours when you finish it. Looking for a way to make "clothing shops" in one of my city's mall. Then they would actually buy the skin or apply the skin using the website im making.
     
  17. Offline

    fghjconner

    Just a random thought, why are all npc's human? Sure the name would be lost, but in most cases that wouldn't be a problem. People could make farms that actually had animals on them ALL the time. Perhaps cow npc's could fill buckets with milk via the furnace interface or something. Just a thought!
     
  18. Offline

    Riolu

    What mean wrong? :eek: I use that plugin long time. Nothing wrong with it.
    That's why I ask, how to fix it.
     
  19. Offline

    sfxworks

    Walking cows that milk themselves with steaming hot furnaces? YES!!!!!!!
     
  20. Offline

    Liger_XT5

    I was thinking along the lines of a dispenser like interface. It would only give a bukkit of milk if you right clicked it with an empty bucket. Sounds a bit more reasonable.
     
  21. Offline

    Psycho Robot

    Its possible that a change in bukkit causes this error. You should post on authme's thread, and possibly mention that it first started when you installed citizens (I think?)
     
  22. Offline

    sfxworks

    Still looking for an example on how to set the npc's armor. I know its /npc [slot] [id] but where can I find the right slot number?
     
  23. Offline

    aPunch

    Slots are: helmet, torso, leggings, boots

    Example: /npc helmet 306
     
  24. Offline

    Sheldor_TC

    Are the trader's currently fuctional, because I did everything it said on the wiki and people cannot buy things, just alter the NPC's Inventory. Please Help.
     
  25. Offline

    Simzy

    Its been stated in A LOT of posts now that they are not functional, you need to wait for an update, if you actually looked you would have seen that it was said.
     
  26. Offline

    Scandragon

    I don't get any errors in console when using the commands to create new NPCs.. None that make it into the server log, that is..

    However, I have no NPCs, and I get this on server start:
    Code:
    2011-06-06 19:11:45 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/World;)V
        at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
        at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:68)
        at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:43)
        at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:297)
        at com.fullwall.Citizens.Citizens.access$0(Citizens.java:262)
        at com.fullwall.Citizens.Citizens$1.run(Citizens.java:106)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  27. Offline

    aPunch

    Who else agrees that plugin authors should have the ability to remove posts from their thread/ban people from posting in your thread?
     
    treyer75, Jan Tojnar, Simzy and 4 others like this.
  28. Offline

    Exidous

    i dont know why this question keeps getting ignored, I think i have asked this like three times in this thread with no answer. So i will keep attempting it until i get one.

    Will shift click be part of this plugin in the future so that players can sell stacks of items?
     
  29. Offline

    Scandragon

    I somewhat agree..
    I believe when a dev reports a post in his thread, mods should go there asap

    Too much ranting going on.. Giving others a false negative impression of the plugins
     
  30. Offline

    Musaddict

    I dont agree, I like monotonous repetitive, possibly troll posts. I think you just need some anger management ;)
     
    Melgrin likes this.
  31. Offline

    FolisDHC

    Great plugin, but one question. Is there a reason why there is no way to make admins exempt from having to pay for NPCs? Maybe there is a permission node I'm unaware of?
     

Share This Page