[CHAT/ADMN] OKChat v3.0.7 - It only does everything chat-related! [1.0.0-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Jul 26, 2011.

Thread Status:
Not open for further replies.
     
  1. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    OC - OKChat
    by Kalman Olah

    Latest version: 3.0.7 ( Download )

    Would you like to buy me a drink? some useless stuff from Amazon? a car?
    [IMG]

    What is OKChat?
    OKChat is twenty plugins in one. If it's chat related, it can do it.

    OKChat supports Permissions, PermissionsEX, bPermissions and PermissionsBukkit.

    Where can I download OKChat?
    The latest version of OKChat can always be found here.
    Additionally, OKChat comes with an auto-updater which will download updates to the /plugins/OKChat/update/ folder.

    How do I set up OKChat?
    After you've extracted the .jar to your server's /plugins/ directory and have restarted your server OKChat will generate a config.yml file, which can be found in the /plugins/OKChat/ directory.

    This configuration file is fully commented and should be easy to understand for anyone.

    How do I use OKChat?
    OKChat commands:
    OKChat permissions:
    Misc:
    Check out OKChat on Github!

    Changelog:
    Version 3.0.7
    • 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.

    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.
    Version 2.1.2
    • Important bugfix.
    Version 2.1.1
    • Ignored deprecation warnings. Thanks bukkit!
    Version 2.1.0
    • Added /who <world>. Lets you see players in <world>. Node: okchat.whoworld
    • 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.
    • Added customizable whisper, reply, ignore, emote, DND message formats in the config.yml.
    Version 1.2.2
    • Changed /r to /re to avoid certain bugs.
    Version 1.2.1
    • You can now disable custom join/kick/quit messages by simply removing the value from your config file.
    Version 1.2.0
    • Added custom join, leave and kick messages. Thanks to @Asphodan for the suggestion.
    Version 1.1.8
    • The displayname is now displayed when you use /me.
    Version 1.1.7
    • Attempted message color bugfix.
    Version 1.1.6
    • Fixed a bug that caused color codes in prefixes/suffix not to be parsed.
    Version 1.1.5
    • Removed SuperPerms support again.
    Version 1.1.4
    • Added SuperPerms support.
    • Added bInfo (prefixes/suffixes for superperms) support.
    • Added the %suffix% variable.
    Version 1.1.3
    • Hotfix to fix an issue where the plugin crashed when the auto-update server was down.
    Version 1.1.2
    • Fixed a bug that caused OKChat to throw errors when no prefix was set.
    Version 1.1.1
    • Added the %prefix% format variable. This gets a player's permissions group/user prefix.
    Version 1.1.0
    • Added the 'okchat.color' permission node. If you have this node, you can use the &1 - &9 and &a - &f color codes in chat.
    • Added the 'okchat.emote' permission node. If you have this node, you can use the /me <message> command to broadcast an action. I think it looks pretty neat too, to be honest.
    • Added the 'okchat.whisper' and 'okchat.reply' permission nodes. If you have these nodes, you can use the /w <target> <message> and /r <message> commands to send and reply to messages.
    Version 1.0.2
    • Removed a debugging value I forgot to remove.
    • Changed the plugin so the actual chat message remains unaltered. This should make sure OKChat doesn't cause issues with stuff like Dynmap.
    Version 1.0.1
    • Improvements.
    Version 1.0.0
    • Initial release.

    This post has been edited 81 times. It was last edited by Kalman Olah Jan 11, 2012.
    minechomp, zecheesy and mruczek like this.
  2.  
  3. Offline

    2Bucks

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could you add a configurable chat cooldown option? I'd like to have a 10-15 second chat cooldown in the global chat to prevent massive spamming.
  4. Offline

    ieatsofas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So the configurable chat format permission nodes are gone? Is it only prefixes now?

    This post has been edited 1 time. It was last edited by ieatsofas Jan 7, 2012.
  5. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    Sure. It won't work well with word wrapping and long chat messages though, I'm afraid.
    Have a cookie.
    seriosbrad likes this.
  6. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, OKChat now includes a built-in prefix/suffix system in case your permissions plugin doesn't support them :).
    Plus, there's channels now.
    Uhhh.... no?
    OKChat features the best anti-spam solution known to man. I'm sure you could configure that to stop massive spamming :).
  7. Offline

    2Bucks

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm a bit confused as to how the anti spam works, particularly this part of the config

    # How many actions can a player perform before protection kicks in?
    actions: 30

    Does that mean like if a player tries to chat 30 times total? Or 30 times per second?
  8. Offline

    Bleaker

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Awesome! You are a boss.

    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.

    Keep up the good work, dude.
  9. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    30 times per minute.
    It's already there. If you let OKChat 3.0.1 remake your config, it'll be at the top.
    e.g.:
    Code:
    general:
        time-format: 'HH:mm'

    This post has been edited 1 time. It was last edited by Kalman Olah Jan 8, 2012.
  10. Offline

    Euthyphro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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:
    okchatglitch.jpg

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

    Massive error read out after using op command: http://pastebin.com/0e0xGfGD

    6) More massive error read outs when typing /m Euthyphro or any other player name to whisper. http://pastebin.com/D59cxB3C

    And another glitch causing huge error read outs in console:
    Code:
    2012-01-07 00:26:19 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to OKChat
    java.lang.StackOverflowError
        at java.lang.System.checkKey(System.java:789)
        at java.lang.System.getProperty(System.java:666)
        at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:84)
        at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:49)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.io.PrintWriter.<init>(PrintWriter.java:95)
        at java.io.PrintWriter.<init>(PrintWriter.java:79)
        at org.bukkit.craftbukkit.util.ShortConsoleLogFormatter.format(ShortConsoleLogFormatter.java:54)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:196)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:105)
        at java.util.logging.Logger.log(Logger.java:476)
        at java.util.logging.Logger.doLog(Logger.java:498)
        at java.util.logging.Logger.log(Logger.java:587)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:359)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:749)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:193)
        at net.kalmanolah.okchat.OKNickNames.handleCommandNickNames(OKNickNames.java:78)
        at net.kalmanolah.okchat.OKPlayerListener.onPlayerCommandPreprocess(OKPlayerListener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:288)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:749)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:193)
        at net.kalmanolah.okchat.OKNickNames.handleCommandNickNames(OKNickNames.java:78)
        at net.kalmanolah.okchat.OKPlayerListener.onPlayerCommandPreprocess(OKPlayerListener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:288)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:749)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:193)
        at net.kalmanolah.okchat.OKNickNames.handleCommandNickNames(OKNickNames.java:78)
        at net.kalmanolah.okchat.OKPlayerListener.onPlayerCommandPreprocess(OKPlayerListener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:288)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:749)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:193)
        at net.kalmanolah.okchat.OKNickNames.handleCommandNickNames(OKNickNames.java:78)
        at net.kalmanolah.okchat.OKPlayerListener.onPlayerCommandPreprocess(OKPlayerListener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:288)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:749)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    
    This error also seems to appear quite frequently:
    Code:
    2012-01-07 01:15:40 [SEVERE] Could not pass event PLAYER_CHAT to OKChat
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
        at java.lang.String.charAt(String.java:694)
        at java.util.regex.Matcher.appendReplacement(Matcher.java:716)
        at java.util.regex.Matcher.replaceAll(Matcher.java:823)
        at java.lang.String.replaceAll(String.java:2201)
        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.

    This post has been edited 12 times. It was last edited by Euthyphro Jan 8, 2012.
  11. Offline

    Bleaker

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  12. Offline

    cyberjacob

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey Kalman,
    is it possible to have multiple groups in the chat layout?
    e.g. if a player is in group A and B they would get
    Code:
    [AB] Player: Hello!
    or
    Code:
    [A] [B] Player: Hello!

    This post has been edited 1 time. It was last edited by cyberjacob Jan 8, 2012.
  13. Offline

    Bleaker

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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!
  14. Offline

    Euthyphro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    And what happened to okchat.emote?

    This post has been edited 1 time. It was last edited by Euthyphro Jan 9, 2012.
  15. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks for the feedback guys. Will be uploading 3.0.2 in a few minutes.

    Fixed in 3.0.2.
    No.
    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 :).
  16. Offline

    Euthyphro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    This post has been edited 2 times. It was last edited by Euthyphro Jan 9, 2012.
  17. Offline

    Jamie Tees

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    +1 I'm getting this too.
  18. Offline

    cyberjacob

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    any chance of adding this feature?
  19. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Version 3.0.3
    • Fixed not being able to whisper players with an underscore in their names. I forgot you could use underscores...
    Probably not, no. It seems like a pretty useless feature.
    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?
  20. Offline

    Smidds

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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 :eek:
  21. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Colored names are already included :)
  22. Offline

    Jamie Tees

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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?
  23. Offline

    Jamie Tees

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Also: [OKChat] ?f?2(Citizen)SpartanChiefXD?e>> ?f

    Can you in console strip the ?f2 ?e

    Well basically strip all un needed info in chat logs?just name and message?
  24. Offline

    Alien100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Now i can talk with xAuth and not logged in -.-
  25. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Version 3.0.4
    • Priority overhaul to fix compatability with other plugins such as xAuth, modifyworld, mcMMO, etc...

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

    Also, I'll need an error before I can do anything =/.

    It shows up as colored text on some operating systems though.
    Fixed in 3.0.4.
  26. Offline

    seriosbrad

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Been having some issues with console type commands like /tp and /gamemode. It will immediately mute me when issuing the command, still on 3.0.0
  27. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Check your spam protection configuration :)
  28. Offline

    Jamie Tees

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can we at all have an option to strip, I hate logs with tons of crap in them.
  29. Offline

    Smidds

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So I take it that other things aren't going to be added then? :'(
  30. Offline

    Jamie Tees

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Also I'm getting:

    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)

    Any idea?
  31. Offline

    Jamie Tees

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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)

    Another error im getting
  32. Offline

    seriosbrad

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sometimes I feel like I waste your time :(. I configured chat spam protection thoroughly but somehow totally missed the command spam prevention.
Thread Status:
Not open for further replies.

Share This Page