Giter Club home page Giter Club logo

citizens's People

Contributors

thempc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

citizens's Issues

Selectively deleting messages

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:

  1. Hello world!
  2. Goodbye.
  3. Who are you?

/npc mdelete 2

Texts said in order(should be configurable per npc)

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.)

Cannot Access (Accidently Closed)

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

System is no longer used, but may become used in the future

Copies is for multiple-world support

Put the name of the world you wish for it to be a clone of, otherwise leave it empty.

If this file is for your default world (the one in server.properties) then you must

leave copies blank.

Example: copies: Derp - This will clone the permissions of the world Derp

Make sure to rename this file to the name of the world that is in sever.properties under

level-name. So if it is level-name: world then this should be world.yml and in the

plugins/Permissions directory (ie. plugins/Permissions/world.yml)

NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid

doing this is to use Notepad++ and replace the tab with 4 spaces.

plugin:
permissions:
system: default
copies:

AntiBuild is included with this. To disable a group from being able to build then

set the build: flag to false (build: false). If you want a group to be able to build

then set it to true.

Groups can contain inheritance.

To make a group inherit the permissions from another

group simply place the groups name in the "inheritance:" like so:

Example:

inheritance:

- Default

All permissions including the asterisks must be placed in single quotes.

like so:

- 'foo.bar'

Otherwise errors will happen!

Globalized Permission settings:

If a permission contains periods (.) you can denote a globalized parameter:

- 'foo.*'

This will allow you to use all general commands.

Single Asterisk denotes all commands:

- '*'

If you give a group this permissions, do not have the group inherit any permissions

from other groups. Any users assigned to this group should NOT be given any additional

permissions either.

To exempt a node use the - prefix like so:

- '-foo.bar'

prefix: and suffix: do not do anything on their own. You need another outside plugin

such as iChat or HeroChat in order for these to do anything.

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 denote which users are included in which group.

TheNo1Yeti is in the Admin group

Herpina is a member of the Moderator group but also has access

to the herp.derp permissions

Derpina is a member of the admin group but does not have access

to the derp.derp permission node

Users can also have a prefix and suffix as seen with Herpina

users:
unh20050:
group: Admins
permissions:
- '*'
Herpina:
group: Moderator
info:
prefix: 'Moo'
suffix: 'Cow'
permissions:
- 'herp.derp'
Derpina:
group: Admins
permissions:
- '-derp.derp'

"internal error"

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

Not enough money?

whenever i try to use the /npc create [name] command, it says "You dont have enough money for that!". I'm op. Help please :(

internal error

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

Traders

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?

Blacksmith Repairs

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

Helmets

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?

Wizard

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.

Copy NPC

Copying NPC's doesnt copy the talkwhenclose and lookatplayers settings
Text is also not copied.

Creator tracking

Set the player who created the NPC as owner so it's possible to track who creates which npcs.

Optimisation

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.

plugin won't work

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

Citizens does not load traders

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"

Big issue

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 :)

Paths

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 :)

Levelcraft Conflicting

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

Adding text when none has been set yet results in an error.

NPC Duplication

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

Errors on Server Start.

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)

NPCs disappear on reload/restart

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.

Health

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 color

Setting the color of an NPC's name moves him back to spawned position.

users cant access traders

I allready added the cicizen.use.trader and trader stock permissions. They click the nps and nothing happens. Using bukkit 818 citizens 1.08e

Do not Have access to command

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

Not following chat-format with talk-when-close=true

  1. Set talk-when-close=true
  2. Alter the chat-format setting
  3. Reload/Restart
  4. Approach an NPC

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.

Gravity!

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

1.0.8.c Error

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

Trader bug

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.

http://youtu.be/nIjJzNydKko

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

Chatterbot

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."

User:
Hi, How can i get to the city?
NPC:
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!"

User:
Shh, could you provide me some tnt?
NPC:
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!"

User:
How are you today?
NPC:
Fine, thanks for asking
User:
How are you now?
NPC:
I'm sick of you asking your stupid questions!

And some npc instructions:

/npc chat [kill me] !"/npc attack %playername"

User:
Kill me b*tch!
*
NPC starts attacking player

/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.

Citizens using EssentialsEco over iConomy 5.

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.

Internal Error

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.

NPC Dupe

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.

  • Volander

Massive CPU usage if folder "plugins/Citizens" is missing

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.

Suggestion uQuest compability

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!

Citizens crashes

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.

Simpily not working after Towny

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'

internal error

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

internal error

hi whenever i try to create an npc it says "an internal error has ocurred whil trying to issue this command" PLEASE help

cant create NPC

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

Help

Whenever i use any of the commands it just shows me that An internal error ocured . Can you help me fix this problem ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.