[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

    @hebep - let's say I wanted to make my trader sell 5 stones for 1 stone. The command is /trader sell 1:5 1:1
    The first number is the itemID, the second is the amount of that item. As you can see, the first number is 1 - the ID is stone. The second number is the amount, which is 5 for the selling item, and 1 for the price item.
     
    hebep likes this.
  3. Offline

    Me4502

    i
    is this compatible with jsonapi and itemcraft - they both use listener i think

    edit::: bow it gives null pointer errors
     
  4. Offline

    fullwall

    @Me4502 - please paste the errors again. The text is in server.log at the end.
     
  5. Offline

    raddad


    Strange thing occurs, each time I edit user and group yaml and saved, some reason they reverted back to before edit. Strangest thing.

    I am happy to report I have created my first npc, Bob. I am going to have so much fun with this. Thank you so much!!

    edit: I only had to save the files like 4 times before the edit took. I can't explain it. Using notepad++.
     
  6. Offline

    hebep

    I do the following.
    1. I create NPC in game by a command/npc create testName. (To It it is appropriated ID=0)
    2. I choose it for editing by a command/npc select 0
    3. Then I write/trader sell 1:5 1:1.
    And in it I receive an inscription "You NPC isn't a trader". The plug-in iConomy is established!
    Because of what there can be an error?
     
  7. Offline

    fullwall

    @hebep - you have to use /toggle trader first.
     
  8. Offline

    Me4502

    2011-06-12 18:05:31 [WARNING] Failed to handle packet: java.lang.NullPointerException
    java.lang.NullPointerException
    at net.minecraft.server.ItemStack.a(ItemStack.java:199)
    at net.minecraft.server.InventoryPlayer.f(InventoryPlayer.java:104)
    at net.minecraft.server.EntityHuman.u(EntityHuman.java:181)
    at net.minecraft.server.EntityPlayer.u(EntityPlayer.java:281)
    at net.minecraft.server.EntityLiving.o_(EntityLiving.java:231)
    at net.minecraft.server.EntityHuman.o_(EntityHuman.java:96)
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:197)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:286)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:402)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:312)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  9. Offline

    fullwall

    @Me4502 - doesn't seem like a Citizens error.
     
  10. Offline

    Me4502

    it isnt... every time i used essentials /item to cheat something in i died and that happened

    edit:::

    i also still cannot make npc's with an _ in their name
     
  11. Offline

    Oxygene

    Was trying to add traders today but it ended in the first server crash I've had in a month :(
    I dont mind the idea of just using npcs as a shop front to talk to customers while the actual shop is another plugin. Is there any chance the original citizens addon still works, back when it was just a mob standing there who could tlak to you? That never caused me any problems :/

    *edit
    It was an out of memory / out of threads error :( Would still love a version with jsut very basic npcs :)
     
  12. Offline

    Fujikatoma

    If i add to the NPC 64 Stakcs off Wood/Redstone/Ron Ingot after the next respawn the NPC only sell 18 Redstone 2 Wood 4 Iron Ingot :(
     
  13. Offline

    Draconicus

    A suggestion for the future:

    Despite much practicing, myself and several mods still do "/npc sell" and other such mistakes instead of the "/trader" command. I think because it doesn't report a syntax error we aren't getting that mental registration that "this is wrong don't screw it up again".

    While an error message might sort that, what could be really nice is if an NPC that has only one extra class (Such as trader) automatically parses things like "/npc sell" as "/trader sell"

    That might be a lot of trouble, though...
     
  14. Offline

    aPunch

    I've actually been thinking about implementing a system that responds to your chat input. For example, if you were to accidentally type "/npc sell", you would get a message back saying "Incorrect command. Did you mean /trader sell?" This is something that @Cogito was writing awhile ago. In my opinion it was a great system and I'd like to utilize something like that in the future.
     
  15. Offline

    Fenice

    It does not work. I use Minecraft 1.6.6 with 860 an when I tipe /npc or /basic nothing happens. What I am doing wrong?
     
  16. Offline

    KayoticSully

    First off I love the plugin, I can not wait to see where this goes. That said I was wondering if a certain feature was in the pipeline. I looked through the Wiki and it did not seem like it but I figured I would ask.

    Are there any plans to implement a auto-scaling price system for the traders. Essentially a system that could track the transactions on the entire server (or world by world) and then value the items in a supply-demand fashion.

    This is a feature that I know I want, and if other people want it as well I will do my best to build the system into the source and hopefully the devs would commit the addition if it is indeed worthy.

    Some ideas I have for the system include:
    - Varying price based on demand for unlimited stocked traders (based off of the number of transactions for the item) and also on supply for any non-unlimited stock traders.
    - The ability to set a varying price globally, or a toggle per trader.
    - The ability (on a per trader basis) to set a "markup" or "markdown" price. This would allow an amount to be added to or subtracted from the calculated price so different traders could have different prices but they would still scale.
    - The ability to set minimum prices and maximum prices on a per item basis.

    The reason why I want to build this into Citizens is I love how the npc system works, and it would be much easier to build it into Citizens than try to remake an npc plugin just for this one feature. So either reply to this post or PM me letting me know if something like this is already in development or if you would like to see this feature. If I get enough interest, I will do my best to add this into the source for the plugin and see if the devs like it enough to commit it. I am an experienced Java programmer and have made some bukkit mods before but nothing I've published, just small ones for my server.
     
  17. Offline

    Draconicus

    You aren't reading the wiki.
     
  18. Offline

    creepycreeper

    CHUNK_UNLOAD error, anyone? Reli annoying and causes tons of lag
     
  19. Offline

    fullwall

  20. Offline

    creepycreeper

    AIYAIAYAI, MAMA MIA! Didn't see the punishments, better scoot out of here. Ignore my earlier post
     
  21. Offline

    creepycreeper

    @fullwall thnx for the reply anyways. And great plugin you have going there. :p Much simpler than all the others.
     
  22. Offline

    dieprogamer

    Hi, I can make NPCs and give them a text (talkwhenclose) and a name, but I dont have an idea, what I must do, to create an bandit or an healer. Only people who talk to real people! What must I do?
    (Sorry for my bad english!)
     
  23. Offline

    Fenice

    I read the wiki and the plug in is installed, but nothing happends when I tipe in the commands
     
  24. Offline

    fullwall

    @Fenice - try setting up permissions nodes.
     
  25. Offline

    bill45

    The wiki should have the answers your looking for. The bandits as far as I know aren't completed yet though.
     
  26. Offline

    Fenice

    @fullwall what is "permissions nodes" ?
    Thanks
     
  27. Offline

    fullwall

    Permissions nodes are for the plugin 'Permissions' - they are explained in the wiki. If you don't use that plugin, commands will only be used by ops.
     
  28. Offline

    Fenice

    Yes I have the Plugin "Permissions" but where do I type in the Permissions nodes. Ingame or in a file at the Plugin folder?
     
  29. Offline

    fullwall

    @Fenice - please ask on the Permissions thread for permissions entry help. The nodes can be found on the wiki.
     
  30. Offline

    Fenice

    Ok Thank you
     
  31. Offline

    Citizens

    Version 1.0.8h

    • Added Evil NPCs (don't fully work yet) - there will not be any documentation on them until they are officially released, but feel free to experiment with the different settings and see what happens :)
    • Many bugfixes
     

Share This Page