[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

    prelude85

    And make a damnt SAVE command!

    /npc SAVEALL!!!
     
  3. Offline

    prelude85

    MOTIVATION FOR BEING PISSED: I emptied out all my guts and creativity into these little things.

    So i tought..... Now, IM empty, My server is empty, Your NPCs are empty, All gone in vain.Its like having a baby and waking up "oh, it was just a dream! none of it happned!" Its not like i can just re-write all the NPCS i created!

    I just have to start all over and write a new book!, Worst: Think of it. Cause im out of lines!
     
  4. Offline

    scrollsmash

    Can someone tell me or direct me to a page with info on the "Guard" toggle? Just trying to find out which types of guard thier are, also when I give an NPC armor it says they get it but it doesn't actually show on them, is this an error or just the way it happens? They hold items fine so I thought the armor would be visible :D EXCELLENT plugin!!!
     
  5. Offline

    scrollsmash

    Its called "citizens save" lol I was confused at first and did the same thing, live and learn ;)
     
    Mordaith likes this.
  6. Offline

    Arsenal

    type /armor torso [then the id]
     
  7. Offline

    prelude85

    @Devs
    i just read that entire config. In all reason, Why are texts not wrapped in quotes??

    Whenever i would use : ; or ' in my texts, this would guarantee a write/read error!
    I think this is the main reason that they are not saving!
    Because all little NPCs with texts such as "Hi" "Hello" "How are you" and other bull are saved...

    @scrollssmash
    Thanks, will try! (not documented?)
     
  8. Offline

    scrollsmash

    @prelude85 Its actually in the wicki
    @Arsenal Nope wouldn't work. Here's what I typed for leather chestplate:
    /armor torso 299
    Is that what u meant?
     
  9. Offline

    scrollsmash

  10. Offline

    wulfbear_joe

    Hey guys, one problem:
    I created a NPC toggled him to be a Trader filled his stock, changed his owner to a non-existing player. For trying reasons, I put myself out of the admin group and into the builder group. Now, whenever I try to trade with a Trader, nothing shows up, but I get an error in the console:
    Code:
    2011-08-19 20:05:14 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to iQuest
    java.lang.NullPointerException
        at sddddgjd.NPC.NPCListener2.onPlayerInteractEntity(NPCListener2.java:55)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:845)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    It seems to be from iQuest. Does Citizens has any complication with iQuest?
     
  11. Offline

    scrollsmash

    I think iQuest is finishing up isn't it? I could be wrong but anyway I use NPC-Quest and EpicQuest with Citizens and no errors ever, they come with a stack of quests and you can make your own too :rolleyes:
     
    wulfbear_joe likes this.
  12. Offline

    ERxSilentkillz

    13:18:09 [INFO] PermissionsBukkit v1.1 is now enabled
    It says its working and I still can not use and citizens commands.
    Here is my permissions code.
    Code:
    users:
        ERxSilentkillz:
            permissions:
                permissions.*: true
                citizens.*: true
                citizens.admin: true
                clear.self: true
                clear.other: true
                worldedit.*: true
                simplegod.use: true
            groups:
            - admin
        Justin:
            permissions:
                permissions.build: true
            groups:
            - builders
        Brice:
            permissions:
                permissions.build: true
            groups:
            - builders
        Garth:
            permissions:
                permissions.build: true
            groups:
            - builders
        g:
            permissions:
                permissions.build: true
            groups:
            - builders
        xVelo:
            permissions:
                permissions.build: false
            groups:
            - default
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
                citizens.*: true
                citizens.admin: true
                clear.self: true
                clear.other: true
                worldedit.*: true
                simplegod.use: true
            inheritance:
            - builders
        builders:
            permissions:
                permissions.build: true
                permissions.*: true
                clear.self: true
                clear.other: true
                worldedit.*: true
                simplegod.use: true
            inheritance:
            - default
    messages:
        build: '&cYou Do Not Have Permission To Build.'
    
    ANY ADVICE?
     
  13. Offline

    ERxSilentkillz

    Got it EssentialsGroupBridge and EssentialsGroupManager do not work with Citizens
     
  14. Offline

    0Zerotiger

    it's like a player that don't move and i think i remember one on youtube saying that they are using skin from the players on the server (don't know if it's true)
     
  15. Offline

    tada

    i tried to make a trader but when i should add an item it said that i didnt have an economy.
    since i used iconomyi went to economy note and wrote true at use-econplugin and restarted the server.
    now when i tried adding an item it said

    please report this error[see console]
    java.lang.nullpointerexception: null

    here is the console
    22:12:13 [SEVERE] java.lang.NullPointerException
    22:12:13 [SEVERE] at com.citizens.properties.properties.UtilityProperties.
    getPrice(UtilityProperties.java:38)
    22:12:13 [SEVERE] at com.citizens.economy.ItemInterface.hasEnough(ItemInte
    rface.java:25)
    22:12:13 [SEVERE] at com.citizens.economy.EconomyHandler.canBuy(EconomyHan
    dler.java:137)
    22:12:13 [SEVERE] at com.citizens.commands.commands.BasicCommands.create(B
    asicCommands.java:238)
    22:12:13 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    22:12:13 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    22:12:13 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    22:12:13 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    22:12:13 [SEVERE] at com.citizens.resources.sk89q.CommandsManager.executeM
    ethod(CommandsManager.java:518)
    22:12:13 [SEVERE] at com.citizens.resources.sk89q.CommandsManager.execute(
    CommandsManager.java:404)
    22:12:13 [SEVERE] at com.citizens.Citizens.onCommand(Citizens.java:196)
    22:12:13 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:35)
    22:12:13 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:129)
    22:12:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:352)
    22:12:13 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
    etServerHandler.java:737)
    22:12:13 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:701)
    22:12:13 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:694)
    22:12:13 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:3
    3)
    22:12:13 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    22:12:13 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:89)
    22:12:13 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    22:12:13 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:454)
    22:12:13 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:363)
    22:12:13 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  16. Offline

    coffeehedake

    @tada

    You need to edit citizens.yml to remove single quotes...

    Basically you want to leave single quotes on only two parts in citizens.yml:
    Code:
    items:
        item-list-on: true
        basic:
            select-items: '*'
            talk-items: 340,
    and again here:
    Code:
    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%]: '
     
  17. Offline

    wulfbear_joe

    Oh, well thank you!
    I'll try it out later if I don't run out of time :D
     
  18. Offline

    tada

    so what you are sayin is that i should remove ('*') and the quotes from (format: '[%name%]: ')?
    as you might se im not very good at programing or english:)
     
  19. Offline

    NotYetRated

    Is it possible to add player names to the blacklist of guards? My members would like their town guards to be able to target certain other players, this possible?

    EDIT:

    Also, how exactly do healers work? How do I get them to heal my members?
     
  20. Offline

    Mohammad

    The npcs always get up after reloading or restarting and I have to get my backup turn my server off and use the backup file to get them working.
    i cant reload at all
     
  21. Offline

    Arsenal

    Yea sorry it didn't work i don't know then.
     
  22. Offline

    ItsQ

    yes
     
  23. Offline

    BioRage

    Anyone care to help, didn't find much on Wiki.

    Need help with:
    - Pathing and Way Points ( I specify to walk in a square, with both /npc waypoints, and npc path, and they don't go the proper way, just back in forth beween points 1-5)
    - How do I create "healers/blacksmith/evilmobs/etc?"

    Cheers!
     
  24. Offline

    GREENGUY11

    Is there any way to implement nicknames for the npcs?

    so you give the npc a minecraft username for that usernames skin and then just give the npc a nickname that is displayed but the npc is still recognized as the minecraft username you gave it like other plugins that give you the capability of giving nicknames that show up in chat and stuff.
     
  25. Offline

    demonlocke

    Hi, I love your plugin except for one thing. I'm running iConomy 5.0.1 here is the link: http://forums.bukkit.org/threads/econ-iconomy-5-0-1-eruanna-953.40/ but when i try to use a trader npc and give it/take some money. It says I have no economy plugin in the server. I've also tried BosEco. Can you please help me out. I'm running a big server, the hopecraft one and i can use some help.
     
  26. Offline

    BlackPandemic

    Did you enable it in your economy.yml file? You have to have econplugin set to true.
     
  27. Offline

    Zenithas

    Voted, and appreciated. Finding the disappearing NPC bug seems to be related to their pathing, had one reappear inside obsidian, three floors down in my fortress/hub.

    Evil NPCs were a little annoying in their spawn, not much I could do about that, but they dropped items as coded for, which was awesome.

    Looking forward to future updates!
     
  28. Offline

    Musaddict

    @fullwall @aPunch
    So, since you will be forcing us to change the way we choose to have our servers and are preparing us for "the future", can you at least support Spout? This decision disappoints me :( You should at least take some time to continue to support it instead of forcing the majority of your users to change their ways simply because you feel it's the future :/
     
    tombik likes this.
  29. Offline

    aPunch

    No, we aren't going to negotiate with you. In our eyes, Spout is not "the future", it is just a temporary API that will be surpassed by better ones. Unlike Spout, superperms are built-in to Bukkit and are here to stay. As developers for a plugin that utilizes Bukkit's API, we will support them.

    I am sorry that you feel this way, but this is the direction Citizens is going in. If you feel pressured by Citizens to upgrade to a superperms plugin, then don't use it until you are comfortable with superperms. The decision to drop Permissions 2.7/3.x support will pay off in the long run, I assure you.
     
  30. Offline

    Musaddict

    Do you have any plans of supporting Spout? Seeing as it's a true plugin of the future, you should at least resolve some conflicts Citizens have with it.

    Edit: oh wait nvm. Damn... i keep having this issue with LogBlock... can you take a look at the compatibility issue where if an SQL server is disabled with LogBlock installed, it's messes up your economy?
     
  31. Offline

    BioRage

    @aPunch :)
     

Share This Page