[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

    fullwall

    d00ba and morizuki like this.
  3. Offline

    morizuki

  4. Offline

    KrebsCOHO

    No, it doesn't seem to be working. I'm using the latest build and I'm getting problems after I've built my first NPC. I can actually make him however, he doesn't say anything even if I right click on him or try to edit his text. Also, when I restart the server he's dissapeared.
     
  5. Only two of my npc's are despawning.

    Not a big deal mind. Better than a memory leak or having them all despawn.
     
  6. Offline

    God0x

    I get a problem... I correctly created a trader named "Banquier", I correctly configured it (on the sell/buy list I can see all what I want to sell/buy) but, when I right-click two times, the first time the plug-in tells me "You selected NPC ID 0" (ok that's fine) but at the second time, when i should be able to buy or sell something to the trader, I'm accessing to his stock !
    So everyone get access to the trader's stock, that's a bug, right ?
     
  7. Offline

    SondreHG

    Thanks for the help, you guys! BUT, now. How do I fully make an Trader...? I have iConomy, but it still dont work
     
  8. Offline

    Khoshy

    Ok, I'm running a server and I wanted to put Citizens on it. I have a Multiplay Server and it uses a ClanForge Control Panel so I can control everything and stuff. So I went to the Plugin area and selected Citizens, and it downloaded on the server. But for some reason it adds Permissions for support. And Permissions totally messes up all my other plugins. Can someone please help me!
     
  9. Offline

    Exanimo

    You are the owner of the NPC so you can restock it.
    Try: /npc setowner randomname
    After that, try to click it again
    If you wanna restock or take out all the vendored stuff, set the owner to your own name again (mind capitals).
    You might need to do the renaming back using the console if permissions aren't set correctly.
     
  10. Offline

    blackbinary

    @Citizens
    Feature Request:
    Basicliy i have the Same Request to the Citizens Trader like i have to the Sign-Trading System of Essentials.
    (https://www.assembla.com/spaces/essentials/support/tickets/697-feature-request---adv--sell-sign)

    Is there the possibility Item stacks which are too small for the Trader to make yet traded.

    fir Example:
    Config: /trader buy 3:32 3

    now, if a player try to sell 16 of Dirt, he automaticly get 1,5$

    This way the Player can sell all the items he dos not need to the Trader and get money even if he has very few Items of a kind.

    I hope this is a usefull request :)
     
  11. Offline

    God0x

    I also thinked to this solution, but I'm not the owner of the NPC and EVERYONE get access to the stock of the NPC... What I wanna mean is that I can use any account, I'll still be able to access to the stock of the NPC. I tried and with any account i get access to the stock
     
  12. Offline

    Gangrene74

    Before 1.09b I could completely repair an item with one flower. Not sure if something changed or if it is a bug. Also the amount of flowers doesn't refresh in my inventory until I click them. So I go to the blacksmith get an item repaired for one flower according to the blacksmith. Open my inventory click on the stack of flowers in my inventory to refresh the amount and they all disappear. This only started happening with 1.09b so I believe it is a bug.
    I may be completely wrong as well. Any chance of getting a dev response on this?
     
  13. Offline

    daren

    @fullwall I will report this one last time because its always ignored. People can shift + spamclick the items in an trader and end up with the item in their inventory. You need to fix this asap please.
     
  14. Offline

    ohmydoddtv

    That doesn't work on my server... :S
     
  15. Offline

    ark3typ3

    does console show any notices when this happens? I'd say it probably has to do with lag
     
  16. Offline

    daren

    im running a 8GB Ram super fast 150 slot server. It cant be lag, there is never lag. It takes a while to do. But some players showed me it.
     
  17. Offline

    Im4eversmart

    13:04:34 [SEVERE] java.lang.NullPointerException
    13:04:34 [SEVERE] at org.anjocaido.groupmanager.permissions.NijikoPermissi
    onsProxy.permission(NijikoPermissionsProxy.java:241)
    13:04:34 [SEVERE] at org.anjocaido.groupmanager.permissions.NijikoPermissi
    onsProxy.has(NijikoPermissionsProxy.java:224)
    13:04:34 [SEVERE] at com.citizens.Permission.permission(Permission.java:67
    )
    13:04:34 [SEVERE] at com.citizens.Permission.isAdmin(Permission.java:33)
    13:04:34 [SEVERE] at com.citizens.Permission.canCreate(Permission.java:40)
    13:04:34 [SEVERE] at com.citizens.resources.sk89q.CitizensCommandsManager.
    hasPermission(CitizensCommandsManager.java:29)
    13:04:34 [SEVERE] at com.citizens.resources.sk89q.CommandsManager.hasPermi
    ssion(CommandsManager.java:554)
    13:04:34 [SEVERE] at com.citizens.resources.sk89q.CommandsManager.executeM
    ethod(CommandsManager.java:451)
    13:04:34 [SEVERE] at com.citizens.resources.sk89q.CommandsManager.execute(
    CommandsManager.java:406)
    13:04:34 [SEVERE] at com.citizens.Citizens.onCommand(Citizens.java:193)
    13:04:34 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:35)
    13:04:34 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:129)
    13:04:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:298)
    13:04:34 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
    etServerHandler.java:711)
    13:04:34 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:676)
    13:04:34 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:669)
    13:04:34 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:3
    3)
    13:04:34 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    13:04:34 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:84)
    13:04:34 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    13:04:34 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:451)
    13:04:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    13:04:34 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  18. Offline

    ark3typ3

    My question is, will these NPCs ever be killable? Are some already killable? We plan to wage war against each other with the guards and would love it ever so much if they could kill
     
  19. Offline

    Yhtomitsu

    Hey just wondering if there was a fix for the npc's disappearing on relog/restart of server
     
  20. Offline

    fryn

    Every time i restart my server, all of the NPCs are gone and the console says the following error

    16:13:26 [SEVERE] java.lang.NullPointerException
    16:13:26 [SEVERE] at com.citizens.resources.npclib.NPCSpawner.spawnNPC(NPC
    Spawner.java:33)
    16:13:26 [SEVERE] at com.citizens.npcs.NPCManager.register(NPCManager.java
    :55)
    16:13:26 [SEVERE] at com.citizens.Citizens.setupNPCs(Citizens.java:321)
    16:13:26 [SEVERE] at com.citizens.Citizens.access$0(Citizens.java:283)
    16:13:26 [SEVERE] at com.citizens.Citizens$1.run(Citizens.java:119)
    16:13:26 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainT
    hreadHeartbeat(CraftScheduler.java:137)
    16:13:26 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:438)
    16:13:26 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    16:13:26 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  21. Offline

    rtcabooservb

    :( dev site doesn't work for me
     
  22. I have some problems, half of my npc's aren't wearing any armor, and all the npc's with waypoints only walk like 1/10 of their path and then they walk back, as if they only walk between their last 2 waypoints.
    Also its strange that on one side of my castle i CAN give my knights armour (still no sword :S) and on the other side i can't.

    Please help me, thanks in advance!.
     
  23. Offline

    kackbrott

    Every time i restart my server, all of the NPCs are gone and the console says the following error

    16:13:26 [SEVERE] java.lang.NullPointerException
    16:13:26 [SEVERE] at com.citizens.resources.npclib.NPCSpawner.spawnNPC(NPC
    Spawner.java:33)
    16:13:26 [SEVERE] at com.citizens.npcs.NPCManager.register(NPCManager.java
    :55)
    16:13:26 [SEVERE] at com.citizens.Citizens.setupNPCs(Citizens.java:321)
    16:13:26 [SEVERE] at com.citizens.Citizens.access$0(Citizens.java:283)
    16:13:26 [SEVERE] at com.citizens.Citizens$1.run(Citizens.java:119)
    16:13:26 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainT
    hreadHeartbeat(CraftScheduler.java:137)
    16:13:26 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:438)
    16:13:26 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    16:13:26 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)​
    it happends me toooo!! :((((​
     
  24. Offline

    Insanehero

    Is there a certain color code for changing the NPCs colors?
     
  25. Offline

    Avondale

    First of all: I love this plug in, it works great for me and I'm incredibly stoked for questers to be integrated and working, this is going to feed the addiction that much more.
    Second: I have a request for when questers is available: I would like to see the NPCs be able to initiate commands for players instead of the player typing it themselves at anytime. For example instead of a player typing "/ma join" to join a match in mobarena, they would talk to an NPC, and the NPC would "type" it for that player and initiate the command.
     
  26. Offline

    d00ba

  27. Offline

    Yhtomitsu

  28. Offline

    katydevil12

    for some reason i cant get the npc's to say anything :(
     
  29. Offline

    sublynx

    Had many issues upgrading, max cpu usage, disappearing npc, etc.

    Did a full reinstall and things are going much smoother. One thing to report is the /npc waypoints reset command. It produces and error on entry, and an error everytime the npc seemingly resets it path (once youve give it a new one)

    Error report follows.

    EDIT: Pathing causes cpu spikes like crazy, bouncing between 15% and 100% and causing many "[WARNING] Can't keep up! Did the system time change, or is the server overloaded?"

    Once pathing npc's are deleted, everything settles down and resumes as normal.

    Code:
    01:52:23 [SEVERE] Could not pass event ENTITY_TARGET to Citizens
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.rangeCheck(ArrayList.java:571)
            at java.util.ArrayList.get(ArrayList.java:349)
            at com.citizens.resources.npclib.WaypointPath.get(WaypointPath.java:47)
            at com.citizens.resources.npclib.WaypointPath.current(WaypointPath.java:23)
            at com.citizens.listeners.EntityListen.onEntityTarget(EntityListen.java:124)
            at org.bukkit.plugin.java.JavaPluginLoader$60.execute(JavaPluginLoader.java:663)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at com.citizens.listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:92)
            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:321)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
            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:84)
            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)
    
     
  30. Offline

    Yhtomitsu

    Tried a full reinstall and nothing I can create npcs but they keep disappearing some how there not saving
     
  31. Offline

    Beldrama

    Weird... Seems like my NPC's cannot be killed at all. I can't even kill the Evil NPC's What am I doing wrong? D:
     

Share This Page