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

    Euthyphro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When can we expect v3.0.0? If you need help testing, let me know. Age of Mining is happy to help.
     
  3. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    A few days into 2012 :). Currently actively working on www.minecraftscreenshots.net .
     
  4. Offline

    effortless

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

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

    looking forward to 3.0!
     
  5. Offline

    Euthyphro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can't wait, seriously. My players are craving v3.0.0 and you are one of the dev's we trust on our server.
     
  6. Offline

    simpsda

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

    simpsda

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Haha I just read the comment above me ^^
     
  8. Offline

    Euthyphro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's almost a "few days" into the new year, can't wait to see OKChat 3.0.0 launched!
     
  9. Offline

    scuba2dan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks for this awesome plugin.

    Worked straight out of the box with no faff!

    Now to see what else I can replace with OK plugins :)
     
  10. Offline

    Euthyphro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just sent you a small gift via donation, will send more once you get v3.0.0 out. :)
     
  11. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    3.0.0 is out!
    What's new? A lot!

    The config is commented pretty heavily, so you should be able to figure out how to use it.

    If I forgot to add any suggestions, feel free to ask again. I either had a good reason for leaving it out, or I forgot.

    Thanks :)
     
  12. Offline

    Snear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I was just downloading this last night, but the download seemed to be down.
    Great timing, now I can download 3.0.0 :D

    Edit: Is there a way to completely disable channels? I have read over the config a few times and there doesn't seem to be a way to disable them. I'm trying to put a rank before someone's name:
    [Default]Snear: example
    Do I need to make a channel for each group?
     
  13. Offline

    Nick Hooper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Love the new style, very complex but super easy to understand. Wasn't hard to migrate :D. Would it be possible to have different prefix/suffix's per channel? My idea was to have Guild channels in which they had there own ranks so when you talk in your guild chat channel it shows your guild rank or prefix/suffix instead of the global chat "Guest/Member/Admin..etc"
     
  14. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No mate. Just make one channel, call it "global", set its config to "global: true", and the format to "%prefix%%displayname%&7: &f%message%" or something. :)
     
  15. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry mate, don't think I'll add that =/.

    Oh. I completely forgot to mention that whispers and replies now work like this:
    Code (Text):
    1. @Player hey how's it going?
    2. This sends "Player" a message saying "hey how's it going?"
    3. @ pretty good, you?
    4. This replies to the last person who whispered you saying "pretty good, you?"
     
  16. Offline

    melkerboom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    wow so much to read
     
  17. Offline

    seriosbrad

    My BukkitDev Profile
    My Plugins (1)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Damn, 3.0 is big. Good job, gonna start a new config now haha.
     
  18. Offline

    minechomp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Why did you remove name coloring from 3.0? Other than that nice job. Can't update it though because it doesn't support name coloring.
     
  19. Offline

    seriosbrad

    My BukkitDev Profile
    My Plugins (1)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What do you mean? Use prefixes, works for me.
     
  20. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think he means the multiple formats.

    I removed multiple formats because having both that and multiple channels would be a bit too much.
    If you really need colored chat, use prefixes and %prefix%. OKChat 3.x.x includes a custom prefix system for people whose permissions plugins don't have prefixes.
    Haha, yup!
    Yup. I can assure you: it was quite a pain.
     
  21. Offline

    Wiinick

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    1 thing it cant do, if there is a global channel and a local channel, doing /g msg wont speak in global if ur in local.

    So add
    -local with set radius of how far ppl can hear you
    -make a global channel
    -make a quick global channel with /g msg
     
  22. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Taken straight from the config.yml:
    Code (Text):
    1.     # Configure the channels here.
    2.     channels:
    3.         # Name of the channel.
    4.         ExampleChannel:
    5.             # The chat format for the channel.
    6.             format: '&7[&b%channel%&7] &f%prefix%%displayname%&7: &f%message%'
    7.             # Is the chat global?
    8.             global: true
    9.             # Is the chat world-based?
    10.             world: false
    11.             # Is the chat local?
    12.             local: false
    13.             # (optional) Range of local chat
    14.             range: 15
    15.             # Does this channel require 'okchat.channel.<name>' to join?
    16.             protected: false
    17.             # Are you allowed to unsubscribe from this channel?
    18.             unsubscribe: true
    Want a local channel with only people 20 blocks around you hearing you?
    Code (Text):
    1.     # Configure the channels here.
    2.     channels:
    3.         # Name of the channel.
    4.         Local:
    5.             # The chat format for the channel.
    6.             format: '&7[&b%channel%&7] &f%prefix%%displayname%&7: &f%message%'
    7.             # Is the chat global?
    8.             global: false
    9.             # Is the chat world-based?
    10.             world: false
    11.             # Is the chat local?
    12.             local: true
    13.             # (optional) Range of local chat
    14.             range: 20
    15.             # Does this channel require 'okchat.channel.<name>' to join?
    16.             protected: false
    17.             # Are you allowed to unsubscribe from this channel?
    18.             unsubscribe: true
    Want a global channel?
    Code (Text):
    1.    # Configure the channels here.
    2.     channels:
    3.         # Name of the channel.
    4.         Global:
    5.             # The chat format for the channel.
    6.             format: '&7[&b%channel%&7] &f%prefix%%displayname%&7: &f%message%'
    7.             # Is the chat global?
    8.             global: true
    9.             # Is the chat world-based?
    10.             world: false
    11.             # Is the chat local?
    12.             local: false
    13.             # (optional) Range of local chat
    14.             range: 15
    15.             # Does this channel require 'okchat.channel.<name>' to join?
    16.             protected: false
    17.             # Are you allowed to unsubscribe from this channel?
    18.             unsubscribe: true
    19.  
    Want a local and a global channel?
    Code (Text):
    1. # Configure the channels here.
    2.     channels:
    3.         # Name of the channel.
    4.         g:
    5.             # The chat format for the channel.
    6.             format: '&7[&b%channel%&7] &f%prefix%%displayname%&7: &f%message%'
    7.             # Is the chat global?
    8.             global: true
    9.             # Is the chat world-based?
    10.             world: false
    11.             # Is the chat local?
    12.             local: false
    13.             # (optional) Range of local chat
    14.             range: 15
    15.             # Does this channel require 'okchat.channel.<name>' to join?
    16.             protected: false
    17.             # Are you allowed to unsubscribe from this channel?
    18.             unsubscribe: true
    19.         # Name of the channel.
    20.         l:
    21.             # The chat format for the channel.
    22.             format: '&7[&b%channel%&7] &f%prefix%%displayname%&7: &f%message%'
    23.             # Is the chat global?
    24.             global: false
    25.             # Is the chat world-based?
    26.             world: false
    27.             # Is the chat local?
    28.             local: true
    29.             # (optional) Range of local chat
    30.             range: 20
    31.             # Does this channel require 'okchat.channel.<name>' to join?
    32.             protected: false
    33.             # Are you allowed to unsubscribe from this channel?
    34.              unsubscribe: true
    35.  
    Want to message global while being in local?
    Code (Text):
    1. /m <channel> <message>
    2. e.g.:
    3. /m g Hey guys
     
  23. Offline

    Wiinick

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wow you have thought of everything BUUUT you NEED to change /m g msg to /g hey guys
     
  24. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Due to the way channels work(as in: you can pick their names), OKChat will be sticking to "/m <channel> <message>", sorry =/
     
  25. Offline

    Snear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes, I had a feeling you could hide the channel like that :D
    Is there any way you could possibly include support for the Factions plugin. It uses {FACTION} in the format, making for something like:
    {FACTION}%prefix%%displayname%&7: &f%message%
    With OKChat it actually comes up with {FACTION} before the prefix, instead of the actual faction name. Thanks for the help! :D
     
  26. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Due to the way the built-in word wrapping works, I can't actually add support for Factions tags.
     
  27. Offline

    ieatsofas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So there is no way to use faction tags in the chat with 3.0.0? Not even if I disable word wrapping?
     
  28. Offline

    mmerner

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello (CB1597,PEX 1.17)

    Been using 3.0.0 for past 2 days. Couple things confuse me.

    I created a channel called AC in the config.yml. Initially it was protect: false. then changed to true and added okchat.channel.AC to permissions. still everyone can see the channel AC, after /reload and /okchat reload too. So tried removed the AC chan from the congif.yml, but yet I still can join AC after okchat-reload.

    I made AC2 , made it protected:true before okchat-reload and it is protected correctly.


    It would be nice to see a channel list. and who is on what channels.

    thanks
     
  29. Offline

    Kalman Olah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any with okchat.channel.<name> will be able to join the channel if it's protected. People WITHOUT the permission won't be able to join.
     
  30. Offline

    seriosbrad

    My BukkitDev Profile
    My Plugins (1)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It doesn't seem like color codes are parsed in the %message%, can we get support for that? Since it works with pretty much anything else including signs :p

    And with permissions support? (okchat.chatcolor?)
     
  31. Offline

    Bleaker

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

    Thanks again :)
     
Thread Status:
Not open for further replies.

Share This Page