[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

    fullwall

    To all experiencing permissions issues while using PermissionsEX: PermissionsEX has decided to work around the superperms system, causing issues with multiple plugins.
     
  3. Offline

    manroyal

    When the players on my server click the right mouse button on the smith, he shows that they do not have permission. A similar problem with the sellers - When the player presses the right mouse button to make a purchase, they simply allocate NPC dialogue and selling them does not appear. How to make sure that the players had no such problems? Maybe you need to install any plug-in authorization for Citizens and iConomy? Help me in my role-playing server should be trading. Forgive me for what I write is not literate. I do not know much English and I translate this text from Russian into English using Google Translator.
     
  4. Offline

    hiro24

    @fullwall Slight low-priority bug when you get a chance. The time feature on move location quests works. However, if you have to stay there for... say 5 minutes, you can come back in 10 minutes and you're still there w/o any quest progress. However, if you shuffle your feet a little, move slightly, it'll kick into gear and progress. Also.. some sort of progression notifier would really help.. maybe like.. /quest status to say "go here and stand for 5 minutes. You are at the location and have been for x minutes, x seconds" kind of thing. It's not critical, just a nice feature if you could. :)

    BTW, thanks for all the hard work. Because of citizens questing, along w/ some other plugins (commandhelper, commandsigns), I've built my own King of the Hill PvP arena on my server that runs off Citizens questing! ^_^ You get a quest to go cap the flag area for 5 min, and if you succeed I have it set up to give the player and everyone in their nation iconomy cash every hour.. so it gets competitive.. it's really cool, and couldn't have done it w/o Citizens, so thanks. Here's our official trailer. We're 4 days in so far and running strong.

    http://www.youtube.com/watch?v=zCMCqmrjXFg
     
  5. Offline

    axebyte

    need a hand on this one,
    Waypoint delay.. Cant get the NPC to stop and wait for a set time before moving on. Just constantly walks.
    Any way someone can explain how to use the /waypoints modifer dely?
    had 4 other Admins with me cant get it working at all.
     
  6. Offline

    hiro24

    quick question about permission rewards... superperms allows for per world permissions.. for example the command is:

    /permissions player setperm <name> <world>:<node> true

    Can I do this w/ citizens quest rewards?
     
  7. Offline

    SilentStray

    This is one of the many quests from my questers. Hope it helps. (using latest official builds)
    Code:
    MasterQuest:
        texts:
            description: "You have travered a long and hard journey to reach me. But things will only get harder if you wish to be a Master."
            completion: "I bow to your greatness Master. You have earned the right to be known as a great person in these land. I bid you a long and prosperous life. Farewell."
            acceptance: "A wise and nobile decision you have mad in choosing to be a Master. Gather these items and Hunt down these Pests for me and we'll see how great a crafter you really are. (Hint use /quest status to view more quest info)"
        repeats: 0
        objectives:
            '0':
                '0':
                    type: collect
                    materialid: 57
                    amount: 1
                    optional: False
                    finishhere: False
                    message: "Bring me 1 Diamobd Bloack."
                '1':
                    type: collect
                    materialid: 47
                    amount: 1
                    optional: False
                    finishhere: False
                    message: "Bring me 1 Bookshelf."
                '2':
                    type: collect
                    materialid: 340
                    amount: 5
                    optional: False
                    finishhere: False
                    message: "Bring me 5 Books."
                '3':
                    type: collect
                    materialid: 27
                    amount: 10
                    optional: False
                    finishhere: False
                    message: "Bring me 10 Powered Rails"
                '4':
                    type: collect
                    materialid: 362
                    amount: 6
                    optional: False
                    finishhere: False
                    message: "Bring me 6 Melon Seeds."
                '5':
                    type: collect
                    materialid: 368
                    amount: 14
                    optional: False
                    finishhere: False
                    message: "Bring me 14 Ender Pearls."
                '6':
                    type: collect
                    materialid: 52
                    amount: 2
                    optional: False
                    finishhere: False
                    message: "Bring me 2 Monster Spawners."
                '7':
                    type: collect
                    materialid: 20
                    amount: 16
                    optional: False
                    finishhere: False
                    message: "Bring me 16 Glass."
            '1':
                '0':
                    type: hunt
                    string: 'cave spider'
                    amount: 2
                    optional: False
                    finishhere: False
                    message: "Hunt 2 Cave Spiders."
                '1':
                    type: hunt
                    string: 'skeleton, enderman, spider, zombie, creeper, cow, chicken'
                    amount: 20
                    optional: False
                    finishhere: False
                    message: "Now hunt me 20 of the following. Skeleton, Enderman, Spider, Zombie, Creeper, Cow, and Chicken."
        rewards:
            '0':
                type: rank
                rank: Master
            '1':
                type: health
                amount:
            '2':
                type: money
                money: 5000
    
     
  8. Offline

    fullwall

    @hiro24 - just added that feature.
     
  9. Offline

    SilentStray

    I'd like to know fullwall. How much system resources does Citizens take up? Mostly Guards. Also, bodyguards don't attack, and they follow way to close, often bumping me causing me to die. (lava)
     
  10. Offline

    hiro24

    I see it... awesome.. so would it be like this:
    Code:
        rewards:
            '0':
                type: permission
                permission: <world> permission.node
                take: false
    
    or I see the changes are in command rewards so would it be like..
    Code:
        rewards:
            '0':
                type: command
                command: permissions player setperm <player> <world>:permission.node
                server: true
    
    b/c I don't think the 2nd one would work for normal players, due to not being able to use the permissions command, would it?
     
  11. Offline

    BattleGroundxx

    @aPunch one request (in spoiler)
    NO ONE AND I MEAN NO ONE CLICK THIS EXCEPT ME OR THE CITIZENS DEVELOPERS CLICK THIS! (open)

    If a quest is started by Player 1. Player 2 cannot finish the quest. So I was wondering if you guys could add that for feature for my adv. map. Anyone can start a quest and anyone can finish the quest.
     
  12. Offline

    T-urbo

    Help me pls :(
    18:07:43 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldM
    anager.<init>(Lnet/minecraft/server/WorldServer;)V
    18:07:43 [SEVERE] at net.citizensnpcs.resources.npclib.NPCSpawner.spawnNPC
    (NPCSpawner.java:31)
    18:07:43 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register
    (NPCManager.java:164)
    18:07:43 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register
    (NPCManager.java:193)
    18:07:43 [SEVERE] at net.citizensnpcs.commands.BasicCommands.create(BasicC
    ommands.java:226)
    18:07:43 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    18:07:43 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    18:07:43 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    18:07:43 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    18:07:43 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
    uteMethod(CommandsManager.java:522)
    18:07:43 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
    ute(CommandsManager.java:406)
    18:07:43 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:202
    )
    18:07:43 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:39)
    18:07:43 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:163)
    18:07:43 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:353)
    18:07:43 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
    etServerHandler.java:756)
    18:07:43 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:721)
    18:07:43 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:714)
    18:07:43 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:3
    3)
    18:07:43 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    18:07:43 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:92)
    18:07:43 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :108)
    18:07:43 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:464)
    18:07:43 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:374)
    18:07:43 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    18:08:34 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldM
    anager.<init>(Lnet/minecraft/server/WorldServer;)V
    18:08:34 [SEVERE] at net.citizensnpcs.resources.npclib.NPCSpawner.spawnNPC
    (NPCSpawner.java:31)
    18:08:34 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register
    (NPCManager.java:164)
    18:08:34 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.register
    (NPCManager.java:193)
    18:08:34 [SEVERE] at net.citizensnpcs.commands.BasicCommands.create(BasicC
    ommands.java:226)
    18:08:34 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    18:08:34 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    18:08:34 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    18:08:34 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    18:08:34 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
    uteMethod(CommandsManager.java:522)
    18:08:34 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
    ute(CommandsManager.java:406)
    18:08:34 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:202
    )
    18:08:34 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:39)
    18:08:34 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:163)
    18:08:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:353)
    18:08:34 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
    etServerHandler.java:756)
    18:08:34 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:721)
    18:08:34 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:714)
    18:08:34 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:3
    3)
    18:08:34 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    18:08:34 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:92)
    18:08:34 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :108)
    18:08:34 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:464)
    18:08:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:374)
    18:08:34 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
     
  13. Offline

    ladan208

    Skin changer plz? :(
     
  14. Offline

    red7up

    SpoutCitizens
    :p
     
  15. Offline

    ladan208

    dosn't work with the new ver
     
  16. Offline

    animalkid5679

    How do you make them ike a wizard or a gun smith and all that?
    i don't know the command
     
  17. Offline

    SilentStray

    After you right click an NPC you toggle it's type with /toggle <type>. For a Wizard /toggle wizard
     
  18. Offline

    animalkid5679

    Thanks, helped alot
     
  19. Offline

    red7up

    ah, sorry m8, youll have to wait for it to update :(
     
  20. Offline

    Snipizzz

    Thank you
     
  21. Offline

    MusicMonkey5555

    Hey awesome pluging, but I ran into an issue and I am sure it is just I have the quest formatted wrong or something. I followed this tutorial:

    Here is the quest file just in case you don't want to look at the entire video:
    Code:
    Priest:
        texts:
            description: Here is a list of thing's I need. If you take it to Jed he will give them to you and I will pay you a fair price if you bring them to me.
            completion: The priest gives you a $100.
            acceptance: <g>Sure, not a problem. <y>Jed can be found in Kingdoms edge.
        repeats: -1
        objectives:
            '0':
                '0':
                    type: move location
                    location:
                        x: -192
                        y: 69
                        z: 272
                        world: world
                    amount: 5
                    message: <y> The priest hands you the list. It asks for. <g> 1 Elder Peral, 1 Book, 4 Bread.
                    rewards:
                         '0':
                            type: item
                            id: 339
                            amount: 1
                            take: false
            '1':
                '0':
                    type: delivery
                    npcdestination: 1
                    materialid: 339
                    amount: 0
                    message: <y>You, <g>Hello Jed, here's the priest's shopping list. <y> Jed takes the list, looks it over, then hands it back. Jed, <g>Sadly I don't have the stuff to make the Priest's bread. If you get me 12 wheat I can do it.
            '2':
                '0':
                    type: delivery
                    npcdestination: 1
                    materialid: 296
                    amount: 12
                    message: <y>You, <g>Here is the wheat you need. <y> Jed, <g>Come back in a few and I will have the bread done.
            '3':
                '0':
                    type: delivery
                    npcdestination: 1
                    materialid: 339
                    amount: 1
                    message: <y>Jed, <g>Okay, here you go. Everything he ordered.
                    rewards:
                         '0':
                            type: item
                            id: 368
                            amount: 1
                            take: false
                         '1':
                            type: item
                            id: 340
                            amount: 1
                            take: false
                         '2':
                            type: item
                            id: 297
                            amount: 4
                            take: false
            '4':
                '0':
                    type: delivery
                    npcdestination: 0
                    materialid: 368
                    amount: 1
                    message: <y>You give the preist the Ender Pearl.
                '1':
                    type: delivery
                    npcdestination: 0
                    materialid: 340
                    amount: 1
                    message: <y>You give the preist the Book.
                '2':
                    type: delivery
                    npcdestination: 0
                    materialid: 297
                    amount: 4
                    message: <y>You give the preist the 4 bread.
        rewards:
             '0':
                type: money
                money: 100
    
    I modified it a bit of course.

    The issue I am having is that the ender pearl, book and bread never get taken at the end and I get the $100. It actually never displayed any of the final quest messages (You give the preist the Ender Pearl...). It just says "The priest gives you a $100.", I get the money and I still have the 3 different items.

    Anyone have a clue what I did wrong?
     
  22. Offline

    fullwall

    To all - I'll be quite busy over the next couple of weeks, but I'm planning on working on database support. Aside from that, I'm open to suggestions for new features. I was thinking of focusing on a millenaire approach / creating more NPC mobs. Thoughts?
     
  23. Offline

    glow

    hehe make An option for town guards..

    so they patrol an erea.. and when ever a player is being ... naughty it starts ganking him with his buddy guards untill this person bites the dust :):)

    we Vote YESYES :D
     
    EruIluvatar and MusicMonkey5555 like this.
  24. Offline

    SilentStray

    I would like to see bodyguards follow at a distance, they currently bump me to death.

    Lmao, so something like having the guard walk around, then a player griefs or something around them causing them to forgive the grief but move towards the player for a certain amount of time and if the player performs another action which they don't like withen their area then they begin attacking?
     
  25. Offline

    MusicMonkey5555

    I agree with bodyguards following too close. I was trying to arrow a creeper and I couldn't because he was in the way. Smarter NPC would be nice. I would also like the anti-griefer NPC :)
     
  26. Offline

    KoBro12

    im having a problem where if i call a NPC a name of a player on the server, it followes that players path... help?
     
  27. Offline

    Olaros96

    when i try to create a npc it says:

    Please report this error:[See in Console]
    Java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorld
    Manager.<init>(Lnet/minecraft/server/WorldServer;)V
     
  28. Offline

    DarkZeR0

    The guards wont move to attack the mobs
    the copy is glitched and the waypoints wont work.
     
  29. Offline

    PachiWachi

    Will it ever be possible for an NPC to restrict access to a certain area defined by worldedit?
     
  30. Offline

    hiro24

    Can quests be given that require different types of items? or rewards? For example, colored wool?
     
  31. Offline

    MusicMonkey5555

Share This Page