[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

    azunyan193

    i add the flag, but it doznt work still.
    i tried /guard addflag -m, /guard addflag -a, also add everything single mob flag. it shows me the flag already added.
    then i type /guard flags to check out , it said "no flag specified"
     
  3. Offline

    azunyan193

    my version is 1.0.1 and using citizens 1.1.3. i have permission plugin and some others plugins, they all works, btw
     
  4. Offline

    cooltrentcool

    it always says an internal error occured while attempting to perform this command please help!
     
  5. Offline

    funky man

    Is it possible to use the same quester more than once? I am trying to include one in to their second quest and it just tells me "you already have a quest from another npc" when i get to that perticular objective. If so, how? I cant seem to find an answer any where :/
    Thanks for your time
    Funk
     
  6. Offline

    Brendan512

    How do you make NPC's move from place to place?
     
  7. Offline

    Cpt. Wolf

    Select the NPC you want to make move. Type "/npc path" to enter the waypoint editor. Then you left click to set waypoints. Right clicking undoes the last waypoint set. When you're done, type "/npc path" again to exit the editor.
     
  8. Offline

    cazzuey

    Please help, I only get internal errors, I downloaded it and unpacked it into plugins. I'm 1.1,
    Thanks in advance
     
  9. Offline

    funky man


    Nevermind! Looked at it with a more awake state and realised i had numbered two quests the same... DOH!!
     
  10. Offline

    azunyan193

    why thers OP only can use the commands.
    players cant even buy, repair, get heal from NPCs.
    im useing bpermission btw.
     
  11. Offline

    GOSMIC2


    Trai /guard addflag 1 zombie -m
    and /guard addflag 2 creeper -m
    and /guard addflag 3 spider -m

    the 1 =
    priority
    - priority of the flag can be 1,2,3,4,5..... 20
    zombie wil be killt 1, 2 creeper 3 spider you can set them all to 1 aswell
    -----------------------------------
    comand
    /guard flags [-g / -m / -p] (1 = page)
    is this
    /guard flags -m 1

    this wil let you see the flags list for mobs that you make
    for more see this...
    http://wiki.citizensnpcs.net/index.php?title=Guard


    GR GOSMIC
     
  12. Offline

    GOSMIC2

    you are in still in edit mode
    if you go in /npc equip you are in equip mode to exit this type /npc equip again.

    so you have to look in what mode you are

    it can be /npc path or /guard , /toggle

    it depends on what you were doing

    http://wiki.citizensnpcs.net/index.php?title=Main_Page
     
  13. Offline

    Beavis

    I have this issue since 1.1.3 and now even with 1.1.4, My traders sell EVERYTHING for free? What can I do to stop this bug? I had to shut down the server because of this.
     
  14. Offline

    hostiile

    I have a problem. Nothing I equip to my NPCs will show up. If I give my NPCs a sword and armor, they dont put it on.... Please help.
     
  15. Offline

    Phibedy

    Hi, I read about the leftklick problem by npcs. I changed 340 to 0 but I still hurt them.
    How can I fix that?

    best regards Phib
     
  16. Offline

    azunyan193

    here are two problem i got.
    first, if someone in server use arrow to take down the guard NPCs, the server will reset and everyone disconnect from it. Infact, not only arrow, every long range weapon like poison, it ll also have an erro like this.

    04:51 PM [SEVERE] java.lang.IndexOutOfBoundsException: Index: 352, Size: 352
    04:51 PM [SEVERE] at java.util.ArrayList.RangeCheck(Unknown Source)
    04:51 PM [SEVERE] at java.util.ArrayList.remove(Unknown Source)
    04:51 PM [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1153)
    04:51 PM [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    04:51 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    04:51 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    04:51 PM [SEVERE] Unexpected exception

    second,
    why thers OP only can use the commands.
    players cant even buy, repair, get heal from NPCs.
    im useing bpermission, and now i delete it, but doznt work still
     
  17. Offline

    jozifek

    hello, i have a problem with items with index. I need selling all colors wool but don't works if I use command "/trader sell 35:4 1" :( please help me... thanks
     
  18. Offline

    Tommehnet

    Is there a way for NPCs to move back to their initial position after they attack in guard mode?
     
  19. Hello!
    I've noticed that my console is being spammed by "Fetching addPacket for removed entity: CraftItem" and things similar to it, when I have Citizens.jar in my plugins folder. I've tried removing it and the messages disappear, put it back in the folder and the messages come back.

    Here's how it looks like:
    Code:
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:10 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftItem
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] Fetching addPacket for removed entity: CraftSkeleton
    23:20:11 [INFO] [Citizens] Loaded 20 NPCs.
    23:20:11 [INFO] [Citizens] Loaded 23 quests.
    23:20:14 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    
    Sometimes it spams even harder, and I belive that it's causing my server to crash after approx. 2 hours after starting it, because of memory suddenly dropping from 1gb to almost 0 in a couple of minutes.
     
  20. Offline

    fullwall

  21. Offline

    TBForever2

    I've made a quest but, when i start the server it throws up an error from Citizens and says 0 quests loaded.
    http://pastebin.com/WgVp3w4M


     
  22. Offline

    Telanis

    Have problems with Citizens and PermissionsEx !

    As a Admin or /OP i can trade with the Trader but normal Members dont can trade....have try differnet Things:

    - citizens.use.trader
    - citizens.trader.stock
    - citizens.trader.use*

    Someone can help?

    Have found the Solution:
    It works with:
    - citizens.trader.use.trade

    But i wonder why he dont recognizes citizens.trader.use*
     
  23. Offline

    Thyadar

    Because its meant to be "citizens.trader.use.*" ;)
     
  24. Offline

    kaleesh

    My types of npc folder is empty even when i re-install the plugin, so I cannot use /toggle guard or other npcs, is there a fix for the folder being empty? It just says Invalid npc type.
     
  25. Any idea why adding the below quest breaks all my quests, so they don't load at server startup?

    Code:
    "Adventure quest":
        texts:
            description: "<g>Go to the <y>adventure world and meet Sake at the end of the map! <g>(don't blow the place up too quickly)"
            completion: "<g>Amazing job! Your epicness has reached a <y>new level!"
            acceptance: "<g>Bring him <y>8 leathers <g>as proof that you devoted yourself to the quest! You will <y>find them in "hidden" chests <g>in the map!"
        repeats: 2
        objectives:
            '0':
                '0':
                    type: delivery
                    materialid: 334
                    amount: 8
                    npcdestination: 21
                    optional: False
                    finishhere: False
                    message: "<g>Congrats on coming to the end! Go tell the good news <y>to Absolut!"
            '1':
                '0':
                    type: delivery
                    materialid: 0
                    amount: 0
                    npcdestination: 16
                    optional: False
                    finishhere: True
                    message: "<g>You are a true adventurer! You deserve <y>this gold!"
        rewards:
            '0':
                type: money
                money: 700
            '1':
                type: item
                id: 266
                amount: 5
                take: False
    
    Here's my full config with the quest included:
    http://pastebin.com/LWjVgkJr

    If I remove the quest, it loads the rest. No idea why :S
    Need help please.
     
  26. Offline

    aufdemrand

    Take out your quotes around the word hidden in your acceptance texts. You should be able to use single quotes instead.

    Check out this part of the wiki for future reference.

    http://wiki.citizensnpcs.net/index.php?title=Quests.yml

    Also click the link for the YAML parser, which can help you troubleshoot problems like that.
     
  27. Offline

    aufdemrand

    I've ran into this problem as well... One way to get around it is to hard code them into the npc_profiles.yml instead of using the in-game editor. If you have another NPC with waypoints you can use that to reference the syntax. I don't have that documented yet on the citizens wiki, but I will sometime next week.
     
  28. Offline

    aufdemrand

    Which command were you using?
     
  29. Offline

    aufdemrand

    Download the build from Jenkins.. it's a zip file with all the latest JARs. Link of the most recent build is on the front page of the Citizens Wiki...

    Here's the link for reference: http://wiki.citizensnpcs.net/
     
  30. Offline

    aufdemrand

    Try this:

    Code:
    Bow:
        texts:
            description: "Make a bow for the hunter."
            completion: "Thank you, here's something i found in a cave."
            acceptance: "Now make a bow."
        repeats: 1
        objectives:
            '0':
                '0':
                    type: delivery
                    npcdestination: 0
                    materialid: 261
                    amount: 1
        rewards:
            '0':
                type: item
                id: 266
                amount: 5
                take: false
     
  31. Offline

    aufdemrand

    Wiki is being updated hard, I will add examples and breakdown of the Soldiers very soon. They are a relatively new feature.
     

Share This Page