[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 - 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


    Well what I actually ment was that as soon as I add more than one line of text the npc has to say, it will only say the last one I added.

    Sorry that I wasn't really clear on that.
  3. Offline


    Oh ok then.
  4. Offline


    sure your not using the wrong commands coz the one i posted is what you need to use to add more then one text.
    As far as I am awear it may only display one set of text at time and not mulitple lines.

    Here is list of text commands and uses
    Command Action
    /npc create [name] (text - optional) creates an NPC at your location.
    /npc set [text] sets an NPC's text (removes all previous messages).
    /npc add [text] adds to an NPC's text list (messages selected randomly from the list).
  5. Offline


    I use this command: /npc add [text]
    And I configured my npc to talk when player is close.
    When I add more than 1 line using the /npc add [text] command, the npc will only say the last line I've added.
  6. Offline


    Trying to work out if it's Citizens running or the 30 or so minecarts I've dumped into the void that are currently causing my entity-only lag...
  7. Offline


    At the moment it doesnt work with permissions yes? And Guard and Bandits dont work properly yes?

    When will their be an update to fix this?
  8. Offline


    Works fine with permissions for me
  9. Offline


    Long story short... I've fixed my problem, but the information below will be helpful for people moving to the latest release, 1.0.8f...

    Did permissions change with the 1.0.8f release?

    Users that could use the blacksmith can no longer... Permissions file didn't change... citizens.blacksmith.repair doesn't allow users access to the blacksmith anymore.

    When I as an admin try to use the blacksmith I receive a message stating "our server has not turned economy on for Citizens"

    However, economy is turned on... and it's set in the config.

    #Minecraft Properties File
    #Sat May 14 14:19:33 CDT 2011
    Do I need to recreate all my config files for 1.0.8f?
    If so, that would be helpful to be indicated in the first post summary :)

    I see you've moved things into a economy.yml file...
    where there are two values:
        use-econplugin: 'true'
        use-economy: 'true'
    looks like you've also changed permission structures from:
    citizens.blacksmith.* to citizens.use.blacksmith

  10. Offline


    I don't know if this is even fully implemented yet, but I thought I'd let you guys know anyways.

    I was messing around with the wizard modes and changed it from TELEPORT to TIME but when I active the wizard in time mode, instead of changing the time he changes the weather.
  11. Offline


    how I can make a NPC trader or other class??...
    PS: if the class changer command is /toggle, this command uses xAuth, and I can't change the NPC class
    (sry for my bad english)
  12. Offline


    Users who only have permission (permissions version 2.7.2) to:

    Users with the above permissions cause the followign error message on the server console when they type /npc help
    09:01:06 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v1.0.8
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            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:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at com.fullwall.Citizens.Permission.canUse(Permission.java:70)
            at com.fullwall.Citizens.Commands.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.java:296)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
  13. Offline


    Pretty strange, when I use the new build, traders and blacksmiths doesn't do anything anymore.
    With all admin rights, I right click on them, it selects them but that's everything it does.. :(
  14. Code:
    2011-06-05 14:00:33 [WARNING] Task of 'Citizens' generated an exception
    	at com.fullwall.Citizens.Properties.Properties.WizardProperties.saveMode(WizardProperties.java:42)
    	at com.fullwall.Citizens.Properties.Properties.WizardProperties.saveState(WizardProperties.java:85)
    	at com.fullwall.Citizens.Properties.Properties.WizardProperties.loadState(WizardProperties.java:99)
    	at com.fullwall.Citizens.Properties.PropertyManager.load(PropertyManager.java:58)
    	at com.fullwall.Citizens.NPCs.NPCManager.register(NPCManager.java:75)
    	at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:176)
    	at com.fullwall.Citizens.Citizens.access$0(Citizens.java:167)
    	at com.fullwall.Citizens.Citizens$1.run(Citizens.java:131)
    	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    CB820 1.08f

    re-downloaded and tried again but it keeps throwing this exception. The wizard appears in game but doesn't move/talk/anything...

    it also means that any npc's with a higher id than the wizard will not load but the ones before work fine :(
  15. Offline


    i guess i have the same problem.
    citizens is working with iconomey 5.0.1 because i must pay to create npc and toggle traders and it says that its hooked in to iconomey so thats not a problem... it also says that its hooked into permissions 2.7.4 as well. i have tryed -'citizens.use.*' and -'citizens.use.trader' however when i make a trader and someone trys to use it nothing happens, and if they are an op it opens the chest interface and says transaction started but it works just like any old chest. not selling or buying any thing i have set.
    please fix this as i use this plugin in place of ops handing out items that most people cant make.
    i love this plugin however right know my marketplace is ruined :(
    im using v1.0.8e on CB818
    thankyou ps my spell check isnt working atm....
    still having this problem no errors are generated!
    just now the chest thing happens if im an op OR admin in permissions. both must be off and then nothing right click selects npc right click again and nothing happens.
  16. Offline


    Same problem here
  17. Offline



    I know that Guards aren't being officially supported by the developers yet, but have any other users who have fiddled with this found a way to make a guard stand still yet? My understanding of the feature is that with the elements currently implemented it should be possible to have a guard stand in a certain location, attacking anything blacklisted / not whitelisted that comes within the user-defined radius? I seem to be able to set it up correctly but can't stop the guy from gliding silently behind me ominously!

    Many thanks,

  18. Offline


    The new Citizens build seems to be running smoothly. The only error I have encountered is the following:

    16:55:36 [SEVERE] Could not pass event CHUNK_UNLOAD to Citizens
    java.lang.NoClassDefFoundError: com/fullwall/Citizens/Utils/NPCLocation
            at com.fullwall.Citizens.Listeners.WorldListen.onChunkUnload(WorldListen.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$41.execute(JavaPluginLoader.java:526)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:221)
            at net.minecraft.server.World.doTick(World.java:1556)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.fullwall.Citizens.Utils.NPCLocation
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            ... 9 more
    Haven't found any other bugs yet
  19. Offline


    @Andy, make Guard a Bouncer (/guard Bouncer), spawn using any plugin any blacklisted mob. Let guard kill this mob. After that he will stand still.

    Anybody can tell me how make Wizards work? I added other Wizard as location, but when I'm trying to teleport, it teleporting me near the same wizard, not to the location (2nd wizard).
  20. Offline


    Thanks for the reply Filo. When I spawned the mobs near the guard, he just started walking INTO me and pushing me back haha. When a guard kills a mob will he return to his original location?
  21. Offline


    OK, looks like the 1.0.8f was incorrectly compiled @aPunch check my latest commit - I will also be looking into trader issues when I can (looking like perhaps a delayed startup is necessary, but I will look into it) - this will hopefully be tomorrow or maybe the day after.
  22. Offline


    I can not to sell objects to my NPC.
    I type /trader sell 4 5 for sell cobblestone for 5 dollar but when I want to buy an item I can take it for free.
    ´╗┐Please Help me
  23. Offline


    Where were you standing when you added the second wizard as a location?
    Because it uses the place you are standing as the target of the teleport. The name you give it is not the name of another NPC, but instead the name you give to the place you are standing. If you want to teleport to another wizard stand near the other wizard and add the location there.
  24. Offline


    how do you add a guard :confused:?
  25. Offline


    It doesn't work for me, i get this error message....
    11:43:34 [SEVERE] Error occurred while enabling Citizens v1.0.8 (Is it up to dat
    e?): null
    at com.fullwall.Citizens.Commands.CommandHandler.registerCommands(Comman
    at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:109)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  26. Offline



  27. Offline


    @Andy, after he kill mob, he will stand in place where he killed it.
    @Mephestrial, thanks ;) . I coundn't find on Wiki information about using Wizards.
  28. Offline


    It seems that every wizard I make don't want to teleport anyone...
  29. Offline


    how do bandits work?
  30. Offline


    Best. Plugin. Ever.
  31. Offline

    Darth Cleanueis

    I have a little problem with custom skins for npcs. I modded my minecraft.jar, now it gets the skins from my own Webserver. Custom Skins for NPCs with "/" in their names don't work by reason of the "/". Could you add an option to change the Space-Char? This would be very nice!

Share This Page