[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

    MGNick

  3. Offline

    Blandothegreat

    Umm...Im still haveing the npcs disapearing problem
     
  4. Offline

    malymuwme

    Please help, i create NPC whit my skin and now in chat writes eror see console.I see console and in console is:

    java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getBukkitEntity()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
    at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:70)
    at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:15)
    at org.bukkit.craftbukkit.CraftWorld.getEntities(CraftWorld.java:503)
    at com.griefcraft.modules.flag.MagnetModule$MagnetTask.run(MagnetModule.java:94)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-02-09 13:08:06 [SEVERE] java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getBukkitEntity()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
    2012-02-09 13:08:06 [SEVERE] at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:70)
    2012-02-09 13:08:06 [SEVERE] at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:15)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:213)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.EntityHuman.attack(EntityHuman.java:797)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:942)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    2012-02-09 13:08:06 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    2012-02-09 13:08:06 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-02-09 13:08:06 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getBukkitEntity()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
    at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:70)
    at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:15)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:213)
    at net.minecraft.server.EntityHuman.attack(EntityHuman.java:797)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:942)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    And server is down. I don´t know why??
    (Sorry for my grammar i´m from Czech Republic)
     
  5. Offline

    malymuwme

    And when i stop and start server i see next eror :rolleyes::

    2012-02-09 13:17:39 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getBukkitEntity()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
    at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:70)
    at net.citizensnpcs.resources.npclib.HumanNPC.getPlayer(HumanNPC.java:130)
    at net.citizensnpcs.resources.npclib.HumanNPC.getWorld(HumanNPC.java:146)
    at net.citizensnpcs.properties.properties.BasicProperties.loadState(BasicProperties.java:321)
    at net.citizensnpcs.properties.PropertyManager.load(PropertyManager.java:46)
    at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:161)
    at net.citizensnpcs.Citizens.setupNPCs(Citizens.java:264)
    at net.citizensnpcs.Citizens.access$000(Citizens.java:62)
    at net.citizensnpcs.Citizens$2.run(Citizens.java:127)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-02-09 13:17:43 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-02-09 13:17:45 [INFO] [VanishNoPacket] Found a different version available: 3.0
    2012-02-09 13:17:45 [INFO] [VanishNoPacket] Check http://dev.bukkit.org/server-mods/vanish/
    2012-02-09 13:17:45 [WARNING] Task of 'LWC' generated an exception
    java.lang.NoSuchMethodError: net.citizensnpcs.resources.npclib.PathNPC.getBukkitEntity()Lorg/bukkit/craftbukkit/entity/CraftPlayer;
    at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:70)
    at net.citizensnpcs.resources.npclib.CraftNPC.getBukkitEntity(CraftNPC.java:15)
    at org.bukkit.craftbukkit.CraftWorld.getEntities(CraftWorld.java:503)
    at com.griefcraft.modules.flag.MagnetModule$MagnetTask.run(MagnetModule.java:94)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-02-09 13:17:45 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
     
  6. Offline

    Artheous

    okay having really odd issue. Citiziens was working fine, but after i fussed with permissions a bit now whenever i make a npc and restart server they disappear, almost like its not saving them. help pls?
     
  7. Offline

    Artheous

    i even tried to reinstall bukkit, remove all other plugins and even do it all again on a different computer and no luck
     
  8. Offline

    KakusCraft

    cool plugin, can you make the documentation better it's really unhelpful
     
  9. Offline

    Crafter123

    Great work!

    But if i tell my npc to follow a path,
    ALL waypints must have a maximum distance of 16 Blocks.
    Can I change it so a NEW waypiont must have maximum 16 block distance to the LAST waypiont and not to all?
    (And the last to the first)
    How can the npc walk around in the whole world instead of an area of 16 Blocks if I set the first and the last waypoint together?
    I mind changing "pathfinding: 16.0" to something like "pathfinding: 256"


    Sorry for my bad english
     
  10. Offline

    malymuwme

    Sorry my fail i don´t UPDATE BUKKIT :oops:
     
  11. Offline

    EFuzz

    Ok this may be a stupid question but it keeps saying I don't have enough money/ I need $100 money to create a NPC
    What do i need to do to fix this or how do I get money
     
  12. Offline

    Crafter123

    Have you an Economyplugin installed?
    Try IConomy
     
  13. Offline

    aufdemrand

    Or, modify the citizens.yml to disabled the economy usage.
     
  14. Sorry for my english. How make for trader sell the subitem (ex:healinf potion) nad how make for put subitem like reward in quest.yml. I try for trader ( '373:8197:1' 30)('373:8197':1 30) and more and for quest reward and try (373:8197)('373:8197')(373.8197)(373,8197) and more nothing work.

    Thx for your anwser
     
  15. Offline

    s0me0ne

    Isnt it possible to make that work without using any permissions plug in. Just by modyfying plugin.yml inside the citizens.rar ????

    I tried some things though, with no luck. It says that plugin.yml is not in valid after i modify it. What rules should i follow to code it ?
    Thanks in advance.
     
  16. Offline

    Crafter123

    Can i tell a NPC to walk through the whole world without changing "pathfinding:" to something like 256?
    If the NPC has arrived at one waypiont, it should look aruound for the next.
    If pathfinding is 16,
    the NPC should walk a distance of for example 60 blocks straight with three waypoints.
    Is thas possible?
     
  17. Offline

    DaNksta

    Yes, its in the wiki I don't know how so many people miss it.
    use data:number



    Easy!
     
  18. Offline

    DaNksta

    The wiki could be better, but I was able to figure out almost everything by reading it carefully.
    Now that I know where on it to look, it's pretty easy to find what I'm looking for.
    I'm thinking of putting together my own wiki for Citizens because I have figured everything out by now, and I feel like I could write a much more noob-friendly guide for the plugin.
     
  19. Offline

    aPunch

    For anyone having issues with disappearing NPCs, respond to this post or tag me and tell me whether or not you are using Ptweaks/PerformanceTweaks. If not, give me a list of plugins.
     
  20. Offline

    darkcloud784

    My citizens dont disappear or anything BUT I do get this:

    2012-02-11 02:46:47 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
    2012-02-11 02:46:47 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
    2012-02-11 02:46:47 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
    2012-02-11 02:46:47 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
    2012-02-11 02:46:47 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException


    I use NoLag, let me know if you need a full list of plugins (that would take a while)
     
  21. Offline

    Grifhell

    Give me please example config.yml with the quest "player combat". I cant set it up correctly, the quest is not working. If you can, tell me how to set up "player combat" to kill any player from the selected group.
     
  22. Offline

    a4566544

    yes g
     
  23. Offline

    a4566544

    good give me
     
  24. Offline

    Grifhell

    a4566544, cool nickname)))
     
  25. Offline

    a4566544

    gd
     
  26. Offline

    Grifhell

  27. For your trader sell or buy a subitem(ex healing potion) right ' /TRADER SELL 373:1:8197 30 ID:AMOUNT:SUBID PRICE
    Now i need how make for add subitem in reward :D
     
  28. Offline

    worstboy32

    Hey,
    I'm using ++.
    I know developers are not buiding to it but maybe it could be just a little easy fix.
    When i make npc's and try color them &0<>9 works but &A<>F doesn't work the npc stays white.
    I hope you will have a look at it and that you will be able to fix it.
     
  29. Offline

    vavraCZe

    I have a problem:

    2012-02-12 04:28:10 [SEVERE] Could not load 'plugins/Citizens.jar' in folder 'plugins': null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:191)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:118)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:442)
    at org.bukkit.Bukkit.reload(Bukkit.java:188)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    version: 1.1.5
    CraftBukkit-1.1-R3
     
  30. Offline

    nobellant215

    why is my bodyguard not protecting me? He only works at aggresive state but he sticks to me and keeps pushing me if i set him aggresive; can't use it properly... Is there any solution?
     
  31. Offline

    s0me0ne

    Bump. Any1 has figured it out???
     

Share This Page