[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

    Gazownik

    Hey guys i have no idea if guards working well..... and i cant find half of commands like Guard Modes : Bouncer/bodyguard etc. Btw when i toggle bodyguard then npc is only following me... he's not attacking or anything.
    When i toggle him as a bouncer then he's not doing anything either.

    Ah and , how i can create an evil ?;o
    Or spawn him :p....?
     
  3. Offline

    ladan208

    now i got a new problem the npc is only looking at me he dont talk or anything :(
     
  4. How can i fix this?:

    Code:
    2011-08-20 23:16:32 [SEVERE] Could not pass event CHUNK_UNLOAD to Citizens
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
        at com.citizens.SettingsManager$Constant.toBoolean(SettingsManager.java:150)
        at com.citizens.utils.Messaging.debug(Messaging.java:68)
        at com.citizens.listeners.WorldListen.onChunkUnload(WorldListen.java:42)
        at org.bukkit.plugin.java.JavaPluginLoader$50.execute(JavaPluginLoader.java:591)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:243)
        at net.minecraft.server.World.doTick(World.java:1719)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:444)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  5. Offline

    coffeehedake

    Well, there are two "permissions" one is a plugin (Permissions 2.x or 3.x) and the other is built into CraftBukkit 1000+.
    The one you linked to is a little different, and I'm not familiar with it. You don't remember which one you installed?

    What have you configured for actual permissions in whatever plugin you're using? If you haven't set explicit permissions, no one on your server will be able to do much of anything besides regular minecraft stuff.
     
  6. Offline

    coffeehedake

    @Niduin

    Go back at least 2 pages and read some of the posts, this is a common configuration issue in your citizens.yml. You need to edit out all of the single quotation marks except in two places. (mentioned in the first post) leave the single quotes in the other yml's alone.

    I'd elaborate more but I'm on my phone, takes alot longer to type and insert code tags. I think the previous page or the one before that has an explanation (by me) that will help, else click my name and find all my posts.
     
  7. Offline

    coffeehedake

  8. Offline

    ladan208

  9. Offline

    LucidLethargy

    What is this about?

    (the arrows keep pointing to the "*" and either the nothingness after it, or the comma after it.
    Can we no longer make it so any item used will work to activate?)

    I am on CB1000 using 1.0.9d

    Upon removing the "*" and replacing it with "0" to see if it worked without this, I found that it did in fact still not work... Here is the error:

    I have replaced the comments from everything I know of (unless there's a config hidden in a sub-folder of citizens I need to also change?) I copied most information, and did a find and replace on the file that holds all the npc information for the comma's.
     
  10. Offline

    fullwall

    @BioRage - waypoints have a bug in 1.0.9d that will make them hard to use - this has been fixed in 1.1. To create healers etc. use /toggle [type]. To create evil npcs, turn them on in mobs.yml and wait for one to spawn.
     
  11. Offline

    fullwall

  12. Offline

    BioRage

    Thanks fullwall, still waiting for the day you take Gastronomic back!
     
  13. Offline

    LucidLethargy

  14. Offline

    scrollsmash

    Actually this does work, I have been using it for amost a week now. They can get a little annoying at times, it would be GREAT if you could configure where they spawn :D
     
  15. Offline

    fullwall

    @LucidLethargy - unfortunately, YAML does not allow special characters like the minecraft colour symbol to be used in files, as you have done for chatformat. Replace the colour symbol with <[code]> (might be &code).
     
  16. Offline

    Safetybrick

    Thanks for the reply fullwall was wondering this myself as well.
     
  17. Offline

    creepycreeper

    Thnx for the help, at least my questions answered. So, just everything in the citizens.yml only?

    The disappearing thing things can be handled with a /reload, so its ok. But here's another issue. NPC's, especially traders, are reverting back to normal. But in the NPC-Profiles it's all still there. ???
     
  18. Offline

    QQCucumber

    I do wish you guys would reconsider on the whole Spout thing. Notch has already stated the touted 'Modding API' is pretty much just going to be the source code that people are working with already, it'll just make mods easier to distribute. Spout won't change much. There's nothing about Spout that makes it any more temporary than Bukkit is.

    I would love to see Citizens have optional Spout support. Not for NPC skins, those are easy - but rather things like using the NPC services, it would make it much more intuitive.
     
  19. Offline

    Hryniu

    Are you going to add.. A price for each type of armor to blacksmith ? That would be useful.
     
  20. Offline

    Plancke

    could you try and make it so the evil NP's only have iron swords because it is a cheap way to get a diamond sword on my Iconomy server
     
  21. Offline

    Byktor

    The NPC Doesn't Speaak!
     
  22. Offline

    Schlumpf

    Hello,
    I got a Permission Problem. I made some traders. All work when I am Admin, but if a normal user will buy something he right click the npc and just recieve the message form the npc and don't come into the buy menu.
    I set this permission: citizens.trader.use.trade but it didn't helped. What permission I must set to that normal Users can use Traders?
     
  23. Offline

    aPunch

    There is this nifty new plugin called CitizenSpout that handles/will handle client-side NPC things like skins. Citizens itself will never support Spout.

    @Plancker I will make Evils only spawn with iron sword or below in 1.1.
     
  24. Offline

    QQCucumber

    As I said before, NPC skins are easy. The things I want to see are more for npc services - unless CitizenSpout will be able to intercept certain Citizens functions, like suppressing chat messages so it can display a GUI element instead, I can't see it being elegant enough.

    I really wish I understood why the Citizens team dislikes Spout so much, the reasons just don't seem to add up.
     
  25. Offline

    Plancke

  26. Offline

    fullwall

    @QQCucumber - there are a variety of reasons that Citizens doesn't support Spout, and we can see that other major plugins seem to be holding off as well. CitizensSpout has more features that have not been released yet and will indeed streamline NPC creation/editing.
     
  27. Offline

    sddddgjd

    Does this really have a bug where npcs dissapear? I wanna make sure, before putting it on a huge server....
     
  28. Offline

    Hryniu

    @sddddgjd - Its not bugged, if you type something wrongly to some of the yml's, they will dissapear.
     
  29. Offline

    grifOndOr

    what means that error ?

    Code:
    [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
        at com.citizens.economy.ItemInterface.hasEnough(ItemInterface.java:83)
        at com.citizens.economy.EconomyHandler.canBuy(EconomyHandler.java:166)
        at com.citizens.npctypes.traders.TraderTask.checkMiscellaneous(TraderTask.java:270)
        at com.citizens.npctypes.traders.TraderTask.handleTraderClick(TraderTask.java:159)
        at com.citizens.npctypes.traders.TraderTask.run(TraderTask.java:88)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:428)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-21 13:47:25 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NullPointerException
        at com.citizens.economy.ItemInterface.hasEnough(ItemInterface.java:83)
        at com.citizens.economy.EconomyHandler.canBuy(EconomyHandler.java:166)
        at com.citizens.npctypes.traders.TraderTask.checkMiscellaneous(TraderTask.java:270)
        at com.citizens.npctypes.traders.TraderTask.handleTraderClick(TraderTask.java:159)
        at com.citizens.npctypes.traders.TraderTask.run(TraderTask.java:88)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:428)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    

    Just test with a traders , rightclic the NPC and dont receive items and get this errors
     
  30. Offline

    Duginox

    I've got an ENTITY ERROR, and I've completely removed the configs and let the newest build of citizens create the newest ones, except the npc-profiles.

    Could the be entity errors with that config?
     
  31. Offline

    d00ba

    Yes, NPC's tend to despawn/disappear randomly all around the server. They return on server restart though.
     

Share This Page