[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 - 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


    I just realized the usefulness of this plugin for new players! i don't know why i never thought of them giving the rules and tips and such. thank you SO much

    and above me. could you have the skin pulled from a file take priority over minecraft.net but still have both work?

  3. Impossible. The client grabs the skin from minecraft.net according to the bots name. There's nothing you can do server-side to be able to change the skin.
  4. Offline


    do they also attack when u attack one of them?
  5. Offline


    Shady, no they do not. You an kill them though and they stay until you reset the server. Unfortunately you cannot use them as guards yet.
  6. Offline


    Can't u give the npc a nickname?
    Name: Jellevdg3
    Nickname: Guard

    Then it's a npc with my skin, with the name Guard.
  7. Offline


    Jelle I was hoping you could do it with Glonick. I know a Work around, but it takes time and I do not know if it is allowed.

    1. Create a new account on Minecraft.net
    2. use the accounts name for the NPC in game
    3. Change his nickname with Glonick
    4. Repeat for desired ammount

    Downside, no custom skins that way
    Deikkan likes this.
  8. Offline


    Can you please work on the trader addition for this plugin? It would be great if you made it :)
  9. Offline


    It's being worked on :). These things take time.
  10. Offline


    cool, had thought you had abandoned the plugin (its been at 1.06 for a very long time)
  11. Offline


    would it still be impossible if we were to spoof the connection to minecraft.net for the plugin? I'm sure Majong wouldn't like that so its not practical but could that work? plus i'm thinking it would cause alot of strain on a server.
  12. Offline


    To everyone who wants custom skins for NPCs:
    Really wishing it were possible is never gonna make it possible.

    Seriously. Wishing it were possible? Not gonna make it possible. Please read this until it sinks in. It is not possible. Custom skins for NPCs? Cannot be done.
    infact likes this.
  13. As posted before in this thread, we are addding an unique id for each npc.

    The head movement have been updated on the github. Also, please add the chat-format issue to the github issue tracker.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 11, 2016
  14. Still impossible. You can't spoof the connection to minecraft.net, because it's not handled by the server. The client sees the person with <name> and then checks minecraft.net for <name>'s skin. There's no way to apply custom skins without having a client-side mod which makes the client check a different database for skins.
  15. Offline


    how memory intensive is this?

    its a plugin id be interested in implementing but worry about its RAM usage
  16. Offline


    What about modifying a user's hosts file? point minecraft.net to the bukkit server, run apache with skins
  17. That could work. I'm not saying it's impossible to do - I'm saying it's impossible to do server-side. The only way to do it is via client-side modification.
  18. As far as I have tested, it doesn't take alot of memory.
  19. Offline


    Right, I guess I wasn't reading the topic too well. I think we might be on to something for client modification though...
  20. Offline


    Same. I can't give you much info on the specifics, but It seems to be alright. I had one member once tell me he/she lagged around them. I believe a lot of my lag complaints though, are client side hardware. I have others connected from other countries and tell me they get very little lag, but it's everywhere. Not just my NPC's. I have one spot that has over 20. Nothing crazy.
  21. Offline


    Im being spanned every some minutes with this error:
    18:50:26 [SEVERE] java.lang.NullPointerException
    18:50:26 [SEVERE]       at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.RemoveBasicHumanNpc(NPCSpawner.java:101)
    18:50:26 [SEVERE]       at com.fullwall.Citizens.BasicNPCHandler.despawnNPC(BasicNPCHandler.java:436)
    18:50:26 [SEVERE]       at com.fullwall.Citizens.WorldListen.onChunkUnloaded(WorldListen.java:32)
    18:50:26 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$35.execute(JavaPluginLoader.java:339)
    18:50:26 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    18:50:26 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    18:50:26 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProviderServer.java:216)
    18:50:26 [SEVERE]       at net.minecraft.server.World.g(World.java:1416)
    18:50:26 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
    18:50:26 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    18:50:26 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    18:50:31 [INFO] CryMx3 [/] logged in with entity id 58599
    18:50:32 [INFO] CryMx3 lost connection: disconnect.endOfStream
    18:50:32 [SEVERE] java.lang.NullPointerException
    18:50:32 [SEVERE]       at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.RemoveBasicHumanNpc(NPCSpawner.java:101)
    18:50:32 [SEVERE]       at com.fullwall.Citizens.BasicNPCHandler.despawnNPC(BasicNPCHandler.java:436)
    18:50:32 [SEVERE]       at com.fullwall.Citizens.WorldListen.onChunkUnloaded(WorldListen.java:32)
    18:50:32 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$35.execute(JavaPluginLoader.java:339)
    18:50:32 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    18:50:32 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    18:50:32 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProviderServer.java:216)
    18:50:32 [SEVERE]       at net.minecraft.server.World.g(World.java:1416)
    18:50:32 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
    18:50:32 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    18:50:32 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Usin CB 531
  22. Offline


    Nice Plugin!
    I wait for the waypoint support :p

    Greetings from Germany
  23. Offline


    I would also love to see this shame it cant be done =[
    it just feels wrong using other peoples names.... unless that name is Honeydew lol
  24. Offline


    I'm not sure if this was answered in a previous post,but is there an estimate of how long it'll take for the major update?

  25. So how's this coming?
  26. Offline


    I just tried this for kicks and it works. You have to use hosts on s3.amazonaws.com however, not minecraft.net. Apache has to have a /MinecraftSkins folder in its document root.

    Not a perfect solution, but I could see uses for it if you want to make minecraft movies with skinned npcs or something. This will obviously make any player skins you don't have in that directory not show up for your client.
  27. Offline


    Will it allow 130 or so static NPC's also how do you skin them?
  28. Offline


    If you know nothing about running an Apache server I suggest you move along. I was just trying to above method because I already had a web server. If you really want to know then read on...

    I edited my windows hosts file to point s3.amazonaws.com at localhost while running an Apache server. I made a folder in my document root named MinecraftSkins and, for example, put a skin named guard.png in there. If I made an NPC named guard it would try to ask minecraft.net for the skin, hosts sends it to apache instead, and it gets my chosen skin.

    On a somewhat related note my apache error log reveals that the client is asking for a MinecraftCloaks folder as well... so natually I made the folder and grabbed a copy of the Mojang cloak then renamed it to my username. Works like a charm.
  29. Offline


    hey when i try to make an npc it says i dont have permission got and advice?
  30. Offline

    tha d0ctor

    can you rename NPCs using any of the nickname type plugins? that way you can use other player's skins without using their names?
  31. Offline


    dont the nicknames only show in the chat box?
    i have not really looked into them

Share This Page