[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

    Comp_uter15776

    @Musaddict

    Yes, it's /npc armor <helm/torso/legs/boot>
    for items it's /npc item <data value>
     
  3. Offline

    kaleev

    Very nice plugin !!
    -only one question: i create a wizard/healer etc.- is it possible, that an onther player can interact with the npc (getting heal/teleport) ?

    Thank you =)
     
  4. Offline

    Gonfa

    Can u add so when a NPC is walking and is looking at a player like 10 blocks away he stops for like 10 secondsand looking at the player and then starts walking again??
     
  5. Offline

    Gazownik

    But what im supposed to do now , i wont name every npc with the same names as users already got lol...
    I was asking about that how i could change skin of a single npc/group of npcs because i downloaded already few skins.
     
  6. Offline

    Mordaith

    Hey guys,

    I've been tinkering around with trying to install the latest version of citizens. Every time I do all the citizens disappear and will not load. I continue to get those messages as described in Op's post - however removing the single quotes seems to do nothing.

    Before I changed the config file I was getting this message. Which I have gathered was rather typical.

    After I changed the quotes I got this error.



    Any thoughts or ideas? I'd love to get the new version up and running.
     
  7. Offline

    theC

    get this error: npc limit reached, but i haven`t created any npc...~.^
    Show Spoiler
    Code:
    range:
        guards:
            default-bouncer-protection-radius: 10
            pathfinding: 16.0
        basic:
            look: 5
    items:
        item-list-on: true
        basic:
            select-items: '*'
            talk-items: 0,
        healers:
            give-health-item: 35
            take-health-item: 278
        wizards:
            mana-regen-item: 348
            interact-item: 288
    ticks:
        guards:
            respawn-delay: 100
        healers:
            health-regen-increment: 12000
        wizards:
            mana-regen-rate: 6000
        saving:
            save-often: true
            use-task: true
            delay: 72000
        pathing:
            max-stationary: -1
            max-pathing: -1
        waypoints:
            right-click-pause: 70
        general:
            delay: 1
    general:
        defaults:
            enable-following: true
            talk-when-close: false
        debug-mode: false
        healers:
            pay-for-heal: true
            regen-health: true
        colors:
            use-npc-colours: true
            npc-colour: f
        wizards:
            regen-mana: true
            max-mana: 100
            wizard-max-locations: 10
        notify-updates: true
        chat:
            slashes-to-spaces: true
            selection-message: <g>You selected <y><npc><g> (ID <y><npcid><g>).
            default-text: Hello.;How are you today?;Having a nice day?;Good weather today.;Stop hitting me!;I'm bored.;
            creation-message: <g>The NPC <y><npc><g> was born!
            format: '[%name%]: '
        selection:
            quick-select: false
        use-bukkit-permissions: false
    
    Code:
    economy:
        use-econplugin: true
        use-economy: true
    prices:
        blacksmith:
            creation:
                item: 10
                econplugin: 100
                item-currency-id: 37
            toolrepair:
                item:
                    wood: 1
                    diamond: 5
                    stone: 3
                    gold: 2
                    iron: 4
                    misc: 2
                econplugin:
                    wood: 0.25
                    diamond: 1.25
                    stone: 0.75
                    gold: 0.5
                    iron: 1
                    misc: 0.5
                item-currency-id: 37
            armorrepair:
                item:
                    diamond: 5
                    gold: 2
                    leather: 1
                    iron: 4
                    chainmail: 3
                econplugin:
                    diamond: 1.25
                    gold: 0.5
                    leather: 0.25
                    iron: 1
                    chainmail: 0.75
                item-currency-id: 37
        basic:
            creation:
                item: 10
                econplugin: 100
                item-currency-id: 37
        guard:
            creation:
                item: 10
                econplugin: 100
                item-currency-id: 37
        wizard:
            creation:
                item: 10
                econplugin: 100
                item-currency-id: 37
            changetime:
                item: 10
                econplugin: 100
                item-currency-id: 37
            spawnmob:
                item: 10
                econplugin: 100
                item-currency-id: 37
            teleport:
                item: 10
                econplugin: 100
                item-currency-id: 37
            togglestorm:
                item: 10
                econplugin: 100
                item-currency-id: 37
        trader:
            creation:
                item: 10
                econplugin: 10
                item-currency-id: 37
        healer:
            creation:
                item: 10
                econplugin: 100
                item-currency-id: 37
            heal:
                item: 10
                econplugin: 100
                item-currency-id: 37
            levelup:
                item: 10
                econplugin: 100
                item-currency-id: 37
        quester:
            creation:
                item: 10
                econplugin: 100
                item-currency-id: 37
    
    Code:
    pirates:
        spawn:
            spawn: false
            max: 2
        misc:
            names: Pirate_Pete,Piratebay,Jack_Sparrow,
            steal-messages: I stole yer booty.;Aaargh.;
    evil:
        spawn:
            spawn: false
            max: 2
        items:
            tame-item: 354
            drops: 260,357,2256,
        misc:
            failed-tame-messages: Ha! You can't tame me!;Nice try, <name>!;Muahahaha, I am evil!;
            names: Evil_aPunch,Evil_fullwall,Evil_Notch,Herobrine,
            tame-chance: 5
    general:
        spawn:
            delay: 200
    
    
    lg
    theC
     
  8. Offline

    ItsQ

    i had 22 npcs running and i update the server there are all gone and i cant create new ones...
    here is my server log.
    the bug log:
    its umm 3.31MB file so i uploaded here it is:
    http://www.megaupload.com/?d=3YH4RN50
     
  9. Offline

    aPunch

    @Mordaith These nodes still require single quotes around them:

    Code:
    items:
        select-items: '*'
    
    general:
        chat:
            format: '[%name]: '

    @theC Give yourself the 'citizens.npccount.<amount>' permission node. Right now you don't have that node so you won't be able to create any.

    @Everyone having issues with built-in permissions:

    Do you have the citizens.yml setting 'use-bukkit-permissions' set to true?
     
  10. Offline

    ItsQ

    I have the Permissions "*"
     
  11. Offline

    Mordaith

     
  12. Offline

    ItsQ

    Do you have the citizens.yml setting 'use-bukkit-permissions' set to true?

    Set to false/true still same error :S
     
  13. Offline

    theC

    ok thx a lot, but what about items like gunpowder? 351:15 isn't working.

    Edit: Is there a bug, which delete thing from a NPCs inventory?
     
  14. Offline

    CreamPie9

    On my private server, I am the only op. I cannot use any commands at all. I thought operators were always set to have permissions to do everything... How can I set the permissions for me? I don't know any of the permission nodes because I can't find them anywhere.
     
  15. Offline

    Mordaith

    I think this is what you are looking for.

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

    CreamPie9

  17. Offline

    Azzarrel

    The Trader is cool and does work, but if one person has traded. nobody else can interact ...
     
  18. Offline

    Svettnes

    I'm trying to copy a wizard so I can TP back and forth from a location, but my copy keeps disappearing?
    I can't select it but it's still in the npc-profiles.yml.
    I've tried making a new npc instead of copying it but still with same result.
     
  19. Offline

    Hydrothermal

    Few things to say here...
    First off, God Mode does not work on Evil NPCs. I don't know if this is intentional or not, but I find it rather frustrating.
    Also, can you make it so that you can change how often Evils spawn? I enabled them on my server, and they're completely swarming everywhere.
    And last of all, is there any way you can set them to NOT spawn in certain areas? They spawn everywhere, seemingly regardless of lighting.

    Thanks!
     
  20. Offline

    MephistophiA

    There is a bug that you can buy free items from traders in ver.1.0.9c. Is this fixed in 1.0.9d.
     
  21. Offline

    jycs

    "This server is not using an economy plugin" etc...

    What ? I'm using Iconomy ! What is wrong ?
     
  22. i get this error on startup and all i did was put the .jar file in my plugins and thats it :/
    Code:
    21:21:04 [SEVERE] Error occurred while enabling Citizens v1.0.9 (Is it up to dat
    e?): com/google/common/collect/Maps
    java.lang.NoClassDefFoundError: com/google/common/collect/Maps
            at com.citizens.npcs.NPCTypeManager.<clinit>(NPCTypeManager.java:10)
            at com.citizens.Citizens.registerTypes(Citizens.java:271)
            at com.citizens.Citizens.onEnable(Citizens.java:87)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:857)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:264)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Maps
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 13 more
     
  23. It would be really awesome if you guys could develop some kind of API so that everyone else could build on this awesome plugin less tediously rather than modifying the source. I say this because this seems like the type of plugin that has broad potential, just limited by what developers can think of (sort of like iConomy). Overall, great work :D.
     
  24. Offline

    Ubermatik

    Sorry for being a super douche, but I'm having difficulty making npc guards. Whenever I try, it says 'your npc isn't a guard yet', and I can't find any other command to work... Everything else works fine, so I'm probably just being stupid.
     
  25. Offline

    fullwall

  26. Offline

    microskies

    What is the group for NPCs? Sounds stupid but I am using ManagePvP to stop people from the same groups attacking each other, and earlier, Herobrine came running at me, and i started attacking, but it said 'you can not attack Herbrone, his group is protected' (which is part of ManagePvP) I have the 'default' group set to be protected, so would i just have to remove these nodes form the NPC's personal permissions?
     
  27. Offline

    isikerkan

    Can you fix when you kill a Evil NPC he dont drop his sword?
     
  28. Offline

    Monkey78

    Apparently my NPC's count as real players on voting plugins, e.g. TimeAndWeatherControl.
    This means that when someone is on the server wanting to vote for a time/weather change, it's waiting for the NPC's to vote and drives the percentage to pass up, therefore will never pass the vote.
    If I try alter the percentage to compensate, then I have to change it in the config every time a new NPC has been made.

    Is this an issue that can be resolved with this plugin?
    I've noticed "Essentials" plugin (and a few others) makes userdata profiles for the NPCs too because it thinks they're real players. Is this linked?
     
  29. Offline

    rockguy32

    It said setting owner to [name] but then only added that person to the owners rather than transferring ownership.
     
  30. Offline

    Mordaith

    Hey Guys!

    I have been able to update to Citizens d! I am sure a new version will be out in days to undermine my efforts :3

    That said, I do have a strange error to report. I had noticed it before, but thought it may be fixed with installing d.

    When using a wizard, when we remove a location, it will play havoc with the wizards location list. For example, when I did it just a moment ago on my server - instead of removing just one location - it removed all of them except one.

    I am not sure if this is a common/known issue. Is there a fix for it on my end? It's me isn't it? I did something...

    *coughs*

    Anyway, seriously, love the plug in. Looking forward to the future. Very curious to see how things work with the 1.8 update. Thanks for everything!
     
  31. Offline

    theC

    do you get the money, if someone buy something, or ist the money in the npc
     

Share This Page