[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. Hello there!

    I have been waiting patiently for the update, but it seems that it crashes the permissions plugin somehow? Whenever I enable Citizens on my server I get this:


    Code:
    16:24:12 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko
    .permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.Modul
    arControl
    16:24:12 [SEVERE]       at com.nijiko.permissions.ModularControl.<init>(ModularC
    ontrol.java:54)
    16:24:12 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:180)
    16:24:12 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:138)
    16:24:12 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:106)
    16:24:12 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    16:24:12 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    16:24:12 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    16:24:12 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    16:24:12 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  3. Offline

    ledhead900

    CB 820
    PHP:
    2011-06-04 23:27:29 [SEVEREnull
    org
    .bukkit.command.CommandExceptionUnhandled exception executing command 'basic' in plugin Citizens v1.0.8
        at org
    .bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
        
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
        
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
        
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused byjava.lang.NullPointerException
        at com
    .fullwall.Citizens.Properties.Properties.BasicProperties.saveState(BasicProperties.java:290)
        
    at com.fullwall.Citizens.Commands.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.java:390)
        
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 
    12 more

    New Bug
    This happens when creating any NPC seems to trigger essentials and other plugins it thinks its a real player WHY? it should not this. It also trigger Pwncraft to what I think its it thinking its a wizard class. The pwncraft triggers when hitting npcs


    PHP:
    2011-06-04 23:30:35 [INFOCreating empty configD:\Dedicated Server Files\MindCraft Server\bukkit\plugins\Essentials\userdata\natothewizard.yml[/B][/B][/B]
    [
    B][B][B]2011-06-04 23:30:35 [SEVERECould not pass event ENTITY_DAMAGE to PwnCraft[/B][/B][/B]
    [
    B][B][B]java.lang.NullPointerException[/B][/B][/B]
    [
    B][B][B]    at me.Uremir.PwnCraft.pcWizard.boneShield(pcWizard.java:596)[/B][/B][/B]
    [
    B][B][B]    at me.Uremir.PwnCraft.pcCombatListener.onEntityDamage(pcCombatListener.java:43)[/B][/B][/B]
    [
    B][B][B]    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)[/B][/B][/B]
    [
    B][B][B]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)[/B][/B][/B]
    [
    B][B][B]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.EntityHuman.d(EntityHuman.java:527)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:867)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)[/B][/B][/B]
    [
    B][B][B]2011-06-04 23:30:36 [SEVERECould not pass event ENTITY_DAMAGE to PwnCraft[/B][/B][/B]
    [
    B][B][B]java.lang.NullPointerException[/B][/B][/B]
    [
    B][B][B]    at me.Uremir.PwnCraft.pcWizard.boneShield(pcWizard.java:596)[/B][/B][/B]
    [
    B][B][B]    at me.Uremir.PwnCraft.pcCombatListener.onEntityDamage(pcCombatListener.java:43)[/B][/B][/B]
    [
    B][B][B]    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)[/B][/B][/B]
    [
    B][B][B]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)[/B][/B][/B]
    [
    B][B][B]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.EntityHuman.d(EntityHuman.java:527)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:867)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)[/B][/B][/B]
    [
    B][B][B]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)[/B][/B][/B]
    [
    B][B][B]
    [/PHP][/B][/PHP][/B][/PHP][/B][/PHP][/B][/PHP][/B]
     
  4. Offline

    Kurtis Mash

    Is it possible to disable the ecomony system and just add the NPC types. I have a small private server with no need of ecomony but we need NPCs to heals us and guard our village.
     
  5. Offline

    gmore70

    Yeah!!! Thanks! for the update!
     
  6. Offline

    Pingoo

    .ZIP and .jar but i have this error

    Please help Me
     
  7. Offline

    gmore70

    Sorry, to say it again as I have noticed numerous post on the last 2 pages, but I thought you should know - with some detail - that your permissions plugin doesnt work at all. I tested your e version a few days ago and had the same issue - tried making the change you your plugin.yml - and it didnt fix it. You have to look further. Here are my details to assist.

    error
    When typing in /npc create [name]
    you get: 'you dont have permission to use that command'
    if you try to trade, repair you get the same message.

    CB 8.8
    MC 1.6.6
    Permissions 3.1.1 (i see that 3.1.2 is out I will give that a try).

    My permissions group.yml is:

    God:
    default: false
    info:
    prefix: '&4'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'citizens.admin'

    The : - 'citizens.admin' is redundant as I have -'*', but I thought I would add the - 'citizens.admin' to work around the bug.

    Cant wait until you get the permission fixed. Sure do love this plugin when it works. Our guys on the server have been asking everyday over the last week.
     
  8. Offline

    thisisboris

    Hello Citizenscrew, sorry to bother you with another bugreport, having the same issues as someone above me.

    Code:
    16:13:06 [SEVERE] Error occurred while enabling Citizens v1.0.8 (Is it up to dat                              e?): null
    java.lang.NullPointerException
            at com.fullwall.Citizens.Commands.CommandHandler.registerCommands(Comman                              dHandler.java:55)
            at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:121)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader                              .java:750)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage                              r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I downloaded the lastest ZIP.

    I'm running: Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)

    With:

    AdminCMD
    BananaChunk
    BlastControl
    Choptree
    Controllerblock
    dynmap
    HeroBounty
    iConomy
    jobs
    MobArena
    nSpleef
    Permissions (Phoenix)
    Towny (Fuzze 0.68)
    TreeAssist
    uQuest
    xAuth
    You're It.
     
  9. Offline

    Pingoo

    I have a same probleme. I think that xAuth is a probleme but i don't know how to settle this Probleme.
    Please help we.
     
  10. Offline

    Pomme72

    Hi !

    I have the permissions : '*' but when I attempt to create a new NPC, I have this message :

    You don't have permission to do that.

    Help please ! :(
     
  11. Offline

    Pingoo

    Add you at Ops with /op <pseudo>

     
  12. Offline

    gmore70

    The goal of permissions is to not use the ops command. I dont want all my players "op"ed, the griefing would be hell. I am sure this mod supports permissions as its a minecraft server standard
     
  13. Offline

    thisisboris

    Hello again, as Pingoo suggested above it is indeed an issue with xAuth, somehow Citizens can't run if it is enabled, and throws that error. I removed the xAuth plugin and now it's running smoothly (I should say, It launched correctly). I haven't tested it completely in game yet. Will report back.

    Also, thanks again for this great plugin, My users really enjoy it, and I do to. I love the idea, and it's easy to use too. Now with the plans for Questers it will even remove my need for the uQuest plugin. Thank you so much dev's!
     
  14. Offline

    Pingoo

    Add a permission for Citizens :
    - citizens.trader.balance
    - citizens.basic.help
    - citizens.general.remove.singular
    - citizens.trader.stock
    - citizens.general.move
    - citizens.general.select
    - citizens.trader.create
    - citizens.npc.create
    - citizens.trader.help
    - citizens.trader.viewmoney
    - citizens.blacksmith.repair
     
  15. Offline

    RockGermany

    Yes, same plugin, same ploblem. I can't "/toggle" a trader.
     
  16. Offline

    Naatan

    Awesome plugin! Just got one issue, it seems its unable to find any Skins. It works when I use my own name or "Notch" but when I use the names of other players or try a variety of generic names (such as Butler, Cook, Salesman) it just gives me the default skin. To clarify I used names of players that have been on my server before.

    Could it be a firewall issue? Or a permission I need to set?

    Also 2 small questions;

    First, I see that support for guards is planned but there's already a guard folder in the plugin folder, have guards been added and is the wiki out of date?

    Second, has anyone started a thread of some kind yet to try and make a list of what name equals what skin? I know that this is subject to change almost constantly but I think the majority of players dont change their skin that often.

    Thanks!
     
  17. Offline

    Pomme72

    Thank you very much, it's working fine now ! But Guard and Quester are not working, is it normal ?

    French version : Merci, ça marche du tonnerre maintenant ! Par contre, les donneurs de quête et les gardes ne fonctionnent pas... De l'aide ? :)
     
  18. Offline

    thisisboris

    Guard seems to be working here. I just created one myself! The thing I might say is that the guard help is rather short, I can toggle it's type, but can't see which types are available? And if I run certain command it executes them but still says that it didn't recognize my command.

    I'll fork your git, maybe I'll get wiser through the code.
     
  19. Offline

    minipugzz

    PLEASE Help me!!!
    1. (Biggest concern) Hi, I really need some help here. On my server when I do this, for example: "/npc add Hello there!" It removes ALL my othe messages on the NPC, and he only says that one.
    2. When I click my NPC, he does not say anything, I can only access his speech via the 'talkwhenclose' command.

    If someone could help me solve both of these problems, I would be very happy.
     
  20. Offline

    Orcem12

    So assuming since about 21 people have reported a permissions problem that this plugin isn't properly working. Guess I'm just going to have to wait some more :)
     
  21. Offline

    TPMJB

    This might be a selfish request, but any way you can change the /toggle command? It interferes with xAuth's toggle command, so if I have both installed I can't toggle registrations of xAuth on or off (it defaults to citizen's toggle command).

    For instance, /ctoggle instead of /toggle.
     
  22. Offline

    Pomme72

    Hi,

    Another big big big big big big problem : My players can't do anything with the NPC, they have this message : You don't have permission to do that.

    I don't want to make all my players ops xD !

    Help me :(
     
  23. Offline

    RockGermany

    A very good idea!
     
  24. Offline

    Squizal

    Hi I need help my friend and I stuck. We tried Citizens and it worked until we give the npc a job. It then says that 'Your server has not turned economy on for Citizens'. please help we really want this mod
     
  25. Offline

    kahlilnc

    Add permissions
     
  26. Offline

    Pomme72

    I have already permissions, with citizens.use.* for all my players.
     
  27. Offline

    vlamer12

    I CAN create an npc and all but when i try to asign it via toggle(for example wizard or healer or guard it says:
    Your server has not turned economy on for citizens
    How do i fix it? I tried installing iconomy but it still won't work:(

    Grzzz

    vlamer12
     
  28. Offline

    Riolu

    Anybody would help?
     
  29. Offline

    blutherz

    Hm still have old bug with reboot of server all npc disapare but in config files they are shown.

    Here my Server and plugins:
    Show Spoiler
    ------------------
    Server Information
    ------------------

    Java : Oracle Corporation 1.7.0-ea (http://java.oracle.com/)
    Operating system : Linux 2.6.35-28-server (amd64)
    Available processors: 2
    Free memory : 1566 MB
    Max memory : 2031 MB
    Total memory : 2031 MB
    Server ID : blutherz World
    Server name : blutherz multi world
    Implementation : git-Bukkit-0.0.0-770-g1023217-b820jnks (MC: 1.6.6)
    Player count : 1/20

    -------
    Plugins
    -------

    MobileAdmin : 3.0
    TameGrass : 1.0
    WorldGuard : 5.0-alpha10
    WorldEdit : 4.5
    DiscoSheep : 0.3.1
    LCWoodCutting : 0.1
    MultiHome : 0.4
    HeroicDeath : 1.8.1.156
    LCExcavation : 0.1.4_01
    General : 3.4
    LWC : 2.31
    CraftBukkitUpToDate: 2.5.5
    Permissions : 3.1.2
    MultiVerse : 1.6.5
    LCSwimming : 0.1.3
    Backup : 1.6
    MagicCarpet : 1.5.5
    AutoSave : 1.3.0
    InvinciWolf : 1.6.1
    BedHeal : 1.1
    RealShop : 0.63
    iChat : 2.3.0
    SimpleAwaySleep : 1.1.1
    LevelCraftCore : 0.1.5
    LCMining : 0.1
    MotherNature : 1.3.2
    FloodGates : 1.2
    LatencyTester : 0.2
    LCRange : 0.1
    GravelClay : 1.2.5
    dynmap : 0.17
    BananaChunk : 4.6
    HeroSneak : 1.2.2.51
    ThunderGhast : 1.1
    AngryWolves : 0.7
    SpawnMob : 1.9.3
    xAuth : 1.2.5
    Jail : 1.1.0
    StealthLogin : 1.1.0
    Landmarks : 0.2
    LCCombat : 0.1.1
    Minequery : 1.5
    ThunderJoin : 1.5.1
    BOSEconomy : 0.6.2
    obuShutTheHellUp : 0.2.2
    AppleTree : 0.5.1
    PorteCoulissante : 1.2.1
    ecoCreature : 0.0.5b
    SleepAnnounce : 1.0.0
    NaturalGiants : 1.3
    Citizens : 1.0.8 (d???) thats why correct trunk numbering is important and NOT this way...why not easy 1.0.8.3 bla


    And also in signature it is shown all
     
  30. Offline

    d00ba

    Tested the official 1.0.8e release, same issue as all the other guys, Permissions don't work, even with '*'

    Regards,
     
  31. Offline

    tombik

    Are you going to support nrwest craftbukkit? It should be great...:rolleyes:[cookedmeat]
     

Share This Page