[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

    hiro24

    you need to set up a commandhelper alias that does a runas op. That's probably why you get bukkit sad errors.
     
  3. Offline

    Redrider923

    /questexp $player $skill $amount = runas(~op, '/addxp $player $skill $amount')
    is what i have in the command helper config.txt
    is that right?
     
  4. Offline

    hiro24

    Yes... if that doesn't work, try w/o the ticks.. like /questexp $player $skill $amount = runas(~op, /addxp $player $skill $amount)

    Mine wouldn't work until I did that, but I digress. Then set your rewards in citizens like this:

    Code:
            '0':
                type: command
                command: questexp <player> mining 250
                server: true
     
  5. Offline

    Redrider923

    still getting bukkit sad
     
  6. Offline

    EvilNucca

    I was wondering if there is a way to integrate Heroes and citizens to make the bots become classes and have more hp my bots are getting murdered for exp by players and I want to turn the tide please help...
     
  7. Offline

    PTangeL

    fullwall and/or aPunch
    can u plz help me with my issue?
    im using PermissionEx and all my members get that:
    You have reached the NPC-creation limit.

    I already tried with

    citizens.npccount.5


    and after i tried that:


    citizens.npccount.unlimited

    any of that did something. always the same problem.
     
  8. Offline

    m5k

    Any plans on fixing this item dupe exploit?
     
  9. Offline

    fullwall

    @m5k - As repeated before, the trader exploits will remain until Bukkit adds inventory events. Otherwise, Citizens can't track inventory clicks with 100% accuracy.
     
  10. Offline

    mrxandbadas

    i need help i keep getting this:
    [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/WorldServer;)V
     
  11. Offline

    fullwall

    If you're using 1.1.2, please use at least the craftbukkit version stated in the title. Otherwise, you'll get noSuchMethodError.
     
  12. Offline

    Schlumpf

    Hi, have you read my latest Post? Is there a way to fix this :)?:
    Code:
    Edit: I got the Bug -.- As you can see in my Quest the materialID is 3 = Dirt, so when I collect Dirt nothing happens, but if I collect Sand it work?! Maybe this is a bug or I made something really wrong?! I don't know :D
    
    Edit2: This is really crazy ;D... If I collect Wood or Sand it work, but if I collect Dirt as it is in the Quest it don't work ... Hmm there's something wrong :p
     
  13. Offline

    temp6532

    Hello. I'm seeing some of you have managed to get commandhelper to work with your quests. However, every time I try to call an alias through a quest reward, I get: "Unknown command. Type "help" for help." The alias I'm trying to call uses worldedit and worldguard to add/remove walls in a dungeon I'm building. When I call it ingame, it works perfectly. However, it does not when I do it through questers.

    Part of my quests.yml

    Code:
                         '1':
                             type: rank
                             rank: manipulator #grants unlimited admin powers to the player for the next commands.
                             take: false
                         '2':
                             type: rank
                             rank: d2c0 #sets the new custom spawn point for the dungeon checkpoint
                             take: false
                         '3':
                             type: command
                             command: tppos 1565 92 -465 -91.04355 12.078987
                             server: false
                         '4':
                             type: command
                             command: fixarea dungeon2_hs1 35:14 #generates the first wall of the dungeon
                        '5':
                            type: rank
                            rank: manipulator
                            take: true
    
    As for my commandhelper config.txt:
    
    [CODE]/fixarea $area $block = >>>
    runas(~op,'/region select $area')
    runas(~op,'//set $block')
    <<<
     
  14. Offline

    m5k

    Thanks for the info. I'll use some other store plugin until fixing this issue is possible. Great plugin btw.
     
  15. Offline

    TheEpicCheese

    Can Some please help me with my problem? If you do i will give u [diamond][diamond][diamond][diamond][diamond] if not, [coal][coal][coal][coal][coal]
     
  16. Offline

    TheEpicCheese

    Can Some please help me with my problem? If you do i will give u [diamond][diamond][diamond][diamond][diamond] if not, [coal][coal][coal][coal][coal]
     
  17. Offline

    milbar

    Hi! I downloaded citizens and i start my server but i have an error: What should i do that? PLS Help!

    Code:
    2011-11-05 18:38:05 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1112-g54a13b2-b1240jnks (MC: 1.8.1)
    2011-11-05 18:38:05 [SEVERE] Could not load 'plugins\Citizens.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  18. Offline

    mikeyyy4life

    i got this error:
    NoSuchMethodError: net.minecraft.server.ItemInWorld Manager.<init>(Lnet/minecraft/server/WorldServer; )V

    between worldserver ; ) there should be no space but it makes a smileyface if i dont so thats why there is a space
     
  19. Offline

    hollow36rus

    Hello guys,
    I have the same problem as milbar.

    How do I fix it?

    Code:
    ...
    2011-11-06 02:13:46 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
    2011-11-06 02:13:46 [SEVERE] ebean.properties not found
    2011-11-06 02:13:46 [INFO] DataSourcePool [HomeBukkit] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-11-06 02:13:46 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-11-06 02:13:46 [INFO] Entities enhanced[0] subclassed[1]
    2011-11-06 02:13:46 [SEVERE] Could not load 'plugins\Citizens.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:62)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    ...
     
  20. Offline

    GeoCraft

    I am fed up with this problem! I have download the latest build of citizens from http://jenkins.citizensnpcs.net:81/job/Citizens/ and I still get the problem of some my npc's turning invisible. I have set my config so that the saving delay is 5000 and they still go away! I can see their text if they are set to talk when close, but I cant see them. The only way I can get them back is to do a reload but how can I solve it so they stay put and don't turn invisible???
    I would also like to add that only SOME of the npc's become invisible while others are totaly fine. I have no idea why this happens but it is really aggravating.
     
  21. Offline

    fullwall

    @milbar @hollow36rus - the JAR you downloaded is corrupt.
    @mikeyyy4life - you're using the wrong CraftBukkit version for your Citizens version.
     
  22. Offline

    Bobsqeezeorg

    If someone makes an NPC of me it keeps following me and its really annoying... Sometimes there will be random npcs just standing there even though they are suppose to be removed
     
  23. Offline

    hollow36rus

    How ?? I downloaded .jar many times. From here: http://goo.gl/bhSKc
    There is another link?
     
  24. Offline

    ladan208

    @fullwall
    were does the skins come from. i mean how i upload a skin without useing my own username?
     
  25. Offline

    Eragon

    I've an error. When I chose the type form a NPC the message "Invalide NPC type came. It's so with every type wich exist.
     
  26. Offline

    amunro

    I have a very strange glitch, we created an npc of a player on our server and after a crash, the npc follows / chases him around. It buffets him and makes the game unplayable for the person. We have tried deleting the npc, but he just returns on a server restart. When I delete the citizens folder, it regenerates on server restart with all the config files and player files the same, and all the npcs still spawned. Where is the npc data stored so I can wipe it?
     
  27. Offline

    Kittenpunch

    It would be great if you could set an NPC's ID to match another player, this taking their skin, but be able to change the tag over their head (so we don't see "Bobbjoe123214", you know?).
     
  28. Offline

    edwinwcw

    joust that, when I hit him, he tells his line twice..

    I hope you develope this plugin, it has great potential....
     
  29. Offline

    Kittenpunch

    Actually, I'm curious. What's the format for the quests.yml file? I want to make my own quests, but I'm not too sure what the format is.

    Can someone give me an example quest?
     
  30. Offline

    lastern

    Here we go!

    Code:
    2011-11-07 16:29:39 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 3
    2011-11-07 16:29:39 [SEVERE]     at net.citizensnpcs.resources.sk89q.CommandContext.getInteger(CommandContext.java:79)
    2011-11-07 16:29:39 [SEVERE]     at net.citizensnpcs.questers.QuesterCommands.viewAssignedQuests(QuesterCommands.java:318)
    2011-11-07 16:29:39 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-11-07 16:29:39 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-11-07 16:29:39 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-11-07 16:29:39 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-11-07 16:29:39 [SEVERE]     at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:522)
    2011-11-07 16:29:39 [SEVERE]     at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.java:406)
    2011-11-07 16:29:39 [SEVERE]     at net.citizensnpcs.Citizens.onCommand(Citizens.java:202)
    2011-11-07 16:29:39 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    2011-11-07 16:29:39 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    2011-11-07 16:29:39 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    2011-11-07 16:29:39 [SEVERE]     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-11-07 16:29:39 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  31. Offline

    something222

    Whats the problem with PermissionsEX? I'm having trouble with the NPC limit with like a lot of other people. I'm using 1.1.2 of the Citizens plugin, and I tried all the permissions nodes like citizens.npccount.unlimited and citizens.npccount.(number). Is there any way to fix this?
     

Share This Page