[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

    Crosstieger

    What ist the type in a Quest that you had to right-klick an npc?
     
  3. Offline

    salik12

    this always makes my server stop.help please?
     
  4. Offline

    Antroz59

    I also have a problem. It says that an internal error occured when attempting to execute the command of spawnning a PNJ or something like this. Thanks to answer as fast as possible :D
     
  5. Offline

    olrandoyen

    is't a very good game


    I hope I can play it:)
     
  6. Offline

    Medic0987

    I too copied the above quest and basically i deleted it now but I can show u where I started the new quest.
    Code:
    "Alvor's Quest":
        texts:
            description: "<g>Alvor: <y> I could use some iron ingot for my forge... mind getting me some?"  # Uses color codes to color text
            completion: "Thanks! <g>You have gained 100 exp and 150 Septims for completing the quest."
            acceptance: "Great! Please check the quest status to see the materials I need."
        repeats: -1  # May be repeated an unlimited amount of times.
        delay: 2880  # 1440 minutes is equal to 24 hours.  Cannot repeat until this amount of time.
        objectives:
            '0':
                '0':
                    type: collect    # First objective is a collection quest.
                    materialid: 265  # Iron_Ingot
                    amount: 10        # Must collect 10.
                    message: "That's enough iron!"
        rewards:
            '0':
                type: money      # Rewards the player money when objectives are complete.
                money: 150       
            '1':
                type: command    # Executes a command for reward
                command: xp <player> 100    # Gives the player 100 experience
                server: true    # Uses console permission to execute the command.
    "Embry's Quest":
    
     
  7. Offline

    Artheous

    looking for the appropriate way to have a quest objective to kill an npc. Citizens site is down and I can't seem to find this node anywhere else. any help
     
  8. Well that didn't help much since it seems to work. :p
     
  9. Here: http://citizens.wikia.com/wiki/Quester
     
  10. Offline

    charlie_boi

    with all of the work you guys have been doing on Citizens 2 I assume it's approaching quickly so I have a question that worries me a bit, when we update is it going to wipe all of our current NPC's?
     
  11. Yes it is, it says so on their wiki. The old npc's are not going to work with Citizens 2.
     
  12. Offline

    charlie_boi

    Wait, where does it say that? I see it saying that all current npc types won't work with the update but to me that doesn't necessarily say that they'll be wiped
     
  13. Offline

    funky man

    Any news if Citizen needs updating for R5?
     
  14. Ah sorry. I took not working and Wipe as the same thing :p
     
  15. Offline

    grichecth

    Any way to have the NPC's not kill players in god mode?
     
  16. Offline

    cragie

    Please help, much appreciated


    22:10:35 [SEVERE] java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib
    .PathNPC.getBukkitEntity()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
    22:10:35 [SEVERE] at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitE
    ntity(CraftNPC.java:70)
    22:10:35 [SEVERE] at net.citizensnpcs.resources.npclib.HumanNPC.getPlayer(
    HumanNPC.java:130)
    22:10:35 [SEVERE] at net.citizensnpcs.resources.npclib.HumanNPC.getWorld(H
    umanNPC.java:146)
    22:10:35 [SEVERE] at net.citizensnpcs.properties.properties.BasicPropertie
    s.loadState(BasicProperties.java:321)
    22:10:35 [SEVERE] at net.citizensnpcs.properties.PropertyManager.load(Prop
    ertyManager.java:46)
    22:10:35 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register
    (NPCManager.java:161)
    22:10:35 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register
    (NPCManager.java:177)
    22:10:35 [SEVERE] at net.citizensnpcs.commands.BasicCommands.create(BasicC
    ommands.java:226)
    22:10:35 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    22:10:35 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    22:10:35 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    22:10:35 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    22:10:35 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
    uteMethod(CommandsManager.java:530)
    22:10:35 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
    ute(CommandsManager.java:407)
    22:10:35 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:220
    )
    22:10:35 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:40)
    22:10:35 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:168)
    22:10:35 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:386)
    22:10:35 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
    etServerHandler.java:777)
    22:10:35 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:737)
    22:10:35 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:725)
    22:10:35 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.j
    ava:33)
    22:10:35 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    22:10:35 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:100)
    22:10:35 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkLis
    tenThread.java:78)
    22:10:35 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServe
    r.java:536)
    22:10:35 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:434)
    22:10:35 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:465)
    >

    Edit: i dont care for quests if that makes it any easier and The only reason i got this mod is so i could make npc of people like my self :)
     
  17. Offline

    Crosstieger

    Is there a Questobject that you have to "interact" with an NPC? Like right-klicking him. ^^
     
  18. Offline

    okami35

    Hello, i have a little question:
    Can a npc just execute a command ? (like /give)
    I don't want to create a quester or a wizzard because it's a command in my own plugin. Is it possible?

    Thank you for your help
     
  19. Offline

    Royalgamer06

    19:28:13 [WARNING] Task of 'Citizens' generated an exception
    19:28:13 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    19:28:14at net.citizensnpcs.Settings.getString(Settings.java:55)
    19:28:14at net.citizensnpcs.utils.MessageUtils.getText(MessageUtils.java:70)
    19:28:14at net.citizensnpcs.utils.MessageUtils.sendText(MessageUtils.java:43)
    19:28:14at net.citizensnpcs.TickTask.cacheActions(TickTask.java:106)
    19:28:14at net.citizensnpcs.TickTask.run(TickTask.java:41)
    19:28:14at com.bergerkiller.bukkit.nolagg.logging.TimedWrapper.run(TimedWrapper.java:17)
    19:28:15at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    19:28:15at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    19:28:15at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    19:28:16at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    19:28:16 [WARNING] Task of 'Citizens' generated an exception
    19:28:16 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    19:28:16at net.citizensnpcs.Settings.getString(Settings.java:55)
    19:28:16at net.citizensnpcs.utils.MessageUtils.getText(MessageUtils.java:70)
    19:28:16at net.citizensnpcs.utils.MessageUtils.sendText(MessageUtils.java:43)
    19:28:16at net.citizensnpcs.TickTask.cacheActions(TickTask.java:106)
    19:28:16at net.citizensnpcs.TickTask.run(TickTask.java:41)
    19:28:17at com.bergerkiller.bukkit.nolagg.logging.TimedWrapper.run(TimedWrapper.java:17)
    19:28:17at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    19:28:17at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    19:28:17at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    19:28:17at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Srry I don't have a github account
     
  20. There is possible. Only made a quest that demanded that you gave another npc something thought, but should work with other things as well...
     
  21. Offline

    Royalgamer06

    Code:
    12:05:14 [INFO] [AuthMe] �eleggy19 logged in!
    12:05:15 [WARNING] Task of 'Citizens' generated an exception
    12:05:15 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    12:05:15    at net.citizensnpcs.Settings.getString(Settings.java:55)
    12:05:15    at net.citizensnpcs.utils.MessageUtils.getText(MessageUtils.java:70)
    12:05:15    at net.citizensnpcs.utils.MessageUtils.sendText(MessageUtils.java:43)
    12:05:15    at net.citizensnpcs.TickTask.cacheActions(TickTask.java:106)
    12:05:15    at net.citizensnpcs.TickTask.run(TickTask.java:41)
    12:05:15    at com.bergerkiller.bukkit.nolagg.logging.TimedWrapper.run(TimedWrapper.java:17)
    12:05:15    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    12:05:15    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    12:05:15    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    12:05:15    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    12:05:15 [WARNING] Task of 'Citizens' generated an exception
    12:05:15 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    12:05:15    at net.citizensnpcs.Settings.getString(Settings.java:55)
    12:05:15    at net.citizensnpcs.utils.MessageUtils.getText(MessageUtils.java:70)
    12:05:15    at net.citizensnpcs.utils.MessageUtils.sendText(MessageUtils.java:43)
    12:05:15    at net.citizensnpcs.TickTask.cacheActions(TickTask.java:106)
    12:05:15    at net.citizensnpcs.TickTask.run(TickTask.java:41)
    12:05:15    at com.bergerkiller.bukkit.nolagg.logging.TimedWrapper.run(TimedWrapper.java:17)
    12:05:15    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    12:05:15    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    12:05:15    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    12:05:15    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    12:05:15 [WARNING] Task of 'Citizens' generated an exception
    12:05:15 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    12:05:15    at net.citizensnpcs.Settings.getString(Settings.java:55)
    12:05:15    at net.citizensnpcs.utils.MessageUtils.getText(MessageUtils.java:70)
    12:05:15    at net.citizensnpcs.utils.MessageUtils.sendText(MessageUtils.java:43)
    12:05:15    at net.citizensnpcs.TickTask.cacheActions(TickTask.java:106)
    12:05:15    at net.citizensnpcs.TickTask.run(TickTask.java:41)
    12:05:15    at com.bergerkiller.bukkit.nolagg.logging.TimedWrapper.run(TimedWrapper.java:17)
    12:05:15    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    12:05:15    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    12:05:15    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    12:05:15    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
    Help! Latest RB of bukkit and the plugin!
     
  22. Offline

    Xifer8121

    im getting really pissed at this plugin.. when i install it it doesn't come with the profiles folder or quests.yml. and whever i install it none of the commands work!!! all it says is "Command not recoginized try /npc help"
     
  23. Offline

    Chaosnoxus

    I get this error
    Code:
    07:50 PM [SEVERE] java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getBukkitEntity()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
    07:50 PM [SEVERE] at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:70)
    07:50 PM [SEVERE] at net.citizensnpcs.resources.npclib.HumanNPC.getPlayer(HumanNPC.java:130)
    07:50 PM [SEVERE] at net.citizensnpcs.resources.npclib.HumanNPC.getWorld(HumanNPC.java:146)
    07:50 PM [SEVERE] at net.citizensnpcs.properties.properties.BasicProperties.loadState(BasicProperties.java:321)
    07:50 PM [SEVERE] at net.citizensnpcs.properties.PropertyManager.load(PropertyManager.java:46)
    07:50 PM [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:161)
    07:50 PM [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:177)
    07:50 PM [SEVERE] at net.citizensnpcs.commands.BasicCommands.create(BasicCommands.java:226)
    07:50 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07:50 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    07:50 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    07:50 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    07:50 PM [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:530)
    07:50 PM [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.java:407)
    07:50 PM [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:220)
    07:50 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    07:50 PM [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    07:50 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
    07:50 PM [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
    07:50 PM [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
    07:50 PM [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    07:50 PM [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    07:50 PM [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    07:50 PM [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    07:50 PM [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    07:50 PM [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    07:50 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    07:50 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 
     
  24. Offline

    CMinecrafter1

    Is this a corrupt file or is it the Citizens? I am running Craftbukkit R4 and the latest version of Citizens and I have re-installed three times and gone through to find corrupt files or errors. My npcs after a while disappear but we can see their text, but before they disappear their names go black and it makes double of them and when you approach them it bounces you away. I really need this to be fixed, it's making my users angry.
     
  25. Don't think it's the plugins fault. Went to the bukkit-page, checked latest and it's a zip-file containing the plugins .jar-file, the folder with the different npc's and the configs.

    If you can't get it to work, where do you download it from? I got it from here: http://dev.bukkit.org/server-mods/citizens/files/12-1-1-6/

    If you unpack that file and still don't get the folders then you're doing something wrong.
     
  26. Offline

    PlanetCraft

    Please may you allow this plugin too hook with GunPack ? Can you imagine how much it would boost popularity of servers ? I mean being able to trade weapons with NPC's that would blow my mind!
    Please I am begging !!! Also AMAZING work man !!!
     
  27. Offline

    Beowulf2020

    I don't know if it's Citizens, iConomy or what. But my traders which previously worked swimmingly now still work.. but no longer charge for their services !! So you can fill up on free diamonds and free potion mats and repair items for free.. .. needless to say the economy on my server was beginning to spiral out of control ! XD

    I'm sure it's something silly.. But I know a couple of other servers who have a similar set up to mine (which I shamelessly ripped off!!) have been having similar problems.

    I currently have all citizens disabled until I figure this bug out.

    **edit** I should say I have the latest versions of Citizens, iConomy and also the latest version of Vault (which was required for another plugin)
     
  28. Offline

    RaknarokMiner

    Just asking. This plugin wont die after 1.2, will it? I mean, r u gonna update it?
     
  29. Offline

    GhostHunter

  30. Offline

    gabriel11798

    Don't want to act like a moderator or anything, but why is there a 1.1-R4 tag? On bukkitdev, it only has downloads for 1.1-R3
     
  31. Offline

    luigi_vampa

    I can't get the killNPC quest to work. I'm f****** on week 3 with this!!! The rest of the quest file is fine except when this

    '0':
    type: move distance
    amount: 400
    message: <g>Quest Completed.<br>Go back to see the quester in the Parthenon.

    gets substituted for this

    '0':
    type: killNPC
    amount: 1
    string: 'bob,'

    the quest.yml seems to hang on the last good configuration. I've tried every alternative I can think of commas, no commas, brackets, no brackets, npc id's, npc names, etc and it's just not happening. Parsed the yml in dozens of places too.
    I'm using CB 1.1 R4 and Citizens 1.1.6 (even though it says it's 1.1.5).

    Any ideas would be greatly appreciated.
    Thanks

    Edit: I meant quotes not brackets. Might throw some curly ones in. See what happens! :S
     

Share This Page