okchat.silent.all -- Removes join,quit,kick messages for a player
okchat.silent.join.all -- Removes join messages for a player for all worlds
okchat.silent.quit.all -- Removes quit messages for a player for all worlds
okchat.silent.kick.all -- Removes kick messages for a player for all worlds
okchat.silent.join.<world> -- Removes join messages for a player if joining in <world>
okchat.silent.quit.<world> -- Removes quit messages for a player if quitting in <world>
okchat.silent.kick.<world> -- Removes kick messages for a player if being kicked from <world>
okchat.prefix.<defined-node> -- Allows you to use the prefix tied to <defined-node>, if enabled
okchat.suffix.<defined-node> -- Allows you to use the suffix tied to <defined-node>, if enabled
okchat.spam.ignore.all -- Allows you to ignore chat,command,login spam checks
okchat.spam.ignore.chat -- Allows you to ignore chat spam checks
okchat.spam.ignore.command -- Allows you to ignore command spam checks
okchat.spam.ignore.login -- Allows you to ignore login spam checks
okchat.motd -- Allows a player to see the Message of the Day/Allows a player to use /motd
okchat.motd.all -- Allows a player to see all MotDs
okchat.motd.<world>.<defined-node> -- Allows a player to see a world's Message of the Day
okchat.motd.<world>.all -- Allows a player to see all MotDs of <world>
okchat.who -- Allows a player to use /who
okchat.who.all -- Allows a player to use /who <world>
okchat.who.<world> -- Allows a player to use /who <world>
okchat.reload -- Allows you to use /okchat reload
okchat.list.show -- Anyone without this node will be hidden from the player list
okchat.list.format -- Allows you to have your player list name formatted
okchat.nick -- Allows you to use /nick <nickname>
okchat.nick.any -- Allows you to bypass any nickname rules(illegal characters, colors, duplicates...)
okchat.nick.color -- Allows you to use color codes in your nickname
okchat.title.format -- Allows you to have your title formatted(SPOUT)
okchat.ignore -- Allows you to add,remove people to,from your ignore list
okchat.whisper -- Allows you to whisper and reply to people
okchat.mute -- Allows you to mute a person
okchat.unmute -- Allows you to unmute a person
okchat.subscribe -- Allows a player to subscribe/unsubscribe to/from a channel
okchat.channel -- Switches your active channel
okchat.message -- Allows you to message a channel you're subscribed to, but is not active
okchat.channel.<channel> -- Allows you to subscribe to protected channel <channel>
okchat.signcolor -- Allows a player to use color codes on signs
okchat.chatcolor -- Allows a player to use color codes in chat... May not work well with word-wrapping

Attempted fix for "StringOutOfBoundsException". This is a java bug. Screw you, replaceAll.

Version 3.0.6​

Fixed player list formatting. Turns out I had disabled it. Why? No idea.

Spoiler(Move your mouse to the spoiler area to reveal the content)Show SpoilerHide Spoiler

Spoiler(Move your mouse to the spoiler area to reveal the content)Show SpoilerHide Spoiler

Version 3.0.5​

Added the config boolean "general.strip-log-color" to strip all color from logged chat. This feature sure is extremely useful.

Version 3.0.4​

Priority overhaul to fix compatability with other plugins such as xAuth, modifyworld, mcMMO, etc...

Version 3.0.3​

​

Fixed not being able to whisper players with an underscore in their names. I forgot you could use underscores...

Version 3.0.2​

Fixed local chat not showing up to the player chatting.

Added console logging of chat.

Version 3.0.1​

Added %time% variable. You can configure the format in "general.time-format".

Added "okchat.chatcolor" node. Guess what it does? Won't work well with word wrapping, due to the way it splits long chat messages into multiple messages.

Version 3.0.0​

Complete recode. Added a lot of features. Check the config and you'll understand.

Version 2.2.1​

Made %currentplrs% and %maxplrs% usable in more messages.

Version 2.2.0​

Added optional logging of PMs/replies. Check the example config to see what key you need to add, or OKChat will not work if you do not delete your configuration first.

Version 2.1.3​

Setting join,quit,kick messages to "default" will cause them to remain unaltered. Setting them to empty values, or removing them from your config file will result in the message being removed completely.

Added /dnd <message>. It's like /dnd, but your custom message is also shown to the player whispering you.

Version 2.0.2​

Tablist names are now set 5 seconds after login.

Version 2.0.1​

Updated for 1240.

Version 2.0.0​

Added /who command.

Added motd.

Added "TAB" player list formatting.

Added the ability to use color codes with signs.

Misc additions and rewrites.

Added compatability with GroupManager.

Added compatability with bPermissions.

Version 1.5.0​

Compressed code.

Added hooks for future handlers for persistent pms.

Added anonymous stat sending option.

Version 1.4.2​

Added /m to the incredibly large list of /w aliases.

Version 1.4.1​

Added the /afk command. Node: okchat.afk.

Added the "%status%" formatting variable. If a user has DND turned on, it will be <DND>. If a user has AFK turned on, it will be <AFK>. DND takes priority over AFK. This can be coloured and used in all chat formats, including DND, ignore, regular chat, whispers and the like.

Version 1.4.0​

Added Persistent messaging along with the /pm command. /pm <target> <message> will send someone a message, and any further regular chat will be sent to this player, as a message. /pm clears this status.

Version 1.3.3​

Fixed a bug where the DND status wouldn't work if you were ignoring someone.

Version 1.3.2​

Added the weight value for chat formats. If a player has 2 format permissions nodes, the format with the highest config.yml weight value will be used.

Version 1.3.1​

Fixed a bug with replies.

Version 1.3.0​

Added an ignore system. This ignore list is reset when you log out or get kicked.

Added a DND system. This mode is reset when you log out or get kicked.

Made OKChat use commands /w,/whisper,/r,/re,/reply,/msg,/message,/tell,/respond...because I can.

Been using OKChat for a while, I love it and am very pleased with 3.0. However, I'm missing the %time% format; has it been removed entirely, or hopefully just renamed? It's a code I really enjoyed and would like to use again.

Quick question: Is there a possibility to add a 'time-format'-like line in the config? I typically just use HH:mm with no second colon for seconds, and was wondering if it was possible to have something like that available in this version as well.

Quick question: Is there a possibility to add a 'time-format'-like line in the config? I typically just use HH:mm with no second colon for seconds, and was wondering if it was possible to have something like that available in this version as well.

1) There seems to be a problem with the formatting for longer messages, if your message length is longer than 1 line, your plugin now splits it across three lines:

2) Another glitch to report is that when an admin types /ignore playername, it mutes them from global chat so no one can see.

3) /nick with multicolours works but gets cut off. For example, if you type /nick &4E&5u&6t&9h&ay&bp&ch&dr&eo , unfortunately the last letter of my name gets cut off. I think perhaps you might have some check for max nick or something, however with the color codes it is causing names to be cut off.

4) One more glitch, or maybe this was intentionally done, but chat no longer shows up in console. It would be nice to have this back in console for logging purposes.

5) More glitches, for example typing "/gamemode Euthyphro 1" results in MASSIVE error read out. There are a lot of glitches with this plugin now. Hopefully you can fix them soon.

Another thing I'm noticing is that the disallowing of nicknames is not working. I've disallowed numerous nicknames, but they are all able to be used via /nick by all players, even those with none but the most basic of permissions.

3) /nick with multicolours works but gets cut off. For example, if you type /nick &4E&5u&6t&9h&ay&bp&ch&dr&eo , unfortunately the last letter of my name gets cut off. I think perhaps you might have some check for max nick or something, however with the color codes it is causing names to be cut off.

Click to expand...

This may have something to do with your nickname character limit? I'm not sure, just thought I'd throw an idea out there. It might assume that the color codes are characters before it converts them, severely limiting the length of your name. Might as well give it a try!

Another bug on the long list of bugs I stated above, local chat doesn't show up when you subscribe. For example, you type '/sub Local' then you are now in local chat, however, your messages don't show up to you. They show up to other ppl but not the person who typed the message.

Another bug on the long list of bugs I stated above, local chat doesn't show up when you subscribe. For example, you type '/sub Local' then you are now in local chat, however, your messages don't show up to you. They show up to other ppl but not the person who typed the message.

1) There seems to be a problem with the formatting for longer messages, if your message length is longer than 1 line, your plugin now splits it across three lines:View attachment 7955

2) Another glitch to report is that when an admin types /ignore playername, it mutes them from global chat so no one can see.

3) /nick with multicolours works but gets cut off. For example, if you type /nick &4E&5u&6t&9h&ay&bp&ch&dr&eo , unfortunately the last letter of my name gets cut off. I think perhaps you might have some check for max nick or something, however with the color codes it is causing names to be cut off.

4) One more glitch, or maybe this was intentionally done, but chat no longer shows up in console. It would be nice to have this back in console for logging purposes.

5) More glitches, for example typing "/gamemode Euthyphro 1" results in MASSIVE error read out. There are a lot of glitches with this plugin now. Hopefully you can fix them soon.

at net.kalmanolah.okchat.OKChannels.handleChatMessage(OKChannels.java:153)

at net.kalmanolah.okchat.OKChatHandler.handleChatMessage(OKChatHandler.java:28)

at net.kalmanolah.okchat.OKPlayerListener.onPlayerChat(OKPlayerListener.java:39)

at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:295)

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)

at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:726)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)

at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:179)

at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)

at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)

at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:546)

at net.minecraft.server.NetworkListenThread.a(SourceFile:108)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Thanks for releasing, more comments/suggestions to come shortly.

Click to expand...

1 - Are you using Essentials? The nick coloring for OPs could be messing it up, since my plugin can't count those colors.
2 - Uhh, no.
3 - Color codes count towards the max character limit.
4 - Added in 3.0.2.
5&6 - Can't replicate these errors. Try updating to 3.0.2 and deleting your nicknames.yml, ignores.yml and config.yml. If the error still occurs, please post your full config.yml so I can try to replicate the error again .

1 - Are you using Essentials? The nick coloring for OPs could be messing it up, since my plugin can't count those colors.
5&6 - Can't replicate these errors. Try updating to 3.0.2 and deleting your nicknames.yml, ignores.yml and config.yml. If the error still occurs, please post your full config.yml so I can try to replicate the error again .

Click to expand...

1) Not using essentials and haven't for a long time due to how badly it is programmed. This problem still seems to be occurring.
5&6) Still occuring, config posted here: http://pastebin.com/BnCWZgQu

2) Whisper works with most players, using @ seems to work great except for players with _ in their name. For example, typing @The_Hatman results in "Invalid player" however it works for players without special characters outside of numbers and letters. It works with players in the same usergroup, however, @The_Hatman is not working even after wiping configs and starting 100% fresh.

1) Not using essentials and haven't for a long time due to how badly it is programmed. This problem still seems to be occurring.
5&6) Still occuring, config posted here: http://pastebin.com/BnCWZgQu

2) Whisper works with most players, using @ seems to work great except for players with _ in their name. For example, typing @The_Hatman results in "Invalid player" however it works for players without special characters outside of numbers and letters. It works with players in the same usergroup, however, @The_Hatman is not working even after wiping configs and starting 100% fresh.

1) Not using essentials and haven't for a long time due to how badly it is programmed. This problem still seems to be occurring.
5&6) Still occuring, config posted here: http://pastebin.com/BnCWZgQu

2) Whisper works with most players, using @ seems to work great except for players with _ in their name. For example, typing @The_Hatman results in "Invalid player" however it works for players without special characters outside of numbers and letters. It works with players in the same usergroup, however, @The_Hatman is not working even after wiping configs and starting 100% fresh.

Thanks for the update.

Click to expand...

I managed to fix (2). I still cannot get 1,5,6 to replicate on my test server. Any chance you could tell me what plugins are being used on this test server you have? Oh, and as for the word wrapping... Are you using the "improved chat mod"? What about SpoutCraft?

Would it be possible to implement in some Spout features? Like the *typing...* , colored names, most recent chat, and other things (Pretty much just over the players head)? I know there is a plugin out there that does these sorts of things, but I have no idea what it's it's called or where it went

Would it be possible to implement in some Spout features? Like the *typing...* , colored names, most recent chat, and other things (Pretty much just over the players head)? I know there is a plugin out there that does these sorts of things, but I have no idea what it's it's called or where it went

For some reason I'm getting random crashes with the new update. I have nothing in the console but read timed out. It only started happening with this plugin. Also staff chat was been doubled, publicly (mcMMO staff chat)

For some reason I'm getting random crashes with the new update. I have nothing in the console but read timed out. It only started happening with this plugin. Also staff chat was been doubled, publicly (mcMMO staff chat)

How do i also disable channels?

Click to expand...

You just make one globall channel, and you set it to "unsubscribe: false".

02:26:07 [SEVERE] Could not pass event PLAYER_CHAT to OKChat
java.lang.IndexOutOfBoundsException: No group 8
at java.util.regex.Matcher.start(Matcher.java:374)
at java.util.regex.Matcher.appendReplacement(Matcher.java:830)
at java.util.regex.Matcher.replaceAll(Matcher.java:905)
at java.lang.String.replaceAll(String.java:2210)
at net.kalmanolah.okchat.OKChannels.handleChatMessage(OKChannels.java:154)
at net.kalmanolah.okchat.OKChatHandler.handleChatMessage(OKChatHandler.java:28)
at net.kalmanolah.okchat.OKPlayerListener.onPlayerChat(OKPlayerListener.java:39)
at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:728)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:716)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

02:32:14 [SEVERE] Could not pass event PLAYER_CHAT to OKChat
java.lang.StringIndexOutOfBoundsException: String index out of range: 16
at java.lang.String.charAt(String.java:695)
at java.util.regex.Matcher.appendReplacement(Matcher.java:771)
at java.util.regex.Matcher.replaceAll(Matcher.java:905)
at java.lang.String.replaceAll(String.java:2210)
at net.kalmanolah.okchat.OKChannels.handleChatMessage(OKChannels.java:154)
at net.kalmanolah.okchat.OKChatHandler.handleChatMessage(OKChatHandler.java:28)
at net.kalmanolah.okchat.OKPlayerListener.onPlayerChat(OKPlayerListener.java:39)
at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:728)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:716)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)