[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. NPCs also talk when you right-click them with a specified item... the talk-items key in citizens.yml, you can set it to '*' to be able to rightclick with any item a NPC and make it talk.
     
  3. Offline

    fullwall

    @MrCamping - perhaps :p.
    @Scandragon - it's false to stop possible lag because talk / lookclose require a little extra processing.
    @MAL22 - citizens.trader.use.trade - make sure you're using 1.1.1
     
  4. Offline

    Scandragon

    Fullwall, old pal
    Any chance of some working quest examples on the wiki?
    Maybe one for each type
     
  5. Offline

    fullwall

  6. Offline

    fullwall

    To all: updated the quester wiki page with some new features from 1.1.1. Also, the new RB *will* break Citizens - for now, use the builds from the Jenkins.
     
  7. Offline

    Scandragon

    I wish you didn't have to warn people about updating..
    It should be common sense to only update after the plugins you use are updated..

    You guys are doing a great job
     
  8. Offline

    SubLexx

    the waypoints has a bug by me ._.
    after set few waypoints stand the NPC in the ground or fall into the blocks ^^'
    no error msg in the server cmd
    Minecraft 1.8.1 @ CB 1185 and Spout 1.0.6

    btw ^_^ its a very nice plugin!!! ^__^
     
  9. Offline

    fullwall

    @SubLexx - are you using Citizens 1.1.1?
     
  10. Offline

    ItsQ

    [​IMG]

    with 1.1.1 enyone knows what it is?
    It workd fine till i added quests, but i think i did the config good.

    Code:
    House1:
        texts:
            description: I fond this nice house when i was digging dirt, do you like it? enyway i need some help fixsing this house can you help me get some stuff for it?
            completion: <g>Thank you! Here have some Broken stone.
            acceptance: <g>Quest <y>accepted<g>. Thank you! oke i need some basic stuff, here is a list.
        repeats: 1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 5
                    amount: 24
                '1':
                    type: collect
                    materialid: 274
                    amount: 2
                '2':
                    type: collect
                    materialid: 263
                    amount: 12
        rewards:
            '0':
                type: item
                id: 98.2
                amount: 3
                take: false
            '1':
                type: quest
                id: House2
    House2:
        texts:
            description: Hello agian! Working realy hard on my house now, but i forgot i'm a miner in the public mine and i need to mine each day 64 block... Ummm can you do that for me?
            completion: <g>Great Thanks! You know what! You keep 50% of the stone!
            acceptance: <g>Quest <y>accepted<g>. Great thanks a lot, but i forgot that all my pickaxes are broke so i need to make a new one your self.
        repeats: 1
        objectives:
            '0':
                '0':
                    type: destroy block
                    materialid: 1
                    amount: 64
        rewards:
             '0':
                type: item
                id: 4
                amount: 32
                take: true
            '1':
                type: quest
                id: House3
    House3:
        texts:
            description: I'm looking for Charles, can you help me find him? please tell me if you fond him!
            completion: <g>Thank you, i think he can realy use your help.
            acceptance: <g>Quest <y>accepted<g>. He is a worker of the Block Trader.
        repeats: 1
        objectives:
            '0':
                '0':
                    type: delivery
                    npcdestination: 29
                    materialid: 0
                    amount: 0
        rewards:
             '0':
                type: quest
                id: Block1
    Block1:
        texts:
            description: You agian?! I got no time for you! i need to find a way to get logs in this shop!
            completion: <g>Thank you! here have some money.
            acceptance: <g>Quest <y>accepted<g>. You will help me? Ow wauw Thanks, oke get me 12 logs, Hurry!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 17
                    amount: 12
        rewards:
             '0':
                type: quest
                id: Block2
             '1':
                type: money
                amount: 35
    Block2:
        texts:
            description: Now i need some Sandstone, can you get me that?
            completion: <g>Thank you, Here is some money for your helping hand.
            acceptance: <g>Quest <y>accepted<g>. I need 32 Sandstone Blocks, but hury!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 24
                    amount: 32
        rewards:
             '0':
                type: money
                amount: 60
             '1':
                type: quest
                id: Block3
    Block3:
        texts:
            description: We are running out on Smoothstone, hurry up and get some!
            completion: <g>Thank you, Here is the payback on the coal and some money.
            acceptance: <g>Quest <y>accepted<g>. We need 64 Smoothstone!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 24
                    amount: 32
        rewards:
             '0':
                type: money
                amount: 100
             '1':
                type: item
                id: 263
                amount: 8
             '2':
                type: quest
                id: Block4
             '3':
                type: permission
                permission: essentials.kit.Axe5
    Block4:
        texts:
            description: We need to make a big deal with a wood trader is Dark Forest, can you go there and make the deal?
            completion: <g>Thank you, we now have all the wood we will ever need! Also i have heard that the General Guard is looking for some extra guards, mind take a look there.
            acceptance: <g>Quest <y>accepted<g>. His name is Atwood, and you need to give him 5 Iron axe's. Use /kit Axe5
        repeats: 1
        objectives:
            '0':
                '0':
                    type: delivery
                    materialid: 258
                    amount: 5
        rewards:
             '0':
                type: money
                amount: 100
             '1':
                type: quest
                id: Guard1
    Guard1:
        texts:
            description: Yes i'm looking for some new Guards, but you look weak. Do this test for me and we will talk about it.
            completion: <g>Well done! But that was not the real test.
            acceptance: <g>Quest <y>accepted<g>. You need to kill a Total of 50 Monsters, But no Passive mobs!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'zombie, skeleton, creeper, spider'
                    amount: 50
                    message: You need to kill 50 mobs!
        rewards:
             '0':
                type: money
                amount: 25
             '1':
                type: quest
                id: Guard2
    Guard2:
        texts:
            description: Here is the real test, Good Luck!
            completion: <g>Well done! But that was not the real test.
            acceptance: <g>Quest <y>accepted<g>. You need to kill a Total of 200 Monsters, But no Passive mobs!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'zombie, skeleton, creeper, spider'
                    amount: 200
                    message: You need to kill 200 mobs!
        rewards:
             '0':
                type: money
                amount: 100
             '1':
                type: quest
                id: Guard3
             '2':
                type: item
                id: 267
                amount: 1
    Guard2:
        texts:
            description: Here is the real real test, Good Luck!
            completion: <g>Well done! But that was not the real test.
            acceptance: <g>Quest <y>accepted<g>. You need to kill a Total of 350 Monsters, But no Passive mobs!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: hunt
                    string: 'zombie, skeleton, creeper, spider'
                    amount: 350
                    message: You need to kill 350 mobs!
        rewards:
             '0':
                type: money
                amount: 250
             '1':
                type: quest
                id: Guard4
             '2':
                type: item
                id: 306
                amount: 1
    Guard2:
        texts:
            description: Just joking! You did well out here! but a Guards work is not only killing mobs, a job of a Guards is much more than that!
            completion: <g>Well done! You got some Guard blood in you. but it took you so long a already fond some new Guards so i dont need you. But the Assistent of the healer ask't for you, mind take a look thare.
            acceptance: <g>Quest <y>accepted<g>. You need to walk a rond the city 3 times! Then return to me!
        repeats: 1
        objectives:
            '0':
                '0':
                    type: move location
                    amount: 500
        rewards:
             '0':
                type: money
                amount: 20
             '1':
                type: quest
                id: Healer1
    healer1:
        texts:
            description: We need those plants to make healing potions, but the plants will not grow. Can you help us?
            completion: <g>Thank you! Here have a free Full heal!
            acceptance: <g>Quest <y>accepted<g>. Bring us 6 bonemeal.
        repeats: -1
        objectives:
            '0':
                '0':
                    type: move location
                    amount: 500
        rewards:
             '0':
                type: health
                amount: 20
             '1':
                type: quest
                id:
    Curt1:
        texts:
            description: Hey pssst..! You like to use Blackjack? i can give you VIP Permission to use it! (75% Winning chance!) but you need to do somthing for me, can you do that?
            completion: <g>Realy you did that?! Wow, here is your VIP Ticket!
            acceptance: <g>Quest <y>accepted<g>. Some players try'd to get me banned. The players claims that i scam people, but i need you to kill them! Lurn them a lesson! In the Nether, There you can kill other players. Now Go!
        repeats: -1
        objectives:
            '0':
                '0':
                    type: player combat
                    amount: 1
                    string: - '*'
        rewards:
             '0':
                type: item
                id: 339
                amount: 1
             '1':
                type: quest
                id: Curt2
    Curt2:
        texts:
            description: What? The ticket did not work? I know! it whas ImtehQ he changed the system for it! Sorry about that. We need to fight back, we need to kick his ass for change the system agian! Will you help me?
            completion: <g>Good you got the stuff.
            acceptance: <g>Quest <y>accepted<g>. First we need some armour and some tools can you get it for me?
        repeats: -1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 306
                    amount: 1
                '1':
                    type: collect
                    materialid: 307
                    amount: 1
                '2':
                    type: collect
                    materialid: 308
                    amount: 1
                '3':
                    type: collect
                    materialid: 309
                    amount: 1
                '4':
                    type: collect
                    materialid: 267
                    amount: 1
        rewards:
             '0':
                type: quest
                id: Curt3
    Curt3:
        texts:
            description: Now for the next step we need food loots of food!
            completion: <g>Good you got the stuff.
            acceptance: <g>Quest <y>accepted<g>. Get me 2 Cakes, 5 Steak, 10 Cooked Porkchop and 1 Bucket of milk.
        repeats: -1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 354
                    amount: 2
                '1':
                    type: collect
                    materialid: 364
                    amount: 5
                '2':
                    type: collect
                    materialid: 320
                    amount: 10
                '3':
                    type: collect
                    materialid: 335
                    amount: 1
        rewards:
             '0':
                type: quest
                id: Curt4
    Curt4:
        texts:
            description: We need only 1 more thing, 1 think that makes it possible to kill ImtehQ in the normal world! you need to get items for it so i can make that thing!
            completion: <g>Good you got the stuff. Now Leave me alone! I need some time to make this powerfull tool
            acceptance: <g>Quest <y>accepted<g>. Get me 2 Diamonds, 1 Golden Sword, 5 Slimeballs and Iron Platebody.
        repeats: -1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 254
                    amount: 2
                '1':
                    type: collect
                    materialid: 283
                    amount: 1
                '2':
                    type: collect
                    materialid: 341
                    amount: 5
                '3':
                    type: collect
                    materialid: 307
                    amount: 1
        rewards:
             '0':
                type: quest
                id: Curt5
    Curt5:
        texts:
            description: I must warn you, a Prison escaped from jail. His name is Curt, if you see him please tell me!
            completion: <g>
            acceptance: <g> You fond him? and he scammed you to? now i have my prove to get in behind bars agian, but i need some help! You need to report Curt. Use: /report   amd report him!
        repeats: -1
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 0
                    amount: 0
        rewards:
             '0':
                type: item
                id: 254
                amount: 2
             '1':
                type: item
                id: 283
                amount: 1
             '2':
                type: item
                id: 341
                amount: 5
             '3':
                type: item
                id: 307
                amount: 1
             '4':
                type: item
                id: 354
                amount: 2
             '5':
                type: item
                id: 364
                amount: 5
             '6':
                type: item
                id: 320
                amount: 10
             '7':
                type: item
                id: 335
                amount: 1
             '8':
                type: item
                id: 367
                amount: 1
             '9':
                type: item
                id: 306
                amount: 1
             '10':
                type: item
                id: 307
                amount: 1
             '11':
                type: item
                id: 308
                amount: 1
             '12':
                type: item
                id: 309
                amount: 1
             '13':
                type: money
                amount: 500
     
  11. Offline

    SubLexx

    yes, i use 1.1.1 ^^ i has download it before i reply the bug here ^o^
     
  12. Offline

    nikitOScher

    thanks. I've changed my talk-items to ' * ' and it works.
     
  13. Offline

    SkyCraft

    Is this problem still around? I would love to be able to use the Traders again without killing my economy.
     
  14. Offline

    fullwall

    @SkyCraft - Bukkit still has not added inventory events. Depending on how long ago you used them, traders may be slightly safer. But I believe they're still exploitable...
     
  15. Offline

    ItsQ

    spout ?
     
  16. Offline

    aufdemrand

    First thing I see is the node for a money reward is not amount:, it is money:.

    Code:
            '0':
                type: money
                money: 50
    Also, according to the wiki (I have not tested this one myself), but the node for the quest reward is quest:, not id:.

    Code:
            '1':
                type: quest
                quest: House2
    Best thing to do in situations like this is to start taking quests out to narrow down the culprit.
     
  17. Offline

    ATmegaRed

    Hi! I tried to set up a Trader on my server, but normal people can't buy. For me it works normal, when i set for the owner somebody else, so I can buy, but nobody else then Admins can. For permissions i set them "citizens.trader.use.trade", the trader is unlimited in stock, and the IDs are set to sell.
     
  18. Offline

    aufdemrand

    Try allowing citizens.trader.use.*
     
  19. Offline

    ATmegaRed

    Tried it, doesn't work too...
     
  20. Offline

    Exidous

    permissions plugin is unsupported, use group manager, or permissionsbukkit.
     
  21. Offline

    aufdemrand

    PermissionsEX will work, too.
     
  22. Offline

    ATmegaRed

    But it says in the Wiki "Permissions"...?
     
  23. Offline

    aufdemrand

    The Bukkit Dev page for Citizens states for versions 1.1+

    Important to Know:
    • Citizens now ONLY supports superperms for its permission system. You can use any permission manager plugin that supports superperms (PermissionsBukkit, bPermissions, PEX, etc.)

    What permissions plugin are you using?
     
  24. Offline

    ATmegaRed

    Actually I can't say now, what permissions I am using... Its just called "Permissions", but when i search the page in the Plugin list, i get too much...

    /edit: What do you mean with superperms?
     
  25. Just "Permissions" is the old plugin that adds a permission system... but superperms is the bukkit's internal permissions system, plugins like PEX and stuff are just managers for those permissions.
    The permissions are set in permissions.yml in server dir.
     
  26. Offline

    Hawtin

    Bouncer stand around and do nothing? anyone have a solution?
     
  27. Offline

    aufdemrand

    Can you give us a little more detail?
     
  28. Offline

    Hawtin

    @aufdemrand naja machen halt nichts ^^, ich erschaffe npc mach nen guard draus danach bouncer und er greift aber nichts an, muss ich irgendwelche flags setzen? /guard flags -m hab ich versucht ändert aber nicht daran :\

    I use / create npc ... / toggle guard .... / guard type bouncer. Do I need to set any flags?
     
  29. Offline

    ATmegaRed

    Okay, I am using now PEX... Seems not working too, but i think I have to work a bit with PEX first... :D
     
  30. Offline

    SubLexx

    musst da schon paar flags hinzufügen ^^
    einfachste wohl /guard addflag -a
    dann noch /guard delflag all -p
    damit keine spieler angegriffen werden ^^ oda musst jeden mob einzeln hinzufügen ^^
     
  31. Offline

    aufdemrand

    Yes, you do need to set flags... check the wiki for more info, but this is an example:

    /guard addflag skeleton -m will allow it to attack skeletons.
     

Share This Page