[CHAT] Colors v2.0.2 (2.0.3b4) - Adds color to your chat [1.5.1-R0.2] [Permissions/bPermissions/PEX]

Discussion in 'Plugin Releases' started by tyzoid, Apr 23, 2011.

     
  1. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    [IMG]
    Latest version:

    Dev Build:

    All Downloads:

    Announcements:
    Beta 2.0.3b4 needs more extensive testing. It works fine on bPermissions/bPermissions nano

    Notices:
    Works on MC 1.2.5


    Allows users to color their chat by using a configurable character (By default, the ampersand "&" and the carat "^") followed by a hexadecimal number (0-F). I recieved a request to post this plugin after someone used it on my server.

    Rainbow mode is toggled by a configurable command (by default "/colors" and "/colours"). This can be disabled in the settings.

    Admin can use the admin command (by default "/ca") to set and reset players' and groups' prefixes/suffixes. If you don't have permissions installed, the admin command will default to Op, and the two groups that will exist are: "Op" and "Default"

    Users can change their own prefixes and suffixes using configurable commands (by default "/prefix" and "/suffix").

    A small note about version numbers: x.y.z
    • X.Y represents the Minecraft version number that was out when the update was released.
    • The Z represents the release number.
    So the version 1.7.2 would indicate that it is the second release of the plugin, on minecraft 1.7

    Starting with version 2.0.0,
    The version number is unrelated to the minecraft version. It goes by major.minor.release
    Any questions, comments, suggestions, or plugin breaks (I'm not always on the latest version of CB), please post here.
    Video:

    Hello &9there.
    results in:
    Hello there.

    /colors Hello there.
    results in:
    [IMG]
    (If the image isn't loading, click here.)

    [IMG]

    Syntax
    /<colorsadmin> [set/get/remove/reset] [prefix/suffix] [p:/g:] <name> (<prefix/suffix>)

    Command breakdown:
    • [Set/get/remove/reset]
      • Required
      • Remove and reset are alises
      • Remove and reset removes the prefix/suffix
      • Set sets a prefix/suffix
      • Get tells the admin what the current prefix/suffix is
    • [prefix/suffix]
      • Required
      • Self explanatory
    • [p:/g:]
      • Required
      • p: tells the plugin you are setting the player's prefix/suffix
      • g: tells the plugin you are setting the group's prefix/suffix
    • <name>
      • Required
      • Fill it in with either the group, or player name, depending on what you put for [p:/g:]
    • (<prefix/suffix>)
      • Required in certain contexts
      • Only use if you are setting a username [set]
      • Just type in the prefix/suffix you want to set here.
    To color a name, just set a prefix with the last 2 characters be the hex code for the color (using the character set in the properties file).

    Example:
    /ca set prefix p: tyzoid &cAdmin &a
    When tyzoid (me) talks, it will look like this:
    <Admin Tyzoid> Hello.

    Permissions nodes:
    • colors.hex
      • This is the node that allows people to use (or not use) the "&" or "^" character (or a different one, depending on your configuration) followed by a hexadecimal code.
    • colors.rainbow
      • This is the node that allows people to use (or not use) rainbow mode. (Use with care - can create an eyesore)
    • colors.admin
      • This is the node that allows people to use the admin commands. (Setting/resetting prefixes and suffixes) Use with care.
    • colors.prefix
      • This node allows users to change their own prefix.
    • colors.suffix
      • This node allows users to change their own suffix.
    • colors.reload
      • This node allows people to reload the settings in-game.

    Version 1.7.4
    • Added support for superperms
    • Added ability to reload configuration files in-game (Default command: /creload and /cr)
    • New permissions node
      • colors.reload
    • Added crash protection (If the server crashes, prefix/suffix data will not be lost.
    Version 1.7.3
    • Fixed bug #5
    Version 1.7.2
    • Added ability for players to color their own names.
    • added two new permissions nodes
      • colors.prefix
      • colors.suffix
    • The suffix no longer needs to be colored white.
    Version 1.7.1
    • Minor bugfixs
    • Player names are no longer case sensitive. (Group names still are)
    Version 1.6.2
    • Fixed bug #2
    • Fixed bug #3
    • Fixed bug #4
    Version 1.6.1
    • Build with a newer version of permissions
    • Fixed bug #1
    Version 1.5.5
    • Added admin commands.
    • Added a permissions node:
      • colors.admin
    • Added a few more configuration options.
    • Added Prefixes and suffixes.
    Version 1.5.4
    • Added permissions support.
    • Added two permissions nodes:
      • colors.hex
      • colors.rainbow
    Version 1.5.3
    • Added a configuration file.
    Version 1.5.2
    • Releasing my plugin by request.

    Bugs:
    1. Prefixes and suffixes clear if the server crashes.(Fixed in 1.6.1)
    2. Incompatibility with defaultCommands.(Fixed in 1.6.2)
    3. Individual suffix not setting.(Fixed in 1.6.2)
    4. Permissions nodes not working.(Fixed in 1.6.2)
    5. Bug with superperms not having groups.(Fixed in 1.7.3)
    6. Double chat with some chat plugins.(Fixed in 1.7.5)
    7. Player's name as "null"(Fixed in 2.0.0)
    8. Fix regex error.(Fixed in 2.0.1)
    9. Fix another permissions glitch.(Fixed in 2.0.1)
    10. Fix NPE when the person is offline.(Fixed in 2.0.1)
    Todo:
    • Add a configuration file.(Added in 1.5.3)
    • Add Permissions Support(Added in 1.5.4)
    • Add an admin command (by default "/ca") to allow prefixing names.(Added in 1.5.5)
    • Add ability of players (with permissions) to be able to color their own names.(Added in 1.7.2)
    • Support bukkit's new internal permissions manager.(Added in 1.7.4)
    • Add chat formatting. (Toggle-able)(Added in 2.0.0)
    • Add rainbow prefixes.(Added in 2.0.0)
    • Add color lock for messages.(Added in 2.0.0)
    • Implement support for PEX and bPermissions for groups.

    This post has been edited 62 times. It was last edited by tyzoid Apr 23, 2013.
  2.  
  3. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is a bug if you use chat formatting.

    Thank you for reporting.

    This post has been edited 1 time. It was last edited by tyzoid Jul 26, 2012.
    Artem-s86 likes this.
  4. Offline

    Artem-s86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Fix it please.
  5. Offline

    tyzoid

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

    It should be fixed by later today.
    Artem-s86 likes this.
  6. Offline

    Artem-s86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    And one more question: What permission for colorlock? Color text in chat.

    Can i change in-game message? Or make please a language.yml file with config, plz.

    This post has been edited 1 time. It was last edited by Artem-s86 Jul 27, 2012.
  7. Offline

    tyzoid

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

    Artem-s86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Add translation to you TODO list please
  9. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I will, however it won't be done soon, as I am going to be away for ~2 weeks.
  10. Offline

    Artem-s86

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

    Artem-s86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you add some value to config, that if it true, then group prefix overwrite users prefix.
    So if group prefix [Moder], and user prefix [MyPrefix], in chat like [Moder] Username
  12. Offline

    ryan1161

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    thanks figured out way back
    tyzoid likes this.
  13. Offline

    sambot1115

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Been using this plugin for ages for prefixes and suffixes, but I still have one question that my trollish users refuse to tell me: does the colors applied to your name appear in the tab menu? I don't see it on mine, but that could be because your name seems to be provided in tab by the client (or not). If this is not added I ask that it be and perhaps be configurable true/false for those who do not want to use it.

    Also, inclusion of formatting codes would be excellent, I currently use another color plugin alongside this one simply because it adds every formatting command (&k, &l, &m, &n, &o, %r). Thanks! [gold]
  14. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    the latest version adds the formatting codes (rainbow has been moved to &z).

    In response to ypur question, I'm not entirely sure, but it could only happen if chat-formatting is false.
  15. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll see what I can do.
  16. Offline

    bad339

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does this support permissionsbukkit?
  17. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    For permissions, not for groups.
  18. Offline

    bad339

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do you think that it will ever support adding to groups?
  19. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    possibly in the next update.
  20. Offline

    bad339

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    <3 Thank you. People don't give plugin developers enough credit.
  21. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is confirmed to be in the next update which should be out in a few days.
  22. Offline

    weese89

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok i was wondering if there was a way to make your prefix rainbow if so please comment
  23. Offline

    weese89

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    also why does my name keep popping up twice when i type something, well the message and my name. This is rather anoying, idk if this is a bug or i did something wrong, but i need help please answer!

    This post has been edited 1 time. It was last edited by weese89 Aug 22, 2012.
  24. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    /prefix &z

    Can you post your colors.properties file?
  25. Offline

    weese89

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This plugin sucks balls, it annoys the sh** out of me. There is a bug that you wont fix that makes people talk twice. I installed it perfectly fine and it makes me say my words twice and it annoys the piss out of me. Anyone downloading this? Don't its horrible and annoying until he updates it.

    This post has been edited 1 time. It was last edited by weese89 Aug 25, 2012.
  26. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I can't fix anything I don't know about. I need some more info.

    I need a plugin list and your colors.properties file.
  27. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I don't have this problem, it works perfectly for me. Must be another plugin doing that.
    tyzoid likes this.
  28. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, he isn't responding to either of my two inquiries. Just ignore him :/
  29. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do you have any speculation on when the next version of Colors will be released and what will be in it?
  30. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry, I've been working pretty slow and have been caught up in a few other things. (First day of school is today :( )
    So I'm not sure when I'll have it done.

    But I can tell you, that it will have improved permissions handling, support for the prefix: and suffix: tags in PEX and bPerms, as well as Titles (Different from prefixes)

    That's so you can have:
    <[Admin] Lord tyzoid the third> Message

    or if you use chat formatting:
    [Admin] Lord tyzoid the third: Message

    [Admin] is the title (unchangable by users by default)
    "Lord" is the prefix
    "tyzoid" is the name

    This post has been edited 1 time. It was last edited by tyzoid Sep 4, 2012.
    Hockey9785 likes this.
  31. Offline

    Salamoney

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi. I have a had factions for a while and i recently got Colors on my server.
    Whenever someone talked it would appear twice. One with thier Faction name as a prefix and the other was just a plain thing with a name.
    I really want both Plugins. They work fine alone. But together its Double Talk.
    Thanks a bunch!

    This post has been edited 1 time. It was last edited by TnT Oct 1, 2012.
  32. Offline

    Oland3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have the same problem. Any suggestions how to fix this?

    This post has been edited 1 time. It was last edited by Plague Oct 7, 2012.

Share This Page