[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

    DaEgo

    my wizard do not interact with me owner and player builder
    i use this but did not work
    whats wrong ?

    - citizens.wizard.use.interact
    - citizens.wizard.use.*
    - citizens.wizard.use
    - citizens.wizard.use.teleport

    npc create
    toggle wizard
    npc color &a
    npc rename
    mode teleport
    mana unlimited
    addloc (4x)
    locations are confirmed
     
  3. Offline

    DaEgo

    https://github.com/fullwall/Citizens/wiki/Permissions
     
  4. Offline

    MoseMister

    hay i found a bug. (i think)
    when i hit an NPC nothing happons.
    is their a command i can use or is it just a bug.
     
  5. Offline

    Falanon

    I've been to your site and all i get when i click on the download ling is a loading screen. waited for a LONG time and nothing happened. Am i just doing it wrong? Help pleas
     
  6. Offline

    KubaBVB09

    I'm having a problem where if I try to right click a trader to stock them it almost never does anything... only after 20 or so clicks will it open the inventory...
     
  7. Offline

    ProjectZain

    When I try to assign this quest (http://pastebin.com/7JTw7k1u) to an npc it says that there is no quest by that name. Can some please tell me how I can fix this issue?
     
  8. Offline

    General_Nono

    Why I getting this Error,when I want to update Citizens?
    Code:
    2011-12-24 01:42:55 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
        at net.citizensnpcs.lib.HumanNPC.load(HumanNPC.java:226)
        at net.citizensnpcs.lib.NPCManager.register(NPCManager.java:125)
        at net.citizensnpcs.Citizens.setupNPCs(Citizens.java:273)
        at net.citizensnpcs.Citizens.access$000(Citizens.java:59)
        at net.citizensnpcs.Citizens$2.run(Citizens.java:129)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
     
  9. Offline

    Vampire_Toast

    Whenever I try to make an NPC it says that I need $100 to do this. Can someone help me?
     
  10. Offline

    Raffle

    Thanks a lot, after a bunch of weeks trying to figure this out, never thought it would be something so simple... i just uninstalled iconomy and it works fine now, i did that cause there was no other way, all my .yml config files inside Citizens folder are empty, what's going on? Sorry to bother again but.. help please!?
     
  11. Offline

    fullwall

    Please don't use dev builds for now, for some reason jenkins is fetching from another branch which doesn't work at the moment. @hiro24 - ^
     
  12. Offline

    PMCrafter

    uhm, dont you see the dev link?
     
  13. Offline

    Starrk

    Any help on this ?

    Thank you.
     
  14. Offline

    JustCallMeePimp

    Well I am running my server and I am using the Citizens plugin. I have already created a trader NPC, and I have gotten a non-op to test him and see if the NPC trades properly. Well, he does, but when he buys an item like a diamond pickaxe it will say, "transaction complete, diamond pickaxe 700 dollars." But the non-op can take as many as HE WANTS!?!? I have the latest version of Iconomy working but when he did /money to see how much money he had, he had $52, but he could still purchase the diamond pickaxes and the other items as well.

    What can I possibly do to fix this? :)
     
  15. Offline

    pedro170

    how do i make them attack if somebody hits them?
     
  16. Offline

    pedro170

  17. Theyre empty until you create your FIRST npc i believe? not sure, if there wont be any info, delete the folder citizens and start server

    It just fetches the data needed for server npcs etc.
     

  18. Step by step:

    /npc create NAMEHERE
    /npc equip (if you want to equip it, right click with item in ur hand to equip selected NPC)
    /npc equip (again if you wanted to equip it , seond time use this command closes the equiping)
    /toggle guard (toggles the npc to guard)
    /guard bouncer / bodyguard (to make it either bouncer = the 1 who attacks ppl , bodyguard = the 1 who follows and kills ppl around you)
    For my BOUNCERS ive used these settings:
    /guard af 1 MOBNAME -m (-m is the MONSTER attack)
    Mobnames:
    Skeleton
    Spider
    Zombie
    Creeper
    Giant
    Enderman
    ZombiePig
    Ghast
    Cow
    Sheep
    Chicken
    Pig
    etc.
    AF = addflag <- same thing , type af or addflag
    1-20 is the priority to attack the mob / animal / player
    -m = monsters
    -a = all including players
    -p is a players only but if i make hostile npcs i make them /guard af 1 p -a <-- hostile to players and all mobs.
    /guard radius 10-15 depends how far i want them to aggro mobs / players. Works from 1-** i believe, doesnt matter what it is id keep it in 1-20. REMEMBER: it will search mobs UNDERGROUND also which is really stupid if you make it 15 -> it can find mobs from underground caves :( this should be fixed....
    /guard aggro <-- to check if its aggressive or not.
    Thats mostly what ive used, i dont know exactly how to make Bodyguard coz ive NEVER used them.
    Hopefully this helped a little?
     
  19. Offline

    darkcloud784

    Has alchemist been added to citizens types? Any abilities they have?
     
  20. Offline

    Stormbow

    Nope, sorry. Bouncers only kill 1 monster then never attack anything again. They don't go back to their starting position either.
     
  21. the position thingie bugs, my guards sometimes stand still on same spot (even when ive had path thingie) but it resets in server restart.
    With those commands i managed to make Archer guards walking around my walls and shoot enemies within 15 blocks :D only when they bug is when there is cave underneath somewhere within 15 blocks -> they start "aiming" there only :(( bug bug bug
     
  22. Offline

    Mr_H4mm3r

    You need a book :) You can configure it in the config
     
  23. Lost Brother <-- you cannot have SPACE there, make it Lost_Brother and it will work.
     
  24. Offline

    MoseMister

    i can not find a config file in citizens and that is prob why i thought it was a bug... i always check the config file first
     
  25. Offline

    Mr_H4mm3r

    It generated a config when I tried :!
     
  26. Offline

    Gongorrian

    Yes, that would be really awesome ! :D but yes that was my point... player restricted NPC permissions
     
  27. Offline

    Stormbow

    It doesn't generate a "config.yml", it generates a "citizens.yml" that holds all the citizens config info.
     
  28. Offline

    MacDante

    Hi again! I download today plugin and my lag problem was resolved.

    but i have else problem.

    I make quest (copy from forum)
    Code:
     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
    And i use iConomy 6.0.7 http://forums.bukkit.org/threads/econ-iconomy-6-0-7-celty-1337.40/
    All cost od create NPC work correctly, but any reward type MONEY is not give player who make quest;/
    NPC talk: YOU WIN! and nothing happen ;/
    I try add money NPC but still its not working. Else rewards like 'items' work correctly. (i check it as OP)
    any idea why money reward don't work ??
     
  29. Offline

    Pomme72

    I'm getting a "This quest doesn't exist" when I try to give a quest to my quester with /quester assign quest

    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.
    
    marchand:
        texts:
            description: Tu veux une license de marchand pour créer ton propre commerce
            completion: Bravo! Voici ta licence.
            acceptance: Va me faire ca avant.
        repeats: 1
        objectives:
            '0':
                '0':
                    type: hunt
                    amount: 30
                    string: '*'
                    message: C'est fait. Reviens me voir.
        rewards:
            '0':
                type: permission
                permission: showcase.finite
    Help please !
     
  30. Offline

    alexlv4

    Hi
    When I add quest to quests.yml All my NPC disappear.
    And all the Citizen commands stop working.
    Could you Help me?
     
  31. Offline

    nicom1997

    Hey,
    Can you add a feature to make "Mob-NPCs"?
    for example a Sheep-NPC :D

    @alexlv4

    i think you made something wrong with the quest...
     

Share This Page