[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 - 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


    It's not "Gaurd", it's "Guard".
    sventi83 likes this.
  3. Offline


    I've a bug when i do "/citizens reload". Maybe that's why i can't assign quest?!

    20:49:12 [INFO] [Citizens] Reloading configuration settings....
    20:49:13 [INFO] [Citizens] An error has occurred, please wait while it is sent t
    o the developers...
    20:49:16 [INFO] [Citizens] Below is the stacktrace that has been transmitted to
    the developers, no other information has been included other than Citizens versi
    on information.
    20:49:13 [SEVERE] Could not pass event CUSTOM_EVENT to Citizens
    java.lang.NoClassDefFoundError: Could not initialize class net.citizensnpcs.ques
    at net.citizensnpcs.questers.listeners.QuesterCitizensListen.onCitizensR
    at net.citizensnpcs.api.event.citizens.CitizensListener.onCustomEvent(Ci
    at net.citizensnpcs.questers.listeners.QuesterCitizensListen.onCustomEve
    at org.bukkit.plugin.java.JavaPluginLoader$93.execute(JavaPluginLoader.j
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    at net.citizensnpcs.commands.BasicCommands.reload(BasicCommands.java:527
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(Comman
    at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsMana
    at net.citizensnpcs.Citizens.onCommand(Citizens.java:200)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
  4. Offline


    h thank you very much :p works now. THIS PLUGIN IS UNBELIEVABLE
  5. Offline


    Hum, i just can't assign quest to a quester. I really dunno why... :(

  6. Offline


  7. Offline


  8. Offline


    Wow, so is anyone else having this error? Try equipping some items to your guards... When I give him a sword, it gives him a helmet. When I give him an armor, it gives him pants. Stuff like that. Weird.
  9. Offline


    THx you, and do you know why i cannot reload "online" my npc quester. WHen i do /Citizens reload my npc don't have my new quest added :s
  10. Offline


    Thanks for the help! But i have one last problem. I have the guard, But he wont attack anything. and i dont understand setting flags. I looked at the Wiki.
  11. Offline


    @Guenael - you shouldn't have to "reload" the NPCs to give them quests. Just type "/quester assign questnamehere" and it should work right away if you have the quests written and in your quests.yml file.
    @andrew44553 -
    > once you set a npc to be a guard with /toggle guard
    > then you must set them to bouncer with /guard bouncer
    > then you can add flags like these:
    /guard addflag 1 spider -m
    /guard addflag 1 skeleton -m
    /guard addflag 1 creeper -m
  12. Offline


    I am ok but i have too much quest i will use all the night to add all :s
  13. Offline


    I'm using citizens 1.1 and the permissions plugin Pex.
    But I can't use traders or blacksmiths.
    I have : - citizens.trader.use.trade
    - citizens.blacksmith.use.repair
    It's anything wrong ?
  14. Offline


  15. Offline


    Citizens 1.1 works with build 1000 ?
  16. Offline


    Thanks for the help everyone! Finally. ONE last question. for a guard, can they have more then 1 flag? Like attacking zombies + spiders?
  17. Offline


    Yeah just keep adding the flags, like @mspau86 showed you, they just get added onto a list. Hence the remove flag command, and the flags command to check which you have set.
  18. Is there a way to make guards attack all mobs witout typeing
    /guard addflag 1 "mobname" -m
    for all mobs
  19. Offline


    First of all, breathtakin Plugin, what a playground u guys give me :p Thx to the Dev's. Gona Donate!

    This below, Sorwig, works perfectly. He takes both kind of flowers and returns me 10 Snowballs.

    Npc's do not check the amount they take. Thats very xploitable.

    And is there a chance to get an overall Quest message? I experimented and found no way. Like the xample below. Obejektiv 1+2 Done, Trigger new Message: Congrats you completed the whole Quest.

    Mob Kills do not trigger, cant complete a hunt Q, as mentioned a few times befor it seems broken.

    description: <y>Ein Strauss Blumen. <g>Sammle 10 rote Rosen und 20 gelbe Gaensebluemchen.
    completion: <g>Hmmmm, danke. Die sehen zwar etwas welk aus, aber lasse es Dich wissen, wenn ich wieder eine Aufgabe fuer Dich habe.
    acceptance: <g>Aufgabe angenommen<g>.
    repeats: -1
    type: collect
    materialid: 37
    amount: 20
    message: <g>Du hast nun alle Gaensebluemchen gesammelt!!!
    type: collect
    materialid: 38
    amount: 10
    message: <g>Du hast nun alle roten Rosen gesammelt!!!
    type: item
    id: 37
    amount: 20
    take: true
    type: item
    id: 38
    amount: 10
    take: true
    type: item
    id: 332
    amount: 10
    take: false
  20. Offline


    So what can I do to fix it?
  21. Offline


    Thanks all for the help! Traders work great now! The problem wasn't that only mods and above could use them, it was that only ops could do it, I did fullwall's fixes and added the perms you guys told me too and they work great now.

    Now my only problem is npc pathing.. They either go to some random spot and spin in circles, or if I have more than 8 waypoints occasionally they will sink into a block and get stuck, and never recover from it. The reason I say more than 8 is I have 3 NPCs on patrol that aren't having any problems. One only has 2 points, the other two have 8 they follow in a circle. All 3 operate fine.

    CB is 1185, and I went to the site and downloaded the lastest artifacts for the citizens,jar and the npc types.
  22. Offline


    u should show me how to use guard commends it said flagadd idk how to use it help !!
  23. Offline


    /guard addflag (monster/player name) (-m if it's monster, -p if it's a player)

    Doing that theoretically makes it so that whenever the flagged monsters or players enter the guard's radius (set with /guard radius #), it will attack them.
  24. Offline


    Question for fullwall and apunch: Is there a way to set a specific npc to load a server-side skin? If not, I'd like to put in a request if that's possible to code for the future. I don't want to force my players to download a seperate plugin that from what I can tell seems to cause problems with your guys' awesome one.
  25. Offline


    @Tyrazial - no, unfortunately that's not possible. I will look into the pathing problems...
    @mspau86 - will look into that wrong equip problem.
  26. Offline


    pex doesnt give people permissions even with the quester-help node ???
  27. Offline


    it is a real npc
  28. Offline


    Any word yet on why Citizens likes to override every plugin/setting that filters console output?
  29. Offline


    @Vittek - sorry, turn error-reporting off - it's a requirement of error reporting.
  30. Offline


    Hi there , this is what I get on my server and got the same thing on a brand new server. I searched on this thread and didn't find anything useful other that re-downloading the file so here I am posting...

    java version "1.6.0_27"

    This is from a new test server using Craftbukkit 1185, nothing else:
    2011-09-27 07:31:38 [INFO] Starting minecraft server version Beta 1.8.1
    2011-09-27 07:31:38 [INFO] Loading properties
    2011-09-27 07:31:38 [INFO] Starting Minecraft server on *:25565
    2011-09-27 07:31:39 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    2011-09-27 07:31:39 [SEVERE] Could not load 'plugins\Citizens.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-09-27 07:31:39 [INFO] Preparing level "world"
    2011-09-27 07:31:39 [INFO] Default game type: 0
    2011-09-27 07:31:39 [INFO] Preparing start region for level 0 (Seed: 134208035762527767)
    2011-09-27 07:31:39 [INFO] Preparing start region for level 1 (Seed: 134208035762527767)
    2011-09-27 07:31:40 [INFO] Preparing spawn area: 52%
    2011-09-27 07:31:40 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-09-27 07:31:40 [INFO] Done (0.143s)! For help, type "help" or "?"
  31. Offline


    Hello !
    I love your plugin but I'm wondering how to create multiple steps quests. I haven't understand everything on the wiki. Could you give a little example of a multiple steps quest please ?

Share This Page