[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

    The PC Tech Guy

    Good work guys. Still waiting for guards; they don't have to move, they could just hit or shoot arrows in a standing position. Or you could make them act like mobs, and they give up chase via teleporting them back to their spot. Just some ideas, because guards would be great! I'm not much into the other stuff you implemented, although it looks interesting.
     
  3. Offline

    Meteo

    Sigh. like i said, it gets cut off on all the lists no matter the list
     
  4. Offline

    Zaros

    You should add a fail repair % onto all repairs. That way it isn't 100% chance of repair. Also, possibly base the fee off the % damage of the item. For example: A 75% damaged sword that costs $50 for a full repair would cost ($50*.75) $37.5.
     
  5. Offline

    byteman

    looks like your buying items just fine and your trader is resupplying , with a little lag ? ill test if i get the same thing on my server[edit] nop works just fine here , the lag is the only thing i can imagine that is causing this , so i guess its just lagging form all your buy requests and then struggling with updating stock.. at the end your out of money :OP im no expert but thats my best guess...
     
  6. Offline

    nemafow

    I'm also having this issue.
    My 'innkeeper' is selling and buying a bunch of items, but only 3 show up in each list, and no option beyond the first page.
     
  7. Hey

    My 4 questions after trying the new build.

    1. /npc color &#
    this crashes my server, no matter what number I use instead of # the game immidiately crashes...

    2. how can I make npc's that turn their head but NOT their body ? I do want head tracking but not have them turn itself as that messes up their positions ...

    3. My npc's keep resetting everytime I start up the server ? (as in, it seems to save their position and name, but text and talk when close at least gets reset every single time I restart the server ????)

    4. I have guides in my bigger cities explaining a lot of things to people (and where to find everything).. that amount to about 3 full word pages of text (aka a lot of text), now all my guides need to say exactly the same thing, is there anyway to link one's npc text to an existing npc ? for example all npc's called "Town Guide" should say the exact same thing, is this possible ?
     
  8. Offline

    Deikkan

    Before I re-add this plugin, does the stock for the trader get taken from the inventory of the creator, or are the new items generated?
     
  9. Offline

    Lykkepillen

    Sorry if this has already been asked, but i've checked the last few pages and couldn't find anything.

    Do v 1.0.8c support Craftbukkit build 740?

    All my other plugins hasen't been upgraded so i can't upgrade the server yet..

    Thanks in advance.
     
  10. Offline

    fullwall

    @Deikkan - depends (you can set the trader to be unlimited)
    @Lykkepillen - every 766 plugin supports 740 pretty much.
    @twf28hotmail.com - 1. Not sure. 2. Impossible. 3. Fixed in next position. 4. Interesting idea, not implemented as yet.
     
  11. the moment @fullwall leaves this project it is over :( your work has been very much appreciated mate :)
     
  12. Offline

    fullwall

    I will still be able to contribute from time to time... just not as often. I might be able to do quests in a few weeks, for example.
     
  13. Offline

    Ins1d3r

    Is there a way to limit the number of stacks/(one type items) an NPC can buy?
    Example: Don't let the NPC buy more than 10 stacks of cobblestone from Users, or No more than 10 iron pickaxes.
    *When unlimited is false.
     
  14. Offline

    aPunch

    Thanks for having confidence in the rest of the team. :/
     
  15. Offline

    Shanev

    fullwall, you did a great job here on bukkit, I hope your gastronomic plugin will be continued too :p The citizens team will lose one great contributor, but I'm sure they are absolutely able to continue this great plugin! ;) I'm looking forward to see those new updates. Take your time and deliver a great work!
     
  16. Offline

    Shanev

    Ok aPunch, you were faster with your message ^^ As said above, I'm absolutely sure that the whole team does a great job on this plugin. It's always sad to lose a main developer, but I believe in you! ;)
     
  17. Offline

    aPunch

    Ah, I see. But, fullwall will still be around to help occasionally. It is not like he is completely abandoning the project. Glad to see that people have confidence in the rest of the team (this time without the sarcasm! :p)!!
     
    thecoolwolf likes this.
  18. Offline

    fullwall

    To everyone: please don't think that my taking a step back takes anything away from Citizens. @aPunch and the rest of the team do a *great* job with the plugin, and I have every faith in their continued development of Citizens as a great NPC plugin. Citizens is in safe hands, and I will also have time occasionally to add features as well.
    @aPunch and the rest have continually provided awesome updates to Citizens, making the plugin all the better for it.
    So, absolutely no reason to worry :).
     
  19. Offline

    Randy Schouten

    I can't seem to get the "isNPC()" thing to work.

    I have this event.getEntity().isNPC() now, but gives me the suggestion to add (OBJECT) infront of it, so I do that, but it's then stuck in a loop, because object isn't compatible either.
     
  20. Offline

    fullwall

    @Randy Schouten - you have to hook into an instance of the Citizens plugin, then call NPCManager.isNPC(event.getEntity());
     
  21. Offline

    ElSeppo

    /npc copy
    This works on my server.. All Guards have the same line, just if I change something I have to change/add it on every single guard. But when you just make a guard with all the lines and copy him, it should work.

    By the way, I still have problems with the blacksmiths... he just won't repair anything (no error messages, traders etc work fine)

    And is there any way that the NPCs talk automatically more often? I set it so they talk on right-click, but it would be awesome if they just talked when I walk by (the current talkwhenclose only lets the NPCs talk once to each player)
     
  22. Offline

    Randy Schouten

    Mmmm...
    I don't think I understand what you mean...
    Basically what I have to do is get an if statement and see if the entity hit is an npc.
     
  23. Offline

    fullwall

    Have you seen any examples of hooking into a plugin such as iConomy or Essentials? Basically, you need to do the same for Citizens, then call the NPCManager function (note you need to add citizens to your build path).
     
  24. Offline

    DaveDee

    Every npc keeps some chunks in memory, right?
    I got bug in spawn location with one npc. Our players complained about massive lags there. It seems like mobs keep spawning there until hard cap.
     
  25. Offline

    Ins1d3r

    Is there a way to limit the number of stacks/(one type items) an NPC can buy?
    Example: Don't let the NPC buy more than 10 stacks of cobblestone from Users, or No more than 10 iron pickaxes.
    *When unlimited is false.
     
  26. Offline

    fullwall

    @Ins1d3r - no, that isn't possible at the moment.
    @DaveDee - no, they don't keep chunks loaded. Spawn chunks are always loaded.
     
  27. Offline

    Kerze

    I failed to get a reply on my last post, but thats ok :) you are busy people!

    It would be nice if we could have it so the npc 'talk' item can be set per npc, as opposed to a global blanket (ie: Tom will only talk to you if you have a sapling, Harry will only talk to you if you give him some bread)
     
  28. Offline

    fortress_na-f

    How can i get YELLOW_FLOWERS?
     
  29. Offline

    aPunch

    That's a good idea. I'm not sure if I'll add it anytime soon, but maybe.

    There are things in Minecraft called "flowers", and there are two types of flowers: yellow and red. The yellow ones are the ones you want to collect. To collect, left-click on the yellow flower. Repeat this process to collect even more. Soon, you'll have an inventory full of the things!
     
    thepackett and NOiR like this.
  30. Offline

    Mortana

    Upon installing everything looked pretty great.
    But after configuring 10 traders (wich would be the max I would need), the server takes a lot of time to restart/shutdown.
    Also, there's a vast amount of lag between selecting an item to buy, and actually buying it.
    Not to talk about configuring the last 3 NPC's. The first 7 or so went great, but then when adding a sellable item, I had to wait like 1 min(really!) before it would accept it, and any command entered between that timespan would be halted, and executed when the minute passed. This with a chance of 3/10 that you'd get an internal server error(caused by the trader).

    Is there anything I can do to tweak the performance of this plugin? I really like it, but the lag caused by using an NPC, is very annoying.
     

Share This Page