[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

    mbsuperstar1

    Fullwall, your teams patience is unbelievable, and what appears to be seconds after your return a relatively stable test version released.
    Keep up the great work :)
    @Anyonewhothinksthisisterriblewithnofeaturesyet, the time used will make this "building" have a stronger structure, so it won't collapse :p. Unlike npcx for example with its complicated structure and commands. (In my opinion)

    Did some testing, created 2 NPC's.. turned my server off, fine.

    Turned it back on and on start-up..
    Hope this helps.
     
  3. Offline

    JohnTheRipper

    What limit on length?

    Some of my NPCs are over 15 char long names...
     
  4. Offline

    fullwall

  5. Offline

    villadsenk

    i can't get it to work can someone help please heres the console text

    Code:
    2011-05-01 19:02:36 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-01 19:02:36 [INFO] Loading properties
    2011-05-01 19:02:36 [INFO] Starting Minecraft server on *:25565
    2011-05-01 19:02:36 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-05-01 19:02:36 [INFO] Preparing level "world"
    2011-05-01 19:02:36 [INFO] Preparing start region
    2011-05-01 19:02:38 [INFO] Preparing spawn area: 8%
    2011-05-01 19:02:39 [INFO] Preparing spawn area: 16%
    2011-05-01 19:02:40 [INFO] Preparing spawn area: 24%
    2011-05-01 19:02:41 [INFO] Preparing spawn area: 36%
    2011-05-01 19:02:42 [INFO] Preparing spawn area: 44%
    2011-05-01 19:02:43 [INFO] Preparing spawn area: 52%
    2011-05-01 19:02:44 [INFO] Preparing spawn area: 61%
    2011-05-01 19:02:45 [INFO] Preparing spawn area: 65%
    2011-05-01 19:02:46 [INFO] Preparing spawn area: 73%
    2011-05-01 19:02:47 [INFO] Preparing spawn area: 81%
    2011-05-01 19:02:48 [INFO] Preparing spawn area: 85%
    2011-05-01 19:02:49 [INFO] Preparing spawn area: 89%
    2011-05-01 19:02:50 [INFO] Preparing spawn area: 97%
    2011-05-01 19:02:51 [SEVERE] [Citizens]: The Permissions plugin isn't loaded, commands can only be used by ops.
    2011-05-01 19:02:51 [INFO] [Citizens]: version [1.07g] (Helpers) loaded
    2011-05-01 19:02:51 [INFO] Done (1,458s)! For help, type "help" or "?"
    2011-05-01 19:02:51 [INFO] [Citizens]: Loaded 0 NPC's
    2011-05-01 19:02:51 [INFO] plugins/Citizens/Traders/Citizens.traders not found! Creating empty file at plugins\Citizens\Traders\Citizens.traders.
    2011-05-01 19:02:51 [SEVERE] Unable to create plugins\Citizens\Traders\Citizens.traders
    java.io.IOException: Den angivne sti blev ikke fundet
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(Unknown Source)
        at com.fullwall.Citizens.PropertyHandler.createFile(PropertyHandler.java:62)
        at com.fullwall.Citizens.PropertyHandler.<init>(PropertyHandler.java:53)
        at com.fullwall.Citizens.Utils.TraderPropertyPool.<clinit>(TraderPropertyPool.java:15)
        at com.fullwall.Citizens.Citizens$2.run(Citizens.java:118)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 19:02:51 [SEVERE] Unable to save plugins/Citizens/Traders/Citizens.traders
    java.io.FileNotFoundException: plugins\Citizens\Traders\Citizens.traders (Den angivne sti blev ikke fundet)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at com.fullwall.Citizens.PropertyHandler.save(PropertyHandler.java:78)
        at com.fullwall.Citizens.PropertyHandler.<init>(PropertyHandler.java:54)
        at com.fullwall.Citizens.Utils.TraderPropertyPool.<clinit>(TraderPropertyPool.java:15)
        at com.fullwall.Citizens.Citizens$2.run(Citizens.java:118)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 19:02:51 [INFO] plugins/Citizens/Traders/Citizens.inventories not found! Creating empty file at plugins\Citizens\Traders\Citizens.inventories.
    2011-05-01 19:02:51 [SEVERE] Unable to create plugins\Citizens\Traders\Citizens.inventories
    java.io.IOException: Den angivne sti blev ikke fundet
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(Unknown Source)
        at com.fullwall.Citizens.PropertyHandler.createFile(PropertyHandler.java:62)
        at com.fullwall.Citizens.PropertyHandler.<init>(PropertyHandler.java:53)
        at com.fullwall.Citizens.Utils.TraderPropertyPool.<clinit>(TraderPropertyPool.java:17)
        at com.fullwall.Citizens.Citizens$2.run(Citizens.java:118)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    EDIT: solved the problem but now it cant login on the server now it says this in the console



    Code:
    2011-05-01 19:16:15 [INFO] Starting minecraft server version Beta 1.5_02
    
    any solution?
     
  6. Offline

    deathhorn

    that's the answer to ur question
     
  7. Offline

    QuestCraft

    Thank you fullwall and mnpc and whoever else I missed for the citizens CB 740! I can't wait to see the next big release! You guys are doing great and I thank you for all the hard work you have put into this plugin.

    P.S. How was your vacation?
     
  8. Offline

    Waffletastic

    Whenever anyone tries to connect it says logging in then, recieved string error longer than maximum allowed or soemthing. Gah
     
    Ethan Hall likes this.
  9. Offline

    Xemnas33

    One of your NPC names is too long. They can be a maximum of 16 characters.
     
  10. Offline

    gingy97

    how do i actually turn a trader into an npc?
     
  11. Offline

    deathhorn

    it's not implemented yet
     
  12. Offline

    gingy97

    ok thanks
     
  13. Offline

    Manuel1948

    I have CB 700, I belive, (git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks) running MC 1.5_02 and if I enter /npc create name it says Internal Error, but it is getting created ind the basic npc file, and on the next start there come a lot of errors:

    Code:
    2011-05-01 19:53:43 [WARNING] Task of 'Citizens' generated an exception
    java.lang.NoSuchFieldError: a
        at com.fullwall.resources.redecouverte.NPClib.CraftNPC.<init>(CraftNPC.java:28)
        at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:69)
        at com.fullwall.Citizens.NPCs.NPCManager.registerBasicNPC(NPCManager.java:59)
        at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:27)
        at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:257)
        at com.fullwall.Citizens.Citizens.access$0(Citizens.java:222)
        at com.fullwall.Citizens.Citizens$1.run(Citizens.java:100)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  14. Offline

    Xemnas33

    Update to Build 740 and make sure you're using 1.07i
     
  15. Offline

    Manuel1948

    ok i try thanks
     
  16. Offline

    RTRD

    Update changelog? :p
     
  17. Offline

    fullwall

    Traders are about 60% done by the way.
     
  18. Offline

    majordylan

    i have permissions set up and i use the - '*' for my permissions as an admin but i cant use this because it says i do not have permission to use this. what am i doing wrong?
     
  19. Offline

    Manuel1948

    i also had this problem try to reinstall the citizens files. I use this permissions plugin: http://forums.bukkit.org/threads/ad...ow-with-real-multiworld-permissions-740.5974/ and this is my config:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'citizens.*'
     
  20. Offline

    blutherz

    why you don't name it 1.0.8?
    :)
    Also i figured out when i have citiziens (NPC)
    Sleep in bed don't work at moment.
    I test it. (Removed all NPC and players > i can sleep)
    Adding back all NPC > i CANT' sleep better say time don't switch to day.

    Also NPC still not talking on my server and no looking around me. (yes i set all on "true")




    .
     
  21. Offline

    blutherz

    I had made for every world a extra permission here is a example of one world which works:
    Show Spoiler
    Code:
    plugin:
        permissions:
            system: default
            copies: ''
    groups:
        guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: null
            permissions: 
            - craftbook.mech.cauldron
            - ecoCreature.Creature.*
            - ThunderJoin.join
            - lc.level.* 
        Members:
            default: false
            info:
                prefix: '&e'
                suffix: '&f'
                build: true
            inheritance:
            - guest
            permissions:
            - lwc.protect
            - general.spawn
            - general.items
            - general.spawn.set
            - general.teleport
            - general.teleport.here
            - general.time
            - general.playerinfo
            - myhome.home.basic.*
            - imonster.*
            - DailyBonus.get
            - ichat.color
            - worldedit.*
            - herobounty.accept
            - herobounty.list
            - herobounty.locate
            - citizens.*
            - lc.shout
            
        Moderator:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - Members
            permissions:
            - lwc.mod
            - /god
            - /stopfire
            - /allowfire
            - /reloadwg
            - /worldguardnotify
            - /ex
            - myhome.*
            - mywarp.*
            - bb.admin
            - multiverse.*
            - herobounty.new
            - lc.*
            
                    
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: null
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        blutherz:
            group: Admins
            permissions: null
        dau2001:
            group: Members
            permissions:
            - general.time
    
     
  22. Offline

    Hawtin

    same here
     
  23. Offline

    majordylan

  24. Offline

    majordylan

    it says "missing a prefix or suffix for null"
     
  25. Offline

    carson330

    Quick idea. If it's possible could you add an option where you pay a NPC a set amount of cash, then after you pay it, it starts walking on a path. I personally would use this for tollbooths and/or entry fee's to arenas or Inns. If you can add it in, that would be AWESOME! If you got too much on your hands, I understand. Just a little suggestion.
     
  26. Offline

    lukedelong

    Im confused as to how the talking feature works... if I set it to talk when near then I don't see any message when I get near, neither does anyone else on the server please help.

    (P.S.) sorry if this was already addressed I was in a hurry and didn't have time to read all of the posts.
     
  27. Offline

    MacVaultDweller

    Thanks for all the hard work.
     
    mbsuperstar1 likes this.
  28. Offline

    paully104

    Currently cannot delete npc's at all
     
  29. Offline

    Xemnas33

    1.08 is coming when traders a fully functional, which happens to be soon! :D
     
  30. Offline

    mmdawg1

    is there a way for an NPC to open doors with like levers?
     
  31. Offline

    lukedelong

    I was wondering Why when i make my NPC's talk they say nothing even if set to talk when someone comes near
     

Share This Page