[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

    T1tan1umTurtl3

    is it just me or the npc are invisible/removed.i placeed a npc and stoped the server to imput text that i had from the last verson and i start th server and there gone! WHY!! Fisherman_Bob has gone!!
     
  3. Well the empty hand code indeed is 0 :p but you should always keep a "," behind the id's so it would become: items=340,0,

    Other then that, once the Plugin loaded your "old" safe-file it automaticly set all NPC's to not talking when close, and do look at players when close, the default option is only applied to newly created NPC's, to change the options on a NPC use:
    Code:
    /npc talkwhenclose true
     
  4. Offline

    NickBrahz

    @thempc Ah thanks buddy the "/npc talkwhenclose true" Worked :D i wasn't sure if the ID was 0 or 00 so i added "Items=288,00,0," just to be sure and now empty hands work :D Now to go through all the commands/options to see if there are any bugs/glitches, will post here if i find out, cheers again.
     
  5. We changes the safe-file format, it SHOULD convert nice and smooth, but in some cases it looks like it doesnt, if you like, please upload your Citizens.locations file to pastebin and ill convert your file manualy.
     
  6. Offline

    BigBlueGER

    Do Citizens use up server slots? I mean, they are like players... =P
     
  7. Offline

    NickBrahz

    No they do not buddy :)
     
  8. Offline

    BigBlueGER

    Wow wtf, that was quick. Thanks =D
     
  9. Haha that would be quite a problem if that was true :p
     
  10. Offline

    NickBrahz

    Haha yeh, because i have this thread on one side of the screen, while the other i have MC + Console so i can make sure there are no bugs, and post any instantly if there are! haha
     
  11. Offline

    jcoch01

    "NPC: Bob Will not talk when players are close.
     
  12. Offline

    NickBrahz

    Make sure it is activated in the config file, then right click with a stick (or other item you have chosen to desigante) on Bob and type the command /npc walkwhenclose true"
     
  13. Well im happy your as dedicated as i am xD siting here chilling in the sun, pressing F5 ^^
     
  14. Offline

    BigBlueGER

    Just a question: I've got a 6 slot server, and when I would create ~10 NPC's in my city, would that take much CPU/RAM?
    And what does happen when the chunk unloads?
     
  15. When the chunk unload hea.. hmm time to find out, and the RAM/CPU should not increase drasticly.

    Edit: Jsut tested the unload, nothing happens ^^ NPC's keep where they are as usual.
     
  16. Offline

    yottabyte

    Found the problem.
    com.fullwall.Citizens.events.CitizensBasicNPCEvent
    was changed to
    com.fullwall.Citizens.Events.CitizensBasicNPCEvent

    Notice the capital E. You may want to put that in the OP.
     
  17. Offline

    NickBrahz

    Hmm so far nothing major, only thing i have noticed is lets say you have the NPC named Bob and he has a skin, if you give him an item or some armor, his custom skin stays, but if you change there name lets say to Fred, and Fred is meant to have a custom skin it will not change it, then if you decide to change Fred back to Bob the skin wont reappear, so if you name change you cant get the custom skin back, nothing major just thought i would tell ya haha, now i must hunt to see if there are any others!

    Edit: Oh! and if you change the colour of the NPC the custom skin disappears aswell haha
     
  18. Ill be sure to patch that through to @fullwall
     
  19. Offline

    T1tan1umTurtl3

    the one from the 1.06 or the one from 1.07
     
  20. Yes the color of the name is normal, since the name acualy will be: &aBob so the skin server doesnt have the username, ill take a look at the skin change thing though

    The one from 1.06, ill change the file so it get converted correctly.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  21. Offline

    NickBrahz

    Hmm i noticed a glitch with the "/npc getowner" command if you make a "Copy" of a NPC, and use the command on the "Copy" it will come up with "The Owner of this NPC is: ." but if you use it on the original it will go "The owner of this NPC is NickBrahz."
     
  22. Hmm yes, bugfix incomming for that one, and for the skins, the skins work ok if you rename or do anything, just colours dont work (according to me)
     
  23. Offline

    NickBrahz

    OK! So i just finished going through all the commands and options, only Bugs/Glitches i have found are the ones i have said, which are nothing major, overall good work! and keep it up :D
     
  24. Awesome thankx ;) i just fixed the owner bug and it will be update in the main post tomorrow morning
     
  25. Offline

    Motsols

    Any chance of this being made compatible with uQuest? Imagine going up to your NPC Chef and getting a quest to kill pigs for him to cook! :D
     
    MationMac likes this.
  26. Offline

    BigBlueGER

    It seems like the NPCs just disappear on chunk unload or plugin reload. ^^
     
  27. Offline

    jcoch01

    I honestly have no idea how to make a config file, I've been trying for 15 hours since yesterday to figure it out, but I'm having no luck, Hey0 was simpler to use than bukkit.
     
  28. Offline

    Mrjibidi

    Good job Fullwall! Still waiting for the questing and the trading/buying/selling stuff.:rolleyes:
     
  29. Offline

    BigBlueGER

    Umm, I got a citizens.locations file with the locations, but the citizens are invisible or just not there after a server restart? Any idea?
     
  30. Offline

    bizzybusk

    this is happening to me to :/
     
  31. Offline

    NickBrahz

    When you first run the server a folder is created for this plugin, the location is inside the plugins folder, a sub-folder in there is created which is also called "Citizens" open that folder and you should see a wordpad file named "Citizens" open that change the writing to:
    Code:
    #Minecraft Properties File
    #Mon Mar 28 03:07:03 EST 2011
    default-text=Hello.;How are you today?;Having a nice day?;Good weather today.;Stop hitting me\!;I'm bored.;
    npc-colour=\u00A7f
    chat-format=[%name%]\:
    default-talk-when-close=true
    select-item=280,
    use-npc-colours=true
    tick-delay=1
    items=288,00,0,
    look-range=4
    default-enable-following=true
    slashes-to-spaces=true
    item-list-on=true
    Now if you walk upto the NPC and hit him with either your fists or a feather, he will say his lines, use the stick to select the NPC, after you select the NPC using the stick type the command "/npc talkwhenclose true" Do this for every NPC if you want them to talk if you go near them.
     

Share This Page