[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

    simphax

    Same for me
     
  3. Offline

    Stormbow

    I hate to be the one to say it (not really), but I don't think this version of Citizens is 1.0.1-r1 compatible. There are far too many problems going unanswered.

    So far, the only thing I can make this plugin do is create statues (unmoving "npcs") and traders (who I have not even bothered to try to confirm are working since that's not what I got this plugin for in the first place).

    I appreciate the effort, but this just doesn't seem functional.
     
    Aaron_Merric likes this.
  4. Offline

    DaEgo

    can u give the Guards Bow and Arrow and standing still but guard the area ?
     
  5. Offline

    nicom1997

    I can make moving NPC too. And more NPC not tested :D
     
  6. Offline

    Beavis

    I probably did something wrong, but i have been looking for days now.
    The server isn't using the economy.yml anymore. (i know)
    Are we forced to use economy plugins? I just want my traders to sell for example coal for gold bars. But when i try to stock or let them sell i get "this server is not using an economy plugin"
     
  7. Offline

    MacDante

    I FOUND ERROR !!!

    is
    Code:
    rewards:
            '0':
                type: money
                id: 1
                amount: 10
                take: true
    
    sholuld be:
    Code:
    rewards:
            '0':
                  type: money
                  money: 10
    
    and for any who can't make manually quest i sagest use this tool:
    http://forums.bukkit.org/threads/wi...ter-v0-16-1-quest-writing-for-citizens.41169/

    PS: is any possibility change default NPC skin from player skin on Villager skin ?
     
  8. Offline

    Semirotta

    just type the npc name "Villager" , i use that in my city. And then i have different named guys who give quests or trade ^_^ if youre interested come check my server :D pm me for ip , i dont share it puplic here :) i think not allowed.

    My quests:
    So far ive tested: Lumberjack quest, fisherman quest, Ghast kill quest, Zombiepig quest. They ALL work, i think others work also or atleast nobody has reported me for non-working quests yet. Feel free to copy my quests & edit them :D (Some are already copied from others and changed a little)
    Code:
    # ----- Quest Design Guide -----
    #
    # First, let's cover the basic fields in a quest.
    # Each root node is the quest name - below, the two quest names are 'example' and 'example2'.
    # This is what you will use ingame to identify each quest.
    # Inside this, we see the text nodes - pretty self-explanatory. Note that you can use
    # <br> to denote a line break.
    #
    # The repeats option allows a quest to be completed a certain number of times. It acts as a limit. -1 denotes an
    # unlimited completion times limit. Let's take an example. A limit of 1 would allow the quest to be completed once.
    #
    # Now we move on to the configuration of the two main configuration options - objectives and rewards.
    #
    # --- Objectives ---
    #
    # Thus far, objectives have a set structure - a number of different 'steps' and a number of objectives
    # within each step. This allows for more freeform quest design. Note that each step should be marked
    # by an ascending number, *with quotes* around it. Each objective within a step is incremented concurrently.
    #
    # The message variable is sent to the player on completion of each objective.
    #
    # --- Objective types ---
    #
    # To aid with generic objective design, each objective can use one of a common set of variables
    # - amount, string, materialid, location, string, item and npcdestination (destination NPC ID).
    # Each objective type may use one or more of these variables - a reference is provided below.
    #
    #  - Specifying item and locations -
    # Item nodes have three sub-nodes, two that must be included and one optional.
    # The id sub-node designates the item/block ID.
    # The amount sub-node specifies the item amount.
    # The optional data sub-node specifies the item data value to be used.
    #
    # Location nodes have 4 required sub-nodes, two optional.
    # The world node specifies the world name of the location.
    # The x ,y and z nodes specifies the x,y and z values.
    # The pitch/yaw optional nodes specify the rotation (think aeroplanes) of the location.
    #
    # Example syntax:
    # location:
    #     x: 123
    #     y: 124
    #     z: 111
    #     world: 'world'
    #
    # Block destroy quest (destroy block) - break a certain amount of blocks.
    # Uses: amount - the amount of blocks to break. materialid - the block ID to break.
    #
    # Build quest (build) - place a certain number of blocks
    # Uses: materialid - the block ID to place. amount - the amount that must be placed.
    #
    # Combat quest (player combat) - kill a certain number of players.
    # Uses: amount - the amount of players to kill. string - a list of which players should be targeted. '*' signifies all, '-' as the first character signifies a
    # whitelist, g:group specifies a group to target.
    #
    # Collect quest (collect) - pick up a certain number of items.
    # Uses: amount - the number of items to pick up. materialid - the ID to pick up.
    #
    # Delivery quest (delivery)- deliver an item to an npc.
    # Uses: npcdestination - the NPC ID to deliver to. materialid - the material that must be in hand.
    # amount - the amount of the material that must be in hand.
    #
    # Distance quest (move distance)- walk a certain number of blocks.
    # Uses: amount - the amount of blocks to walk.
    #
    # Hunt quest (hunt) - kill a certain number of monsters.
    # Uses: amount - the number of monsters to kill. string - which monsters to kill. '*' signifies all, '-' at
    # the start signifies that monsters not in the list will be counted.
    #
    # Location quest (move location)- be within a certain range of a location.
    # Uses: location - the base location to move to. amount - the amount in blocks that the player can be away from the location before finishing.
    #
    #
    # --- Rewards ---
    #
    # These can be used as both rewards *and* requirements to start a quest.
    # As rewards, they can be either give rewards, or take rewards. As requirements, they can only be used
    # to take from a player.
    #
    # Rank reward (rank) - grants a group ('rank') to a player.
    # Specified by the rank: node.
    #
    # Permission reward (permission) - grants a permission to a player.
    # Specified by the permission: node.
    #
    # Quest reward (quest) - grants a quest to a player. Note that it cannot be taken away from a player.
    # Specified by the quest: node.
    #
    # Item reward (item) - gives an item to a player.
    # Loaded from the item: nodes.
    #
    # Health reward (health) - gives health to a player.
    # Loaded from the amount: node.
    #
    # Money reward (money) - gives money to a player.
    # Loaded from the money: node.
    
    FirstQuest:
        texts:
            description: A build quest
            completion: <g>You win! Here's some stone.
            acceptance: <g>Challenge <y>accepted<g>.
        objectives:
            '0':
                '0':
                    type: build
                    materialid: 1
                    amount: 3
                    message: Built. Now come back here!
        rewards:
            '0':
                type: item
                id: 1
                amount: 64
                take: false
    FetchABlock:
        texts:
            description: A fetch quest
            completion: <g>You win! Give me that stone.
            acceptance: <g>Challenge <y>accepted<g>.
        repeats: 1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 1
                    amount: 3
                    message: A voice echoes... "I want that stone now!"
        rewards:
             '0':
                type: item
                id: 1
                amount: 3
                take: true
    Animals:
        texts:
            description: A mob quest - kill any 3 of cow, pig or chicken
            completion: <g>You win!
            acceptance: <g>Challenge <y>accepted<g>.
        repeats: 2
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'cow, pig, chicken'
                    amount: 3
                    message: Animals slain \o/.
        rewards:
             '0':
                type: money
                id: 1
                amount: 10
                take: true
    Monsters:
        texts:
            description: A mob quest - kill any 3 of zombie, spider, creeper or skeleton
            completion: <g>You win!
            acceptance: <g>Challenge <y>accepted<g>.
        repeats: 2
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'zombie, spider, creeper, skeleton'
                    amount: 3
                    message: Monsters slain \o/.
        rewards:
             '0':
                type: money
                id: 1
                amount: 20
                take: true
    
    Skylord:
        texts:
            description: <b>Hey! <3>The Skylord is in trouble! <br><3>Go to him and see if everything is alright. <br><3>I will stay here and wait for you!
            completion: <3>Ok, so everything was alright? <br><3>Here some food <br><3>I'm sorry for wasting your time..
            acceptance: <a>Quest accepted! <br><3>Hurry up he might need you!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: move location
                    amount: 3
                    location:
                        x: 183
                        y: 92
                        z: -105
                        world: Semicraft
                    message: <6>I'm fine! Thanks for asking though. <br><6>Go and tell him i'm fine!.
        rewards:
            '0':
                type: item
                id: 322
                amount: 4
                take: true
    creeper:
        texts:
            description: <b>Hey! <3>I hope you have you're armour and sword still!  <br><3>Go kill 4 creepers for me!
            completion:  <3>Awesome, heres some food for you're hunger!
            acceptance:  <a>Quest Accepted <3>Let the creepers DIE!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: hunt
                    string: Creeper
                    #materialid:
                    amount: 4
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    #    world:
                    message: Wow Great job! Come back to me now to get you're reward!
        rewards:
            '0':
                type: item
                #quest:
                #money:
                #permission:
                id: 354
                amount: 4
                take: true
    einstein:
        texts:
            description: <b>Hey! <3>I just saw i had no more netherwart <br><3>Please find one and bring it to me.
            completion:  <3>Thanks a lot! Here is a special reward!
            acceptance:  <a>Quest Accepted <3>Hurry up please so i can get back to work.
        repeats: 10
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 115
                    amount: 1
                    message: <3>Thats what i needed bring it to me please.
        rewards:
            '0':
                type: item
                id: 46
                amount: 5
                take: true
    Miner:
        texts:
            description: <b><3>Hello, I'm a good miner, but i do need your assistance. <br><3>i need you to mine me one diamond!
            completion:  <b>Great Job! <3>you can keep the diamond! here is your gift.
            acceptance:  <a>Quest Accepted! <3>Be quick else you won't get a reward!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 56
                    amount: 1
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    #    world:
                    message: <3> Return to me now! for your reward!
        rewards:
            '0':
                type: item
                #quest:
                money: 100
                #permission:
                id: 265
                amount: 5
                take: true
    Farmer:
        texts:
            description: <b><3>Hello, Do you like my farm? <br><3>I need you to get some sugarcane!
            completion:  <a>Well done! <3>Here is some of my loot.
            acceptance:  <a>Quest Accepted!
        repeats: -1
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 83
                    amount: 3
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    #    world:
                    message: <3>Yes thats what i need come bring it to me.
        rewards:
            '0':
                type: item
                #quest:
                money: 20
                #permission:
                id: 296
                amount: 20
                take: false
            '1':
                type: item
                #quest:
                money: 20
                #permission:
                id: 338
                amount: 9
                take: false
    
    Alchemy:
        texts:
           description: <y>Hello there traveller, I am brewing up a powerful potion but missing some ingredients. Would you gather them for me?
           completion: <y>Thanks. Take these rewards as a kind gesture for the materials. <y> Dr_Yzarc hands over 500 Euros.
           acceptance: <y>Collect 2 Nether Warts, 5 Redstone and 1 Spider eye and return to Traveling_Alchemist.
        repeats: 5
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 372
                    amount: 2
                    message: <y>You have collected the required amount of Nether Wart.
                '1':
                    type: collect
                    materialid: 331
                    amount: 5
                    message: <y>You have collected the required amount of Redstone.
                '2':
                    type: collect
                    materialid: 375
                    amount: 1
                    message: <y>You have collected the required amount of Spider eye.
        rewards:
             '0':
                type: money
                money: 20
                take: true
    
             '1':
                type: money
                money: 10
                take: true
    
             '2':
                type: money
                money: 15
                take: true
    
    Fishing:
        texts:
           description: <y>Hello there traveller, I haven't been able to catch fish here. Could you get me some?
           completion: <y>Thank you. Take this as a reward for the fish. Come back anytime you need some money.
           acceptance: <y>Go fishing, bring 3 Raw Fish and 5 Coocked fish for Fisherman.
        repeats: 100
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 349
                    amount: 3
                    message: <y>You have collected the required amount of Raw Fish.
                '1':
                    type: collect
                    materialid: 350
                    amount: 5
                    message: <y>You have collected the required amount of Cooked Fish.
        rewards:
             '0':
                type: money
                money: 20
                take: true
    
    Ghasthunter:
        texts:
            description: <b>Hey! <3>I hope you have your armour,sword and bow ready, because I could use a little help at Nether! <br><3>Go kill Ghasts. You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill some Ghasts!
        repeats: 5
        objectives:
            '0':
                '0':
                    type: hunt
                    string: Ghast
                    #materialid:
                    amount: 4
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
        rewards:
            '0':
                type: item
                quest: ZombiepigProplem_Part1
                money: 100
                #permission:
                id: 56
                amount: 1
                take: false
    
            '1':
                #type:
                quest: ZombiepigProplem_Part1
                money: 80
                #permission:
                id: 370
                amount: 2
                take: true
    
    ZombiePigProplem_Part1:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: PigZombie
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                quest: ZombiePigProplem_Part2
                #money:
                #permission:
                id: 302
                amount: 1
                take: false
    
    ZombiePigProplem_Part2:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: PigZombie
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                quest: ZombiePigProplem_Part3
                #money:
                #permission:
                id: 305
                amount: 1
                take: false
    
    ZombiePigProplem_Part3:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: PigZombie
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                quest: ZombiePigProplem_Part4
                #money:
                #permission:
                id: 304
                amount: 1
                take: true
    
    ZombiePigProplem_Part4:
        texts:
            description: <b>Hey! <3>We have a situation going on in Nether! I need you to go kill ZombiePigs for me! You might wan't to bring a friend or two with you.
            completion:  <3>Awesome job! Here is your reward.
            acceptance:  <a>Quest Accepted <3>Let's kill 2x ZombiePigs!
        repeats: 10
        objectives:
            '0':
                '0':
                    type: hunt
                    string: PigZombie
                    #materialid:
                    amount: 2
                    #npcdestination:
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft_nether
                    message: Great job! Go back to SemiCraft and claim your reward!
    
        rewards:
            '0':
                type: item
                #quest:
                #money:
                #permission:
                id: 303
                amount: 1
                take: false
    
    Woodcutter:
        texts:
            description: Woodcutting is a basic skill. Go and cut some wood!
            completion: <g>Congrats! You have completed your quest.
            acceptance: <g>Quest <y>accepted<g>.
        repeats: 500
        objectives:
            '0':
                '0':
                    type: collect
                    #string:
                    materialid: 17
                    amount: 64
                    npcdestination: 40
                    #location:
                    #    x:
                    #    y:
                    #    z:
                    world: Semicraft
                    message: Good job! Now go back to Tree for your reward.
                '1':
                    type: delivery
                    #string:
                    materialid: 17
                    amount: 64
                    npcdestination: 39
                    location:
                        x: 198
                        y: 68
                        z: 65
                    world: Semicraft
                    message: Finally! What took you so long? Here is your reward.
    
        rewards:
            '0':
                type: money
                money: 30
                take: false
    
            '1':
                type: item
                #quest:
                money: 50
                #permission:
                id: 5
                amount: 64
                take: true
    
     
  9. Offline

    Semirotta

    You can give guards BOW , arrow no needed -> it fires arrows without arrows anywhere xD just equip it with bow
     
  10. Offline

    DaEgo

    and they guard the area in range of the bow without moving ?
     
  11. Offline

    Semirotta

    You can set their area with either:
    /guard radius [radius]
    or make it walk area with:
    /npc path

    Default is 16 blocks from the first point with path movement, u can edit this from configs higher if wanted ( i use 64 blocks away from first point myself )

    they fire everything in their area. Remember: RADIUS means also up / down , if its 15 blocks -> it finds 15 blocks all around him in cube kind area, so if underground is cave with monsters -> the guard will stare underground all the time -.- its stupid and i wish it will be fixed to fire / patrol only areas what it SEEs itself
     
  12. Offline

    sansoomer

    Allow the traders to sell items with a colon. For example dyed wool is 35:1. at the moment they cant sell that!
     
  13. Offline

    gummby8

    I have an NPC that I want to give out several quests. I am pretty sure I wrote the quests and everything correctly. Problem is if you accept one quest from the NPC you can't accept the others.

    What is the command to
    (A) view the quest you are on
    (B)Drop that quest

    I have a quest to deliver some coal to an NPC but right when you give him the coal he immediately says thankyou and offers the quest again at the same time.

    Is there a setting to make it so you can only be offered quests if you poke the NPC with a certain item?
     
  14. Offline

    Semirotta

    (A) /quest status
    (B) /quest abandon / quest remove / quest stop <-- i think 1 of these.

    Deliver Type quest you need to make, it requires to click the NPC with certain item i believe.
     
  15. Offline

    gummby8

    Yes I know that. He responds when I right click him with the coal he was asking for, but at the same time starts his dialog to offer me the quest again.

    So I right click the NPC (with anything, this is the problem)

    he says
    "would you like to gather coal for me?" (right click to accept)
    I accept
    he says
    "go get me a stack of coal"
    I right click on him with a stack of coal in hand
    he says
    "thank you here is your reward"
    "Would you like to gather coal for me?" (right click to accept)

    I dont want the NPC to complete the quest and offer it again with the same click
    I have the select and talk tool set to use a wood stick, but questers will offer their quest no matter what I click them with, That is the problem
     
  16. Offline

    Semirotta

    cant help :( sry no idea how to fix this. Try to cange talk tool barehand.
     
  17. Offline

    gummby8

    Oh well. On another note is it possible to list another NPC as a target in a kill quest?
     
  18. Offline

    Fujikatoma

    if i try to make /npc set peet abc i get "java.lang.Nullpointerexception: null"
     
  19. Offline

    GoTheRedSox

    im using the latest version of bukkit and the plugin and im getting this error:
    Code:
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1295997"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1295999"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296001"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296003"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296005"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296007"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296009"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296011"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296013"
    2011-12-27 16:49:03 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V
    2011-12-27 16:49:03 [SEVERE]    at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:44)
    2011-12-27 16:49:03 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-12-27 16:49:03 [SEVERE]    at java.lang.Thread.run(Thread.java:636)
    2011-12-27 16:49:03 [SEVERE] Exception in thread "Thread-1296015"
    
        
     
  20. Offline

    LtWafflepie

    My NPCs Wont Talk???? Help!
     
  21. Offline

    DaEgo

    i told him already
     
  22. Offline

    DaEgo

    i try it but did not really work
    i use this :
    toggle guard
    equip bow
    guard aggro
    addflag -m skeleton
    radius 1 or 15 dont matter

    he does NOTHING

    if i make him guard bouncer
    he start attack with bow and "run around"
    but i dont wont that
    and when he shot a keleton in to a wall , the guard is gone and server CRASHED

    Show Spoiler

    Code:
    2011-12-28 09:13:33 [SEVERE] java.lang.IndexOutOfBoundsException: Index: 1022, Size: 1022
    2011-12-28 09:13:33 [SEVERE]     at java.util.ArrayList.RangeCheck(Unknown Source)
    2011-12-28 09:13:33 [SEVERE]     at java.util.ArrayList.remove(Unknown Source)
    2011-12-28 09:13:33 [SEVERE]     at net.minecraft.server.World.tickEntities(World.java:1153)
    2011-12-28 09:13:33 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    2011-12-28 09:13:33 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2011-12-28 09:13:33 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-28 09:13:33 [SEVERE] Unexpected exception
    java.lang.IndexOutOfBoundsException: Index: 1022, Size: 1022
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.remove(Unknown Source)
        at net.minecraft.server.World.tickEntities(World.java:1153)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
     
  23. Offline

    Readark

  24. Offline

    Semirotta

    Ok i have no idea why it crashesh but the reason it "runs around" is that u have radius 15 -> it cannot fire with bow that far, it must get a bit closer perhaps? i dont know, my guard bouncers are on wall 4 blocks up from ground, they have walking set there like they "guard" the area, if u want i can show u , just pm me and ill let u know the ip




    i believe ur spout bugs? is it up to date? try re-install spout & citizens if it helps? what kind of permissions you use? have you set the permissions correct?


    Citizens.yml there is:
    defaults:
    enable-following: true
    talk-when-close: true

    if u have these FALSE (i think its default true though) then they wont follow or talk.
    U can choose (right click) the npc and type /npc talkto <- so it starts talking.
    Typing /npc reset <- resets all old chats off, then /npc add *text* <- adds new texts if wanted.
    and if he wont follow type /npc lookat <-- npc starts looking at player. Range for looking can be decided in Citizens.yml also.
     
  25. My npc's dissaper=ar when I reset the server ):
     
  26. Offline

    Semirotta

    /Citizens save​
    permission node: Citizens.admin.save​



    Try that before shutting down / reseting server.
    And in the Citizens.yml

    Code:
      saving:
        delay: 72000
        save-often: true
        use-task: true
    


    Save often etc. True , it will autosave every now and then. Myself, ive never had any proplems with NPC , they havent dissappeard...

    I hope this helped. Ive tried to help people in this topic coz obviously the creators are 2 busy atm :D
     
  27. Offline

    DaEgo

    i think i know what u mean, i try it this evening
    thx
     
  28. Offline

    zupalex

    You can, juste type

    /trader sell [id]:[amount]:[damage] [price]

    so 1 blue wool for 10

    /trader sell 35:1:1 10
     
  29. Offline

    Raffle

    Thanks, i did that and it works fine now, i'm really thanful T_T
     
  30. Offline

    DaEgo

    did u try that ? no..

    Trader sell 29:7:1 88
    29:7 = sticky piston
    :1 amount
    88 price

    and result is :
    Trader is now selling "7 Piston Sticky Bases" for "88"
     
  31. Offline

    Rarebit

    What permissionplugins are supportet?
     

Share This Page