fullwall / citizens Goto Github PK
View Code? Open in Web Editor NEWAn NPC plugin for bukkit.
License: Other
An NPC plugin for bukkit.
License: Other
Would it be possible to implement command to list all the messages assigned to an npc and then selectively delete them? It'd be much more convenient than having to remake the entire list if you make a mistake or want to change something. For example:
/npc mlist
%Name%'s messages:
/npc mdelete 2
As aspernatio said in the thread:
Aspernatio said: โ
As I run my own server for a few of my friends, I've found that there's one thing that I think could be improved in this plugin - order of text. For example, I'd like to be able to have an npc named, "Front_Desk_Secretary," who upon being struck once, says, "Hello, welcome to the Mainstay Corporation. How can I help you?" and upon being struck a second time, says, "The offices are on the second floor."
Perhaps the best way to do that would be to have a command like "/npc intro Front_Desk_Secretary Hello, welcome to the Mainstay Corporation. How can I help you?" which allows you to set an intro phrase which is said once to each player, and is never again said to that player (or goes on a timer, or resets if that player leaves the chunk to which the npc belongs, etc.)
Sorry I accidenly clicked comment and close, that there is my Permissions, my username in game is Unh20050 that is the only change I made
plugin:
permissions:
system: default
copies:
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: 'Admin'
suffix: ''
build: true
inheritance:
permissions:
- '*'
users:
unh20050:
group: Admins
permissions:
- '*'
Herpina:
group: Moderator
info:
prefix: 'Moo'
suffix: 'Cow'
permissions:
- 'herp.derp'
Derpina:
group: Admins
permissions:
- '-derp.derp'
Do research on names with different skins using this:
http://forums.bukkit.org/threads/chat-basic-name-changer-677.6969/
Whenever I restart my server, I use McMyAdmin, all of my NPCs are gone along with their text.
Instead of dollars, let's set the name of our currency in the config.
On my server we use coins. Dollars makes no sense in an international environment
This occurs when I use the command /npc create bob.
I've tried to get citizens to work several time (on my own) over the past month... I'd really like to try it out.
What am I doing wrong?
All the relevant info should be here:
14:52:06 [INFO] Starting minecraft server version Beta 1.6.4
14:52:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-762-g69e11d1-b815jnks (MC: 1.6.4)
14:52:07 [INFO] [Permissions] version [2.7.2] (Phoenix) loaded
14:52:09 [INFO] [iConomy] v5.0 (Eruanna) loaded.
14:52:09 [INFO] [Citizens]: Permissions enabled.
14:52:09 [INFO] [Citizens]: version [1.0.8c] (Helpers) loaded
14:52:09 [INFO] [Citizens] Payment method found (iConomy version: 5)
14:52:09 [INFO] [Citizens]: Loaded 0 NPCs.
14:55:05 [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:706)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:672)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:665)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:215)
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:396)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:308)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
Caused by: java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/World;)V
at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:68)
at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:113)
at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnNPC(BasicNPCHandler.java:32)
at com.fullwall.Citizens.CommandExecutors.BasicExecutor.createNPC(BasicExecutor.java:536)
at com.fullwall.Citizens.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.java:53)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
... 12 more
whenever i try to use the /npc create [name] command, it says "You dont have enough money for that!". I'm op. Help please :(
hi this is my second post but with the error the command prompt says this,
2011-04-03 16:23:34 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to mcMMO
while parsing a block mapping
in "", line 43, column 5:
Default:
^
expected , but found BlockMappingStart
in "", line 116, column 6:
Admin:
^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
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.composeMappingNode(Composer.java:228)
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:73)
at com.nijiko.permissions.Control.load(Control.java:149)
at com.nijiko.permissions.Control.loadWorld(Control.java:112)
at com.nijiko.permissions.Control.permission(Control.java:311)
at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:31)
at com.gmail.nossr50.mcPermissions.mcAbility(mcPermissions.java:119)
at com.gmail.nossr50.mcPlayerListener.onPlayerCommandPreprocess(mcPlayerListener.java:122)
at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:190)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:586)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
at net.minecraft.server.Packet3Chat.a(SourceFile:24)
at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
2011-04-03 16:23:34 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v1.07
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
at net.minecraft.server.Packet3Chat.a(SourceFile:24)
at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
Caused by: while parsing a block mapping
in "", line 43, column 5:
Default:
^
expected , but found BlockMappingStart
in "", line 116, column 6:
Admin:
^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
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.composeMappingNode(Composer.java:228)
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:73)
at com.nijiko.permissions.Control.load(Control.java:149)
at com.nijiko.permissions.Control.loadWorld(Control.java:112)
at com.nijiko.permissions.Control.permission(Control.java:311)
at com.fullwall.Citizens.Permission.permission(Permission.java:37)
at com.fullwall.Citizens.Permission.generic(Permission.java:49)
at com.fullwall.Citizens.CommandExecutors.BasicNPCCommandExecutor.hasPermission(BasicNPCCommandExecutor.java:624)
at com.fullwall.Citizens.CommandExecutors.BasicNPCCommandExecutor.onCommand(BasicNPCCommandExecutor.java:42)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
... 12 more
PLEASE HELP
Possibility of right-clicking an NPC to open a shop.
Compability with using several different shops For example; one for meat, one for tools, one for materials.
How do I label this as a suggestion?
Using Iconomy 5, and latest version of Citizens. If i set the fields:
use-econplugin=true
blacksmith-armor-repair-econplugin=150
and have blacksmith-tool-repair-econplugin=250
When I repair armor it is charging 250. All repairs are 250 regardless of the armor repair value.
Thanks
I was just equipping my NPC's when I realized you could add lava and water to them, which would glitch through their chests.
Then I started experimenting with what items would equip:
Mushrooms worked. Flowers worked..
Then I tried TNT, that seemed to equip, and so did most blocks.
/npc helmet 46
For me, this only worked for helmets.
Is this working intentionally or is it an issue?
Suggestion: Another type of NPC like a guard or a trader.
Currently,you can use a command to select an NPC and then teleport to them from anywhere making a great transport system. The problem with this is it requires a -/command and with permissions allows you to teleport to any NPC's you own which would give some players too much power and is often restricted. (Correct me if I'm wrong, you can only tp to an NPC you own, unless admin?)
My idea would be to be able to link 2 wizards together as a teleport system. Right-clicking* on one will send you to the other, with a toggle in the config file to make it a 1 way system. And even, if possible a confirmation message before teleporting to make server players know they're dealing with a wizard.**
*Due to right-clicking being used for selection another method of input could be used, maybe right clicking or damaging with a specific item chosen in config.
**Not good with bukkit and not sure if this is possible!
Thanks for reading, what do you think?
Advantages:
-Would enable a friendly method of transportation that is role-play friendly and unique.
-Would make this plugin a standalone warp system on-top of its other features.
-Could add a payment of coins or ID to use the teleport which would support a world economy.
Disadvantages:
-Would require time to develop, but a teleport to ID already works with commands.
-Would require some more testing to make it work properly.
Copying NPC's doesnt copy the talkwhenclose and lookatplayers settings
Text is also not copied.
Set the player who created the NPC as owner so it's possible to track who creates which npcs.
Change TickTask to only loop through NPCs that need to be looped through (look/talkwhenclose). Possible optimisation is to use NPC.getChunk.getEntities() to check for players close to the NPC, but this runs into problems when the look range goes out of the chunk.
this is what the error is PLEASE HELP
2011-04-03 17:07:09 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v1.07
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
at net.minecraft.server.Packet3Chat.a(SourceFile:24)
at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
Caused by: while parsing a block mapping
in "", line 43, column 5:
Default:
^
expected , but found BlockMappingStart
in "", line 98, column 6:
Admin:
^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
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.composeMappingNode(Composer.java:228)
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:73)
at com.nijiko.permissions.Control.load(Control.java:149)
at com.nijiko.permissions.Control.loadWorld(Control.java:112)
at com.nijiko.permissions.Control.permission(Control.java:311)
at com.fullwall.Citizens.Permission.permission(Permission.java:37)
at com.fullwall.Citizens.Permission.generic(Permission.java:49)
at com.fullwall.Citizens.CommandExecutors.BasicNPCCommandExecutor.hasPermission(BasicNPCCommandExecutor.java:624)
at com.fullwall.Citizens.CommandExecutors.BasicNPCCommandExecutor.onCommand(BasicNPCCommandExecutor.java:42)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
... 12 more
I had 2 traders set up and working fine. I restarted my server (even after doing /save-all) and the traders are still stocked, but when i try to buy or sell an item to/from that trader.. it says "This trader is not selling (blocktype) at this time"
I can't select a NPC with the right clik in the game (i'm operator) and the NPC don't speak. (even the default text) I use the latest version of citizens. Somebody can help me ?
EDIT : I found how select a NPC. The default setting is to select with a stick (ID 280)
But the NPC still don't speak...
EDIT 2 : I found :) You have to use this command : /npc talkwhenclose [true/false]
When it's "true" NPC speak when you are front of them.
Great plugin :)
Suggestion:
A path walking feature would be amazing, with [?] second delay at each path point created. A mode that can be switched on and off that tells you in the console when they hit a certain path point would be helpful, that way you don't have to try to remember where the path points are and they can easily be removed
examples:
/npc path Bob add 5 - This would add a path point at your current position for Bob with a 5 second delay at the point.
/npc path Bob remove 2 - Removes Bob's second path point.
/npc path Bob [mode/reset] - Toggles on/off mode that tells Bob's points at the time he arrives.
/npc path Bob delay 2 3 - Adds a 3 second delay to point 2
Just throwing my ideas into the pot :)
The levelcraft fisticuffs skill is still receiving experience from hitting NPC's. Any plans to fix this, or will it be fixed when guards role out?
Adding text when none has been set yet results in an error.
I installed this plugin yesterday, I love it. But I also have a duplication bug i have only 8 NPC's but on server restart they all dupe, I noticed that all the duped npc's ID numbers are above 20+. Also i have not set any colours! i have version 1.07d
This error comes up at the very end of the minecraft starting server jobs.
normally this is where I would expect to see the X NPCs Loaded.
2011-06-04 18:51:09 [SEVERE] Error occurred while enabling Citizens v1.0.8 (Is it up to date?): null
java.lang.NullPointerException
at com.fullwall.Citizens.Commands.CommandHandler.registerCommands(CommandHandler.java:55)
at com.fullwall.Citizens.Citizens.onEnable(Citizens.java:121)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:111)
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)
Well, my NPCs disappear on a reload or if I restart my server. And I can't even select the NPCs anymore with the "/npc select" command.
The coordinates in the locations file are, but they aren't there in the server:
1=world,338.612027466879,71.0,-381.58420451067656,-206.22507,29.334023
0=world,338.0877239158027,71.0,-386.5014853835984,-17.46603,26.249954
Not related to this issue, but I'd like to have an answer on this too:
How do I set it up so admins can spawn infinite NPCs? Because when I set the max-NPCs-per-player= to 5, then admins have a limit of 5 too.
Thanks.
I originally thought the guards would have health.... but they don't. Could this be possible as a feature to turn on or off, and set the health of the guards like how their ranges can be changed?
Setting the color of an NPC's name moves him back to spawned position.
I allready added the cicizen.use.trader and trader stock permissions. They click the nps and nothing happens. Using bukkit 818 citizens 1.08e
Dev build crashes when equiping NPC's with helmets
Hello,
I run my own server, a smaller one compared to to others, and am an Op on my server. I can use all my other commands but when i installed citizens, it said i do not have access to the command (in this case /npc create)? I then tried installing permissions (uninstalled it in past because of issues) and made myself an admin and it still said i do not have access. I then tried just doing /npc and it said to type /citizens help but when i did that did not have access. How can I fix this? Thank You- Unh20050
Result: The NPC speaks, but it does not follow the chat-format setting. It should.
Right clicking with the set item triggers the correct message, though.
Running v1.06 on the 531 build. Tried out the jar linked as 'indev' and encountered the same issue. I doubt Bukkit is causing it but you never know.
Will you add an option to enable my NPC's to fall?
I can't imagine a waypoint system working properly without this to be honest =P
CakeCraft Error Report:
After investigating issues with ym server start up I've pinpointed the error to:
[CODE] Task of 'Citizens' generated an exception
java.lang.NullPointerException
at com.fullwall.Citizens.NPCs.NPCDataManager.addItems(NPCDataManager.java:36)
at com.fullwall.Citizens.NPCs.NPCManager.loadBasic(NPCManager.java:142)
at com.fullwall.Citizens.NPCs.NPCManager.registerNPC(NPCManager.java:74)
at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnExistingNPC(BasicNPCHandler.java:43)
at com.fullwall.Citizens.Citizens.setupNPCs(Citizens.java:297)
at com.fullwall.Citizens.Citizens.access$0(Citizens.java:262)
at com.fullwall.Citizens.Citizens$1.run(Citizens.java:106)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:360)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
[/CODE]
This error prevents players joining on server restart.
I'm also noticing that when I do a command with traders the server freezes for a moment.
Specs:
CB#677
Citizens1.0.8c
Essentials 2.2.17 (or whatever)
Permissions 2.7
Iconomy 5
Etc...
Would appreciate some help!
~CakeCraft Staff
I have a strange bug see video. I have tried to remove the items and add them again and also make new Npc's but to no avail.
Another bug that i found is if someone is interacting with a trader the then disconects/crashes without closing the inventory tab, none can then use that trader untill a server restart or plugins reload
NPC would look like more intelligently if you could chat with them. They would send you reply based on key words.
For example:
/npc chat [city,New York] "Follow blue arrows."
Maybe npc could do something else not only chatting.
You could add more strings (selected randomly) or commands (append ! before string).
For example:
/npc chat [tnt] !"/give tnt 64 %playername" "Here you are, but you don't have it from me!"
/npc chat [how are you] "Fine, thanks for asking" "I'm sick of you asking your stupid questions!"
And some npc instructions:
/npc chat [kill me] !"/npc attack %playername"
/npc chat [follow me] !"/npc follow %playername" "OK"
And some events:
/npc event attacked "Please spare my poor life, here take my gold." !"/give goldeningot 13 %playername"
/npc event hitbylightning "Argh, f*cking thunderstorm!"
Most of this has NPCX plugin but i don't like it because it's too complicated.
I downloaded Citizens 1.0.8c, went into my server, went to the general store and set up a proper trader NPC. But when I went to use the trader stocking commands, balance command, and list command, it said the server is not running iConomy, when it clearly is. Ideas? Suggestions would be helpful.
Hi guys,
I know this issue has been covered already, but whenever I try to create a citizen on my server, the message "An internal error occurred while attempting to perform this command. My CMD reads:
[SEVERE] null
org.bukkit.command.CommandException : Unhandled exception executing command "npc" in plugin Citizens v1.0.8
It then attempts to solve the problem, but after it fails, it reads:
Caused by java.lang.NoSuchMethodError : net.minecraft.server.ItemInWorldManager..(Lnet/minecraft/server/World;)U
I don't know if you need anymore information. Please do say if any other info is needed.
Thanks,
Daftpiddle.
Using 1.07 some of my npc's get duped if standing in a crampt space. Currently have the same npc three times making quite a spam when walking by.
I noticed that some of my customer's servers used a lot of CPU (>200%) and found out that this is caused by the Citizens plugin. It seems that users forgot to copy the Citizens folder.
It would be great if this issue could be avoided by just not loading the plugin if the folder is missing. Alternatively the files could just be created.
Any chance of this being made compatible with uQuest? Imagine going up to your NPC Chef and getting a quest to kill pigs for him to cook!
If you're using a trader, and your client freezes, it'll think you're still using it and it won't let other people use that trader. I had to restart the server so it would open up that trader.
After i installed Towny, half the NPC's we're removed and i cant add anymore.
- 'citizens.create'
- 'citizens.settext'
- 'citizens.remove.singular'
- 'citizens.remove.all'
- 'citizens.help'
- 'citizens.color'
- 'citizens.setitem'
- 'citizens.move'
- 'localshops.manage'
- 'localshops.manage.owner'
- 'localshops.create'
- 'localshops.create.free'
- 'localshops.destroy'
- 'localshops.reload'
- 'localshops.admin'
- 'herochat.create'
- 'herochat.color'
- 'herochat.admin'
- 'essentials.setspawn'
- 'towny.admin'
this has been asked about many times already, but in all of the ones ive read im yet to find an answer, its not letting me create and npc and everytime i try to it says "An internal error occurred while attempting to perform this command" and my terminal says:
[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.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.(Lnet/minecraft/server/World;)V
at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHumanNpc(NPCSpawner.java:66)
at com.fullwall.Citizens.NPCs.NPCManager.register(NPCManager.java:62)
at com.fullwall.Citizens.NPCs.NPCManager.register(NPCManager.java:98)
at com.fullwall.Citizens.Commands.CommandExecutors.BasicExecutor.create(BasicExecutor.java:522)
at com.fullwall.Citizens.Commands.CommandExecutors.BasicExecutor.onCommand(BasicExecutor.java:51)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
... 12 more
im using Citizens v1.0.8d and my bukkit build is 817. I hope thts all the information you need if not please say whatever else you need
hi whenever i try to create an npc it says "an internal error has ocurred whil trying to issue this command" PLEASE help
15:40:44 [WARNING] Task of 'Citizens' generated an exception
java.lang.NoSuchFieldError: a
at com.fullwall.resources.redecouverte.NPClib.CraftNPC.(CraftNPC.j
ava:28)
at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHuman
Npc(NPCSpawner.java:69)
at com.fullwall.Citizens.NPCs.NPCManager.registerBasicNPC(NPCManager.jav
a:59)
at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnExistingNPC(BasicNPCH
andler.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(C
raftScheduler.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)
15:41:09 [INFO] Silmos [/5.97.66.197:53287] logged in with entity id 70
15:41:17 [INFO] Silmos lost connection: disconnect.endOfStream
15:41:17 [INFO] [BACKUP] Initiate a last backup because the last player left. It
will start to backup in 15 minutes when no player will have connected in this t
ime.
15:41:17 [WARNING] Can't keep up! Did the system time change, or is the server o
verloaded?
15:41:28 [INFO] Silmos [/5.97.66.197:54174] logged in with entity id 76
15:41:46 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'npc'
in plugin Citizens v1.07
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
55)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
java:650)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
at net.minecraft.server.Packet3Chat.a(SourceFile:36)
at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
Caused by: java.lang.NoSuchFieldError: a
at com.fullwall.resources.redecouverte.NPClib.CraftNPC.(CraftNPC.j
ava:28)
at com.fullwall.resources.redecouverte.NPClib.NPCSpawner.SpawnBasicHuman
Npc(NPCSpawner.java:69)
at com.fullwall.Citizens.NPCs.NPCManager.registerBasicNPC(NPCManager.jav
a:59)
at com.fullwall.Citizens.NPCs.NPCManager.registerBasicNPC(NPCManager.jav
a:77)
at com.fullwall.Citizens.NPCs.BasicNPCHandler.spawnNPC(BasicNPCHandler.j
ava:23)
at com.fullwall.Citizens.CommandExecutors.BasicExecutor.createNPC(BasicE
xecutor.java:516)
at com.fullwall.Citizens.CommandExecutors.BasicExecutor.onCommand(BasicE
xecutor.java:49)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
... 12 more
I use Craftbukkit version git-bukkit-0.0.9-681 MC: 1.5_02
Items added to NPC's wont show.
Whenever i use any of the commands it just shows me that An internal error ocured . Can you help me fix this problem ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.