[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

    aPunch

    Upon further further testing, I was able to reproduce it. I had to set the owner to someone else for the bug to occur. I'll try to fix it/ask fullwall. :D
     
    mbsuperstar1 likes this.
  3. Offline

    GoldenX

    Yes this is how the bug appears. Sorry for not mentioning it. Thank you :)
    Have a nice day.
     
  4. Offline

    number1ahole

    Hey guys, I know the alternate Ids arent being processed for individual sale in trader, (e.g. you cant sell sapling 17:1 for $5 and 17:2 for $7) but has anyone attempted to list sold items like this and have it crash repeatedly? I thought it was a general server issue, but upon testing a few times, after I even load other NPCs with items, the one NPC i made with those alt items inventory keeps clearing and its forcing a server crash which defaults that seller. I created other items/npcs after and they all are normal so I am wondering if it is part of the alt item id issue. If anyone else is using citizens and iconomy and selling items like this, please let me know. thanks!

    edit: also I thought it was server etc, but I dont mess with the traders items for an hour or two and server runs fine. as soon as i edit trader info, get crash within 5 mins and the npcs with single item IDs are fine, just the ones with the alt values are cleared or messed up.
     
  5. Offline

    number1ahole

    I was able to move them when they are standing on half blocks (steps) but not on solid ground myself
     
  6. Offline

    morizuki

    I'm still getting the bug that the Traders Selling/Buying of items will have a cost of nothing.. and when u try to click the Items.. You can get the items, and sometimes.. it duplicate.. Not just the Traders but the Wizards too, if you try to use the teleport.. It will say that u don't have flower blah3.. This occur sometimes when the server is up for a long time..
     
  7. Offline

    d00ba

    I wasn't answering you either. I was giving my opinion, take it or leave it, couldn't care less :rolleyes:
     
  8. Offline

    topsub

    I am not sure why but why does this happen?

    Code:
    2011-07-23 14:37:18 [INFO] [Citizens] Despawned at -54 38
    2011-07-23 14:37:18 [INFO] [Citizens] Despawned at -52 50
    2011-07-23 14:37:18 [INFO] [Citizens] Despawned at -52 50
    2011-07-23 14:37:23 [INFO] [Citizens] Despawned at -53 38
    2011-07-23 14:37:23 [INFO] [Citizens] Despawned at -53 51
    2011-07-23 14:37:23 [INFO] [Citizens] Despawned at -53 51
    2011-07-23 14:37:28 [INFO] [Citizens] Despawned at -52 38
    2011-07-23 14:37:28 [INFO] [Citizens] Despawned at -52 51
    2011-07-23 14:37:28 [INFO] [Citizens] Despawned at -52 51
    2011-07-23 14:37:33 [INFO] [Citizens] Despawned at -53 39
    2011-07-23 14:37:33 [INFO] [Citizens] Despawned at -53 39
    2011-07-23 14:37:33 [INFO] [Citizens] Despawned at -53 39
    2011-07-23 14:37:38 [INFO] [Citizens] Despawned at -52 39
    2011-07-23 14:37:43 [INFO] [Citizens] Despawned at -51 39
    2011-07-23 14:37:43 [INFO] [Citizens] Despawned at -51 39
    2011-07-23 14:37:48 [INFO] [Citizens] Despawned at -54 40
    2011-07-23 14:37:48 [INFO] [Citizens] Despawned at -54 40
    2011-07-23 14:37:48 [INFO] [Citizens] Despawned at -54 40
    2011-07-23 14:37:53 [INFO] [Citizens] Despawned at -53 40
    2011-07-23 14:37:53 [INFO] [Citizens] Despawned at -53 40
    2011-07-23 14:37:58 [INFO] [Citizens] Despawned at -51 40
    2011-07-23 14:37:58 [INFO] [Citizens] Despawned at -51 40
    2011-07-23 14:37:58 [INFO] [Citizens] Despawned at -51 40
    2011-07-23 14:38:03 [INFO] [Citizens] Despawned at -54 41
    2011-07-23 14:38:03 [INFO] [Citizens] Despawned at -54 41
    2011-07-23 14:38:08 [INFO] [Citizens] Despawned at -53 41
    2011-07-23 14:38:08 [INFO] [Citizens] Despawned at -53 41
    2011-07-23 14:38:08 [INFO] [Citizens] Despawned at -53 41
    2011-07-23 14:38:08 [INFO] [Citizens] Despawned at -53 41
    2011-07-23 14:38:08 [INFO] [Citizens] Despawned at -53 41
    2011-07-23 14:38:13 [INFO] [Citizens] Despawned at -52 41
    2011-07-23 14:38:13 [INFO] [Citizens] Despawned at -52 41
    
    Any ideas as to why they do this?
     
  9. Offline

    KyneSilverhide

    I'm using the last version of Citizens, and Bukkit 1000... When the plugin is activated, all players are invisible, but the NPCs are working. If I remove the plugin from the plugin folder, and restart the server, all players are back to normal.

    There are no logs in the server.log. Logging in/out doesn't fix the bug. Teleporting neither.
     
  10. Offline

    Arton

    Evil npc only hit you 1 time and they take no damage :p
     
  11. Offline

    inphinitii

    Thanks for the plug-in. I mainly use it for the trader and blacksmith, but all seems to function perfectly and I've not had any problems.

    I do have a question though, that I can't seem to find an answer to.
    How do I add colored wool or dyes to a store? It always gives me an invalid item ID error upon attempting to add them. Thanks in advance for any help.
     
  12. Offline

    Exidous

    So next time dont respond to my posts then. Its seriously annoying.
     
  13. Offline

    d00ba

    Okay sorry, I'll remember to ask your permission before I express my opinion next time. :rolleyes:
     
    mbsuperstar1 likes this.
  14. Can you make it so I can limit amount of NPC's a certain group can have? For example, group Admins can have 10 while group Moderators can have 5?
     
  15. Offline

    Noobpunisber117

    inphinitii is right how do you add dyes, and wools to a trader if they cant process, something like this "17.2:10 20" all you get is a error code, also theres a glitch that really pissed me off the other night I programed a trader to buy and sell like 40 things I then decided to change his name so I did, but whe I d iud it turned him back into a normal npc and I had to reprogram him all over again!

    P.s. You should add more realistic skins, for names such as
    Woman- women skin
    Guard- anything exept master cheif
    Wizard- you know what I mean
    And randomly generated skins for names not in the skindex!

    These are all complaints that people of my 20 person server were complaining about on server thanks!

    Good luck on the programming guys thanks for the awsome mod!!!!
     
  16. Offline

    Syntaxlb

    I have iConomy AND BOSEconomy on my server, it's possible to use just iConomy, and not BOSEconomy with this plugin ?
     
  17. Offline

    number1ahole

    To add all u have to do is add/toggle the trader, then right click trader twice to select and open inventory window and place the items in inventory to sell. remember 1st slot is held item. I found a way to sell all the items but you have to sell for same price. however, per my post above, this may glitch and crash server. I am waiting for a response but basically to make an example of it:

    for trees/wood drag the items 17:0 17:1 and 17:2 into traders inventory, then do /trader sell 17 ($whatever your money item is$)
    for wool, drag the items 35:whatever into inventory, then do /trader sell 35 100 (or whatever)

    the : if added will not specify the color or version, only amount as it is coded. so 35:15 200 wont sell 1 black wool for $200, but it will sell 15 regular wool for $200

    all have to go for same price basically. i will say however, it works for a few moments then crashes server within 10 mins for me, then that npc is reset basically. they still have inventory but trader is toggled off for them and the prices are gone from my experience. please post here or to me if it works for you. thanks!
     
  18. Offline

    d00ba

    I had exactly the same issue when renaming an NPC.

    NPC skins are out of their control though, as it stands all skins are retrieved from the minecraft.net server. So if you want a specific skin, you have to rename your NPC to match a player that is using the skin you want. It may be possible to change the skins to suit yourself, but you'l need more plugins and possibly a client mod.

    Check out the following plugins:

    http://forums.bukkit.org/threads/ad...g-of-players-skins-capes-and-title-953.22951/

    http://forums.bukkit.org/threads/dev-bukkitcontrib-alpha-0-1-7-1000.18192/

    I haven't used these plugins myself, so I don't know if it works for NPC's.

    EDIT: It's not currently possible to sell/buy coloured wool using the traders.
     
  19. Offline

    number1ahole


    I actually have stalked players down for adding citizens. so i can make then to my liking. well youtube helps alot so my server has some people u may know if u watch youtube heh
     
  20. Offline

    Sgt_Green

    I get that after i put an npc in my server. i have no idea how to fix it. I cannot right click on any npc to select them so i cant change settings on them. please help.
     
  21. Offline

    Scyl

    arr, yes, didn't see that before, thanks!
     
  22. Offline

    King_KYl3

    How do you put cuton skins or if yu carnt,when you write some1s name like Deadmau5 for exsample
    he should spawn with his skin ?
     
  23. Offline

    Noobpunisber117

    Yes
     
  24. Offline

    King_KYl3

    is this a feature or not?
     
  25. Offline

    tha d0ctor

    you can edit the config file and change an npc's name that way so it doesn't lose anything

    skins are tied to real Minecraft usernames, you want a woman skin or a guard skin? buy another account and skin it the way you want lol
     
  26. Offline

    ferretlegs

    hi guys, just wanted to let you know that i had a quick attempt to upgrade to build 298, added the new perm nodes and stripped the quote marks from the files indicated by apunch in a recent post. When I started the server I received the following:

    2011-07-24 03:42:28 [SEVERE] Error occurred while enabling Citizens v1.0.9 (Is it up to date?): while scanning an alias; expected alphabetic or numeric character, but found but found
    while scanning an alias
    in "<reader>", line 30, column 23:
    select-items: *
    ^
    expected alphabetic or numeric character, but found but found
    in "<reader>", line 30, column 24:
    select-items: *
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1156)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(ScannerImpl.java:782)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:313)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    at com.citizens.properties.ConfigurationHandler.load(Unknown Source)
    at com.citizens.properties.ConfigurationHandler.<init>(Unknown Source)
    at com.citizens.properties.properties.UtilityProperties.initialize(Unknown Source)
    at com.citizens.properties.PropertyManager.registerProperties(Unknown Source)
    at com.citizens.Citizens.onEnable(Unknown Source)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    Any ideas?
    Have rolled back to prev version for now.
    Thanks,
     
  27. Offline

    aPunch

    Re-add single quotes to select-items and general.chat.format
     
  28. Offline

    Schlumpf

    Is it possible to support Essentials & PlayerEditor?
     
  29. Offline

    Syntaxlb

     
  30. Offline

    fullwall

    @Syntaxlb - depends which one gets enabled first.
     
  31. Offline

    Syntaxlb

    Hmm, so if i rename iConomy.jar to aiConomy.jar, it's will be enable before BOSEconomy.jar ?
     

Share This Page