[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

    mbsuperstar1

    Thank you for the update :)
     
  3. Offline

    dieprogamer

    When I make /citizens help, then comes an error message! So I cant look after the commands:( What is that problem? I have Bukkit v670!
     
  4. Offline

    Neo_Bahamut_19

    I wonder if it will work with Factions and iConomy so people can "rent guards"... Hrm... If so, could end up being epic.
     
  5. Offline

    tcvs

    i have troubles i am the admin and it says i dont have the permissions to do that
     
  6. Offline

    Liger_XT5

    I'm still on 617 due to some plugins not set for 670 just yet. I started getting this error, I think before I updated to 'F'.

    Code:
    2011-04-08 09:27:15 [SEVERE] null loading Citizens v1.07 (Is it up to date?)
    java.lang.NullPointerException
        at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:69)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    With this just a bit further down, after "Done".

    Code:
    2011-04-08 09:27:16 [SEVERE] java.lang.NullPointerException
    2011-04-08 09:27:16 [SEVERE]     at com.fullwall.Citizens.TickTask.run(TickTask.java:62)
    2011-04-08 09:27:16 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    2011-04-08 09:27:16 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    2011-04-08 09:27:16 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-04-08 09:27:16 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-08 09:27:16 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at com.fullwall.Citizens.TickTask.run(TickTask.java:62)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    
     
  7. Offline

    Qwerto227

    I made this post on you github, on the page suggesting awesome Magical Wizards of Awesome Teleportation Abilities! (which need to be in this plugin) so it may seem out of place but i was herded back onto the forum so am deciding to dump it here to, aren't you lucky!
    Yes, yes i did.
     
  8. Offline

    mbsuperstar1

    Wasn't it me who suggested that? You commented on my suggestion...
    Anyway support is a good thing. :confused:
     
  9. Offline

    Qwerto227

    ya, it was you who suggested the teleporting wizards, and it gave me this idea, so i commented with it, then went bonkers about stuff nobody wants to hear, like usual.
    Edit: Oh and wheres the changelog gone? I still dont know everything you added to 1.07! I was waiting for the full list of features and BAM, i came on one day to find everything had changed, a great big scary wiki, my once trusty large post that used to give me info was referring me to the big kid who would probs beat me up when i asked for help and suddenly your github was the center of attention, the weird kid who knows everything but nobody can properly understand, and who keeps showing you there confusing catalog of downloads whereas i just want to see if there are any cool new suggestions, so i decide to see if the changelog finally has the information i need, but i cant find him anywhere, i am afraid that i might soon find his body in a river.
    ...
    Oh crap, i did it again
     
  10. Offline

    mbsuperstar1

    I'd like to make a comment about your suggestion;
    The ability for wizards to ignore gravity was a great idea!
    But I think that every combat aspect should be added to the Guard NPC type..

    Trader = Custom Shop
    Guard = Combat etc.
    Wizard = Teleportation and Non-combat like spells.

    Thats just how I would view it working :)
     
  11. Offline

    Qwerto227

    MAybe a fourth type, like what you said
    +
    Magi = Magical combat etc.

    Because i dont think all ordinary guards should have magic, maybe Magi would cost extra, or perhaps there could be an upgrade system for npcs, like,
    citizen(current)-traveler(rove around the world)-settler(would choose a spot and build a house)
    Guard(just swords)-Ranger(swords and bows)-Magi(all of before plus magic)
    Trader(just sells stuff supplied to him)-Craftsman(makes his own stuff)-Merchant(actually goes out and mines, etc. for his stuff, dunno what to call him)

    I actually quite like that idea :)
     
  12. Offline

    mbsuperstar1

    You just completely changed my view on the whole system, except I think teleportation should be kept seperate from Magi as magic combat won't really include teleportation for players and it would clutter commands :)

    P.S. merchant = worker, but that would be really complex to code :O

    EDIT: I was sayying I agree with splitting Guard into 3 groups but would like either..
     
  13. Offline

    Qwerto227

    What exactly do you mean by changed your view on the system, you like my upgrade idea or the cost thing or everything. Anyway, i don't know if the coding is similar in any was, i assume it isn't, but in case it is perhaps you could borrow a bit of coding from Minecolony for the workers/merchants. Not all of it, obviously because that would require new items and stuff, but maybe just the ai, I wouldn't tell anyone ;)
     
  14. Offline

    biggetje537

    could you tell me with what kind of programm i need to open to create plugins
    or edit them
    because i would like to learn the codes of plugins and stuff.
    so maybe i can make sometime my very own plugin
    like some kind of town plugin because i dont need anymore an npc plugin because this one is epic and towny fails
     
  15. Offline

    runyet1

    could you explain it a litte more I dont get what it does. what these citizens do, how they are made, how many are there, where do the go to build, can u command them to build what vidoe would be awesome
     
  16. Offline

    JTR1988

    Possible to add text wrap to the npcs and an option to turn it on and off in the config?
     
  17. Offline

    7x9000

    how do u delete the npcs?
     
  18. Offline

    sowel

  19. I attempt to load my server, with this plugin enabled (latest as of now), running CB 670, and i get this massive error:

    Code:
    [SEVERE] java.lang.NullPointerException
    2011-04-09 06:13:08 [SEVERE] at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:36)
    2011-04-09 06:13:08 [SEVERE] at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(UnsafeQualifiedObjectFieldAccessorImpl.java:20)
    2011-04-09 06:13:08 [SEVERE] at java.lang.reflect.Field.get(Field.java:358)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.GetWorldServer(NPCSpawner.java:27)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.NPCs.NPCManager.registerBasicNPC(NPCManager.java:59)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:27)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:244)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:93)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-09 06:13:08 [SEVERE] java.lang.NullPointerException
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:67)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.NPCs.NPCManager.registerBasicNPC(NPCManager.java:59)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:27)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:244)
    2011-04-09 06:13:08 [SEVERE] at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:93)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
    2011-04-09 06:13:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    2011-04-09 06:13:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-09 06:13:08 [SEVERE] null loading Citizens v1.07 (Is it up to date?)
    
     
  20. Offline

    Cut84li4e

    The NPCs on my server(not mine but a friends, I'm op so I can make them) I give them text but they won't talk, and i can't right click select them. Is that my friend's fault or am I doing something wrong?
     
  21. Offline

    Indyhouse

    Can you make the skin that the NPC is created with stick somehow, please, no matter what the NPC's name is changed to?
     
  22. Offline

    Raspberry

    Could you include that in the sticky part of the thread (where you link to d/l, dev notes, et al?)


    Thanks!
     
  23. Offline

    Insanehero

    Just wondering are you going to add paths that npc can follow(maybe not now ofc seeing that you have so much to do already.) ik npcx already has it but with citizens you can do what npcx does 3 times as fast!
     
  24. Offline

    fullwall

    @stargateanubis14: I think I've figured out the problems that people have been having, namely the world is null. Are you using Multiverse/another multi-world plugin?
     
  25. Offline

    fullwall

    OK, 1.07g should fix the multiworld issues/errors some were getting (separate multiverse version no longer required).
     
  26. Offline

    Indyhouse

    Just wanted to say this is awesome. Love it! I can't wait until I can place guards all over my towns to help ward off the monsters.
     
  27. Offline

    anonymous

    @fullwall Is it possible to make NPC's talk just on right click, so you dont need to hold an item? I tried removing the item ID from the config but it didnt fix it :(
     
  28. Offline

    mbsuperstar1


    Add 0, as that means AIR, which is the same as nothing in your hand.
     
  29. Offline

    anonymous

    thanks :D
     
  30. The it begs the question, can you make it so it talks on right click and no matter what you have in your hand ? My inventory is usually well fuller then full.. so reserving a empty hand slot isn't great resource managment.
     
  31. Offline

    mbsuperstar1

    If you set it to a "*" as this means all item ID's. If that's what you're asking.
     

Share This Page