[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. *looks at the title* Yeah... I'm pretty sure that's coming. The title says "Traders, Guards, Quests coming soon". So you can expect to see Guards, who, I assume, will attack monsters (Would also be awesome if they attacked players if they started attacking other players. Perhaps even some sort of alignment system? Kill x amount of players and you become an outcast and Guards will attack you whenever you're in range, the player must then do something (Quests perhaps? Maybe a +/- alignment setting for each quest?) to get their alignment back up to be allowed into areas that have Guards. ).

    Though, that won't be exactly the same as the Charlotte mod. Perhaps another type of NPC? Companion NPC or something? This NPC would act just like Charlotte from that mod. This could even perhaps work in a Guild Wars like style. Setup companion NPC's at certain areas, a player can then right click one of the NPC's to have them start following them. The NPC would follow the player and protect the player from any monster/player they encounter. Once the player dies or disconnects from the server, the NPC is sent back to the area where it was made and another player can then right click it to have it as a companion.
     
  3. Offline

    sev042

    Woohoo!! This is working with Multiworld/reloading now! Thank you very much, this is a great mod.
     
  4. Offline

    RchGrav

    Here here riuthamus!

    http://forums.bukkit.org/threads/a-message-to-the-entitled-members-of-this-community.7699/

    RchGrav
     
  5. Offline

    RTRD

    @fullwall After i change the name of a NPC an then try to change the color i get this error:
    Code:
    2011-03-08 23:45:15 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v1.06
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:177)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:649)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:612)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:606)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    at com.fullwall.Citizens.BasicNPCHandler.setColour(BasicNPCHandler.java:261)
    at com.fullwall.Citizens.Citizens.setColour(Citizens.java:318)
    at com.fullwall.Citizens.Citizens.onCommand(Citizens.java:200)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more
    And after that the NPC does not work any more. I have to manually remove the NPC from the file. [​IMG]
     
  6. Offline

    Aidan Moseley

    just to tell you pawned, i tested for fullwall earlier and helped with suggesting guards, idea he has is to make it so you can set guard npc's with enemy name added (mob type or player name)

    I have another idea tho, rather then havin to set individual armor etc maybe make it so if you chuck the equipment at its feet
     
  7. server restart will hide ALL one's created :D XD
     
  8. Offline

    phaed

    How about making the message appear when they are hit as well? I have some of these on my server but noone knows to right-click them unles si put a sign neaby that says "please right click" so no one ever sees any messages. Peple instinctively left click on someone.
     
  9. Offline

    darkwarriors

    yep one restarted server all npc was lost!
     
  10. Offline

    Aidan Moseley

    really? problem of disappearing NPC's was solved with version 1.06
    did you spawn severall NPC's with same name?
     
  11. Offline

    aPunch

    That was how it was with the first version, but that brought up some PvP errors and caused other problems/bugs. I think right-clicking is the best way to go.
     
  12. Offline

    mrgreaper

    guards???? !!!! Guards ????

    Oh man i love this mod, looking fwd to seeing guards (lets face it guards are the best, even in the modern day with security guards)

    will the guards be able to patrol or will they be stationary and would you be able to set it up so they would stand in on a set block when a player not on a list come near them

    think of it like this, The guard npc is standing inside a hut as a player on the list aproaches the guard comes out of the hut and stands on a specific block next to the path (think standing to attention)
    when a player who is not on the list comes within range the guard goes and stands in front of the door (another specified block), draws his sword and warns the player if they get closer they will be dispatched)
    when a player on the list or not moves out of the guards range the guard returns to there idle block

    so the npc creator specifies 3 locations (maybe by making a snapshot of the players location and in hand equipment when the issue the command)
    Idle block
    at attention block
    defense block
     
  13. Offline

    treepunch

    Just wanted to say this. is. AWESOME.
     
  14. Offline

    mortdefaim

    not sure if it's error of this plugin:

    it seems that when i delete a npc, it spawns me a unbreakable bedrock block (nor with world edit). The bedrock spawns in altitude, upside to where the npc was.

    sorry for poor english
     
  15. Offline

    Sir Joe

    If you continue to work on this plugin, best plugin ever, combing uquest with this will be epic.
     
  16. Offline

    Vanoi

    Is there a way to stop the NPCs from mirroring me when I turn?
     
  17. Offline

    Adondriel

    PLEASE save this as a zip file. .rar is unreadable on linux!!!! ROAR[​IMG]
     
  18. Offline

    Nate204

    Not to second this like crazy or in caps~ but..... It does suck for Linux users.
     
  19. Offline

    Camibus

    Yeah, tried several apps, I'm a Linux noob though. .zip would be sweet
     
  20. Offline

    Criscolo

    well, on most all debian distros a simple sudo apt-get install unrar will work. then just unrar e <file>.rar to extract it. for Arch linux it is pretty much the exact same thing except you install with the sudo pacman -S unrar. But yeah, after I restarted my server with the mcrtoolkit all my NPC's disappeared. Maybe if there were a couple of seconds of lag between when the server is finished starting to when the NPCs are loaded it might fix the problem?
     
  21. Offline

    Shinfo

    Disappearing NPC's on reboot.
    >.>
     
  22. Offline

    Vittek

    Maybe in the futue you can let the plugin identify NPCs by a set ID instead of their name. That way clones could exist. Kinda like it was done with the olc NPC plugin for Hey0. But anyway, awesome plugin so far!
     
  23. Offline

    Adondriel

    It would be easier to just put it on my windows comp then reziping it and using a flashdrive to transfer it lol
     
  24. Offline

    Nate204

    Webmin for linux works AWESOME for me....
     
  25. Offline

    dragtor

    you should do is make them be able to copy skins but u can rename them while they got the skin on

    like for expample my skin is a predator i would want to make different things like a chieftan predator and hunter predator different names like a predator village
     
  26. Offline

    Blackstorm72

    Ubuntu software's center has a Rar decompiler. Using it right now :p
     
  27. Offline

    Sol

    I just thought of a way to make skins...

    Rather expensive but here goes:

    1. Pick a name of a generic NPC, for example: Bartender
    (The name could be more specific, but the sake of illustration...)

    2. Make a skin that looks like a bartender

    3. Register the name "Bartender" by purchasing an account in that name

    4. Upload skin

    5. Create Bartender NPC... and bingo! Custom skinned bartender :D


    I was planning on registering one or two myself... then sharing the usernames in a thread I am now working on (that is containing usernames of players that have skins applied already)

    Is this something that you guys might be interested in as well? Obviously I can't afford to buy like 10 account or something, but one or two for now is a start... if others can also contribute we can make an "NPC SET" for the benefit of others too.

    Thoughts? Opinions?

    ~Sol
    [MERGETIME="1299651999"][/MERGETIME]
    Here is the thread I am working on so far, with a NPC listing.

    If anyone wants to help contribute just PM me!
    http://www.minecraftforum.net/viewtopic.php?f=25&t=215793

    ~Sol
     
  28. Offline

    oleerik

    To linux users:
    Code:
    apt-get install unrar
    unrar /path/to/file.rar
    
    My distro had this built in. Rar is great for linux users, its just that you dont know it :)
     
    Nate204 likes this.
  29. Offline

    Nate204

    +1 to my linux skills!
    I'm almost a level 2!!! =D
    At 5, I get a free distro...w/e that is?
     
  30. Offline

    oleerik

    Great idea, I was actually dreaming of some kind of system to ask everyone for donations then make a lot of awesome NPCS! :)

    I love the idea.
     
  31. Offline

    sintri

    I would <3 guards when you get around to it, cause really what good is high walls without an army of guards patrolling.
     

Share This Page