[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?​
    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:
    Check out OKChat on Github!

    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


    The only file in the folder is config.yml and the update folder(just has updates of okchat.jar when available), which all should be made automatically.
    My config is as follows:
    time-format: HH:mm:ss
        join-message: '&cNOTICE: &f%name%&6 has joined the server on &f%world%&6!'
        quit-message: '&cNOTICE: &f%name%&6 has left the server!'
        kick-message: '&cNOTICE: &f%name%&6! got kicked!'
        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%name%&7 %message% *'
        dnd-format: '&7* &e%displayname%&7 is not accepting messages at this time. *'
        ignore-format: '&7* &e%displayname%&7 is ignoring you. *'
            weight: '0'
            format: '%prefix%%displayname%&f%suffix%: %message%'
        enable-anonymous-stat-tracking: 'false'
  3. Offline

    Kalman Olah

  4. Offline


    Hey Kalman Olah!
    I'm currently testing the latest build of this plugin on my server, and I gotta say,
    it's great! Very easy to use with awesome features.

    While you're doing a recode, if I could just toss one idea in,
    it would be great if you could add the player's current level as a variable for prefix's and whatnot.

    Keep up the great work!
  5. Offline


    Any chance you could add the ability to create multi-coloured names? I have a few players requesting this and we all love your plugin.
  6. Offline

    Kalman Olah

    Will be added. Thanks for the feedback :).
    The trick with multiple colors in names is that you actually have to SET the displayname to one with multiple colors. E.g.: "&6T&4E&6S&4T" would come out as TEST. Sadly, most nickname/alias plugins don't allow you to do this.
    This is why I'm adding my very own private nickname/alias plugin to OKChat 3.0.0. You'll be able to have your users use colors in their aliases by giving them the node "okchat.nick.color". Thanks for the suggestion :).

    Also, if you want to take a look at how customizable the new OKChat will be, simply check out https://github.com/kalmanolah/OKChat/blob/master/config.yml . It's funny since 60% of the features aren't even in the config file yet.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  7. Offline


    Does this work with Towny and can you send me a Link or tell me what the Format would be for it to show what Town someone is in and if they are a Chief etc etc
  8. Offline

    Kalman Olah

    I know Factions has a setting for it to replace the word "{faction}" with a player's faction rank. I don't know if Towny has anything similar. You should go ask the author(s).
  9. Offline


    Sadly this plugin doesn't seem to connect to my Permissions Bukkit. This is the message I got. "http://pastebin.com/dzavA8tf"

    Also does this plugin have a config for it to add "Member" as a Prefix in front of someones name automatically?
  10. Offline

    Kalman Olah

    "OKChat supports Permissions, PermissionsEX, GroupManager and bPermissions."
    It does, yeah. But it doesn't support permissionsBukkit at this time. 3.0.0 will, though.
  11. Offline


    Kk. I'll just wait for when it supports PermissionsBukkit :)
  12. Offline


    permission nnode for kick?
  13. Offline

    Kalman Olah

    uhm... excuse me?
  14. Offline


    Hi, im having a problem with chat. Everything is ok except everyone's prefix is Guest. Eventhough they're mods and members and such. My name works fine, but members vip and moderator's nametag doesnt. Picture below.

    OKChat config:

    Permissions config:
  15. Offline

    Kalman Olah

    You need to give people "okchat.format.Member", etc... It's case sensitive.
  16. Offline



    i promised my Elite VIPs (best package) custom prefixes...
    could you add support for that? else it will be a hell for me :p

    thanks in advance,
  17. Offline


    Cant wait, it's looking good!
    One thing I've always wondered about, is there a way to include the custom options set in PermissionsEx, into OKchat?
    For example:
    /pex user Xmillsa prefix Blah - gets put into %prefix% in OKchat.
    but id also like a way to use,
    /pex user Xmillsa set colour Blah - and possibly some way of using that in OKchat, like assigning it to %colour% or something similar.

    It looks like v3 will have ways to do this using custom permission nodes(looking at the config), just wondering if anything like this is possible in v2 currently?
  18. Offline

    Kalman Olah

    It looks like v3 will have ways to do this using custom permission nodes(looking at the config), just wondering if anything like this is possible in v2 currently?[/quote]
    You mean the abilityto change your prefix/suffix, correct? I'll see what I can do ;)
    I'll see if I can let you read from the PEX options :)
  19. Offline


    Does OKChat currently support text wrapping? If not, could you please add it in the next version? It is so annoying when a word is broken across two lines.
  20. Offline


    My Config File is empty when I open it up, and if i write in it the plugin breaks and has no prefixes, but no errors as well. Please help
  21. Offline


    The config is not empty, there is just a lot of empty space at the top of it, so when you enter your own config you are doubling it.
  22. Offline

    Kalman Olah

    Scroll down.
    Currently not. 3.0.0 will have text wrapping
  23. Offline


    Awesome! Thanks Kalman Olah! I love this plugin and I also use OKB3 .. awesome plugins.
  24. Offline



    Ok, another question. Some people are getting the wrong groups tags, and i cant get the prefixes to work so i had to just manually put the prefix in.
    Config File:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  25. Offline


    If you want one missing feature that is in high demand for chat, I would highly recommend an ignore or block feature that allows players to ignore others in global chat. On our server, we have some players who cant stand each other and would rather just mute one another and not hear them. Most other games have this option in chat, would love to see it here. If such a feature were implemented I would definitely donate to you ;)

    Another cool feature would be to have chat rooms. ;)

    So in summary, here are my feature requests for OKChat 3.0.0.
    1) Ability for players to ignore other players on global chat, not just private message. Also, it would be great for players to be able to list all of the names they have put on ignore so they can unignore them later if they want to.
    2) Ability for mods and admins to mute players for x amount of time
    3) Ability for admins/mods to create and remove chat rooms that players may enter/leave (will be very beneficial for RP servers). Could just add a command like "/add chatroom (chatroom name)" and then "/join chatroom (chatroom name)" and then "/leave chatroom (chatroom name)" and it puts them back in global chat.
    4) If chatrooms are created, ability to type /who chatroomname to see who is online in the chatroom you are in.
    5) A quick command to type to global chat if you are in a chatroom, something like "/gl (message)"

  26. Offline

    Kalman Olah

    All of that WILL be added :).
    Euthyphro likes this.
  27. Offline


    When can we expect v3.0.0? If you need help testing, let me know. Age of Mining is happy to help.
  28. Offline

    Kalman Olah

    A few days into 2012 :). Currently actively working on www.minecraftscreenshots.net .
  29. Offline


    Love this plugin

    Radius/Local chat will be infinitely useful for me, can that be added?

    looking forward to 3.0!
  30. Offline


    Can't wait, seriously. My players are craving v3.0.0 and you are one of the dev's we trust on our server.
  31. Offline


    Hey I have a feature request! You should add ranged chat that you can confiure per rank! Ex. guests can only have a chat range of 100, while members don't have this limit. :)

    Haha I just read the comment above me ^^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
Thread Status:
Not open for further replies.

Share This Page