[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

    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.
    Show Spoiler
    Show 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.
    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.
     
    minechomp, zecheesy and mruczek like this.
  2. Offline

    GunterNova

    Now that the whole configuration has changed, I have no idea how to have my chat formatted like before. I would greatly appreciate the help, as I will show the way my old config was before the update.

    Code:
    messages:
      join-message: '&f%prefix%&6%displayname%&f has entered the server!'
      quit-message: '&f%prefix%&6%displayname%&f has left the server.'
      kick-message: '&f%prefix%&6%displayname%&f has been kicked from the server.'
    internal-formats:
      whisper-from-format: '&7* From %status%&e%displayname%&7:&f %message%'
      whisper-to-format: '&7* To %status%&e%displayname%&7:&f %message%'
      emote-format: '&7 * &f%displayname%&7 %message% *'
      dnd-format: '&7* &e%displayname%&7 is not accepting messages at this time. *'
      dnd-custom-format: '&7* &e%displayname%&7: &f%dndmsg%&7 *'
      ignore-format: '&7* &e%displayname%&7 is ignoring you. *'
    misc-formats:
      tab-list-format: '&c%prefix%%displayname%%suffix%'
      who-message-format: '&fThere are currently &f%currentplrs%&c/&f%maxplrs%&c layers online.'
      who-world-message-format: '&cPlayer count for world &f%worldname%&c: &f%worldplrs%&c.'
      who-player-list-format: '&b%prefix%%suffix%'
    chat-format:
      default:
        weight: '0'
        format: '&8[Member] &7%name%&7: &f%message%'
      bronzevip:
        weight: '1'
        format: '&5[Bronze VIP] &d%name%&7: &f%message%'
      silvervip:
        weight: '2'
        format: '&5[Silver VIP] &d%name%&7: &f%message%'
      goldvip:
        weight: '3'
        format: '&5[Gold VIP] &d%name%&7: &f%message%'
      platinumvip:
        weight: '4'
        format: '&5[Platinum VIP] &d%name%&7: &f%message%'
      juniormoderator:
        weight: '5'
        format: '&a[Junior Moderator] &7%name%&7: &f%message%'
      generalmoderator:
        weight: '6'
        format: '&2[General Moderator] &7%name%&7: &f%message%'
      seniormoderator:
        weight: '7'
        format: '&e[Senior Moderator] &7%name%&7: &f%message%'
      headmoderator:
        weight: '8'
        format: '&6[Head Moderator] &7%name%&7: &f%message%'
      administrator:
        weight: '9'
        format: '&4[Administrator] &c%name%&c: &f%message%'
      coowner:
        weight: '10'
        format: '&4[Co-Owner] &c%name%&c: &f%message%'
      owner:
        weight: '11'
        format: '&4[Owner] &c%name%&c: &f%message%'
    extras:
      enable-anonymous-stat-tracking: 'true'
      enable-console-logging-of-private-messages: 'true'
     
  3. Offline

    Kane

    Kalman Olah know what would be cool :p Link server chats lol ;)
     
  4. Offline

    effortless

    Now everything has changed, I'm keeping to the previous version

    Having OKChat 2 replace /msg and be able to use /dnd to block messages has been a lifesaver. Replacing with @ and reteaching everyone isn't going to happen.

    Channels is a nice idea but "subbing" isn't, I'd rather the players type /tr message for trade and just /tr to switch to it.

    As the user above has stated, moving from OKChat 2 to 3 is like seeing it in a different language.

    The only think I'm liking about this version is the possibility to silence chat, and have it local, but these can be achieved with other plugins I'm already using, same with spam protection.

    Seems like this is shooting for a "one-for-all" solution, removing what made it good.
     
  5. Offline

    Euthyphro

    Code:
    # Configure chat channels here.
    channels:
        # Configure the default channels here.
        default:
        - Global
        # Configure the channels here.
        channels:
            # Name of the channel.
            Global:
                # The chat format for the channel.
                format: '&f%prefix%%displayname%&7: &f%message%'
                # Is the chat global?
                global: true
                # Is the chat world-based?
                world: false
                # Is the chat local?
                local: false
                # (optional) Range of local chat
                range: 15
                # Does this channel require 'okchat.channel.<name>' to join?
                protected: false
                # Are you allowed to unsubscribe from this channel?
                unsubscribe: true
            # Name of the channel.
            Help:
                # The chat format for the channel.
                format: '&b%channel% &f%prefix%%displayname%&7: &f%message%'
                # Is the chat global?
                global: true
                # Is the chat world-based?
                world: false
                # Is the chat local?
                local: false
                # (optional) Range of local chat
                range: 15
                # Does this channel require 'okchat.channel.<name>' to join?
                protected: false
                # Are you allowed to unsubscribe from this channel?
                unsubscribe: true
             # Name of the channel.
            Market:
                # The chat format for the channel.
                format: '&b%channel% &f%prefix%%displayname%&7: &f%message%'
                # Is the chat global?
                global: true
                # Is the chat world-based?
                world: false
                # Is the chat local?
                local: false
                # (optional) Range of local chat
                range: 15
                # Does this channel require 'okchat.channel.<name>' to join?
                protected: false
                # Are you allowed to unsubscribe from this channel?
                unsubscribe: true
            Local:
                # The chat format for the channel.
                format: '&b%channel% &f%prefix%%displayname%&7: &f%message%'
                # Is the chat global?
                global: false
                # Is the chat world-based?
                world: false
                # Is the chat local?
                local: true
                # (optional) Range of local chat
                range: 30
                # Does this channel require 'okchat.channel.<name>' to join?
                protected: false
                # Are you allowed to unsubscribe from this channel?
                unsubscribe: true
            UCSM Chat:
                # The chat format for the channel.
                format: '&b%channel% &f%prefix%%displayname%&7: &f%message%'
                # Is the chat global?
                global: true
                # Is the chat world-based?
                world: false
                # Is the chat local?
                local: false
                # (optional) Range of local chat
                range: 30
                # Does this channel require 'okchat.channel.<name>' to join?
                protected: false
                # Are you allowed to unsubscribe from this channel?
                unsubscribe: true
            Ops:
                # The chat format for the channel.
                format: '&b%channel% &f%prefix%%displayname%&7: &f%message%'
                # Is the chat global?
                global: true
                # Is the chat world-based?
                world: false
                # Is the chat local?
                local: false
                # (optional) Range of local chat
                range: 30
                # Does this channel require 'okchat.channel.<name>' to join?
                protected: true
                # Are you allowed to unsubscribe from this channel?
                unsubscribe: false
    
    Sorry to be a bother if this is my fault, but I think with 3.0.7, there is an issue where certain channels show up in global chat to players who are not even subscribed to the channel.

    For example, the Ops channel above will show up for everyone even when players are not subscribed.

    Is this a known issue which will be fixed?

    Thanks for all of your hard work Kalman.
     
  6. Offline

    Nipples

    Hey, i may have missed this part ,but is there a way to customise the help menu?
     
  7. Offline

    Crysillion

    OKChat 3.0.7
    Bukkit 1.1R3

    List of players shown when using the TAB key only shows up for about 10 seconds, then the list goes blank. i.e;, I log in, I press my tab key, I see the list of players. Go about my business, check it again, 100% empty.


    # Configure the server player list here(press TAB).
    player-list:
    # Configure the format for player names here. Set to ''(empty) or 'none' to disable.
    format: '%prefix%%displayname%'

    Is there any way to have OKChat not mess with that at all?
     
  8. Offline

    Phealoon

    lol I noticed this at the bottom of the plugin:

    This post has been edited 81 times. It was last edited by Kalman Olah Jan 10, 2012.​
    My Bukkit plugins are all discontinued.
    If you remain stationary, how can you ever move forward?​
    So I guess we are not going to get any further help from this plugin.​
     
  9. Offline

    R3TRI8UTI0N

    When I attempt to change my chat channel it says i am not subscribed to that channel. Is there a way to auto subscribe my users to these channels so that they can switch between them at their discretion without previously subscribing?
     
  10. Offline

    Jamie Tees

    Found this error in my chat log just:

    23:13:29 [INFO] /50.23.30.168:35541 lost connection
    23:13:33 [SEVERE] Could not pass event org.bukkit.event.player.PlayerChatEvent to OKChat
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
    at java.lang.String.charAt(String.java:695)
    at java.util.regex.Matcher.appendReplacement(Matcher.java:761)
    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:155)
    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:305)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:742)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  11. Offline

    Kane

    Kalman Olah, Just wanted to let you know that the sign colors / permissions don't seem to work period. I use pex but it seems to work with 99% of plugins. I even did - -okchat.signcolor to remove the ability and still could place colored signs.

    Thanks,

    PS: You should consider making who work via console.
     
  12. Offline

    Tera9411

    Thanks a lot for this Plugin!
     
  13. Offline

    triral7

    Getting a 404 on all download links including the Github page. Is the plugin still being developed?

    P.s Is the 3.07 build for 1.1-R3? Didn't see it mentioned anywhere.

    [EDIT] Just read the part at the bottom about discontinuing the plugins. Shame really, loved this plug. Good luck to ya Kal
     
  14. Offline

    IsaakOhaio

    Help ? Timestamp doesnt work and how to set channelchange per world ? Sry for bad english im from germany
     
  15. Offline

    Phealoon

    I guess no one read my previous post. This is at the bottom of Kalman's plugin:
    Last edited by Kalman Olah Jan 10, 2012.​
    My Bukkit plugins are all discontinued.
    If you remain stationary, how can you ever move forward?​
    OK Chat is being abandoned, so we will need to find another plugin developer to take it over.​
    -Phea​
     
  16. Offline

    The Wizard

    Yeah...
    Back to herochat :)
     
  17. Offline

    Jamie Tees

    Why leave though?
     
  18. Offline

    KingWar92

    Links are broken ?
     
  19. Offline

    cellodude

    The links are broken for me too
     
  20. Offline

    EmperorXing

    Kalman Olah Hey! Would it be ok if I made a youtube video on how to install and set up this plugin? If I did, would you post it in the OP? I am considering doing one, seeing some friends and others have asked me to help them with it.
     
  21. Offline

    1born2kill

    broken links...
     
  22. Offline

    Jamie Tees

    Goodbye favorite plugin :/
     
  23. Offline

    c0mp

    Moved to Inactive/Unsupported for now due to broken links.

    Kalman Olah, once the links are updated (and the CB version updated in the title) just hit the Report button on your thread and request that it be reactivated. :)
     
Thread Status:
Not open for further replies.

Share This Page