[CHAT] Colors v2.0.2 (2.0.3b4) - Adds color to your chat [1.6.4-R2.0] [Permissions/bPermissions/PEX]

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

  1. Offline

    tyzoid

    [​IMG]
    Latest version:
    Dev Build:
    All Downloads:​

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

    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:
    Example: (open)

    Hello &9there.
    results in:
    Hello there.

    /colors Hello there.
    results in:
    [​IMG]
    (If the image isn't loading, click here.)
    List of Color Codes (open)

    [​IMG]
    The Admin Command: (open)

    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: (open)

    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.
    Changelog: (open)

    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 and Todo: (open)

    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.
     

    Attached Files:

  2. Offline

    tyzoid

    Permissions default to true. This is because if you don't have a permissions plugin installed, users will still be able to use the plugin.

    If you want, you can use this version of the plugin, and it will disable everything by default: http://server.tymcs.tk/plugins/colors/3.0.3b3/Colors_negated.jar
     
    Artem-s86 likes this.
  3. Offline

    MagicRecon

    Please someone help, these permissions are causing internal server error, http://pastebin.com/FV2NQVv5 i know this because when i remove them i can log in fine
    please help!
     
  4. Offline

    tyzoid

  5. Offline

    Artem-s86

    Okay, thay can't use prefix, but they can use
    User can use, colored text without permissions. "&4text" in chat like "text"
     
  6. Offline

    tyzoid

    This is a bug if you use chat formatting.

    Thank you for reporting.
     
    Artem-s86 likes this.
  7. Offline

    Artem-s86

    Fix it please.
     
  8. Offline

    tyzoid

    Working on it.

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

    Artem-s86

    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.
     
  10. Offline

    tyzoid

    Try this one: http://server.tymcs.tk/plugins/colors/2.0.3b4/Colors.jar
    Doesn't have translations.
     
  11. Offline

    Artem-s86

    Add translation to you TODO list please
     
  12. Offline

    tyzoid

    I will, however it won't be done soon, as I am going to be away for ~2 weeks.
     
  13. Offline

    Artem-s86

    Okay

    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

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  14. thanks figured out way back
     
    tyzoid likes this.
  15. Offline

    sambot1115

    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]
     
  16. Offline

    tyzoid

    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.

    I'll see what I can do.

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

    bad339

    Does this support permissionsbukkit?
     
  18. Offline

    tyzoid

    For permissions, not for groups.
     
  19. Offline

    bad339

    Do you think that it will ever support adding to groups?
     
  20. Offline

    tyzoid

    possibly in the next update.
     
  21. Offline

    bad339

    <3 Thank you. People don't give plugin developers enough credit.
     
  22. Offline

    tyzoid

    This is confirmed to be in the next update which should be out in a few days.
     
  23. Offline

    weese89

    ok i was wondering if there was a way to make your prefix rainbow if so please comment

    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!

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

    tyzoid

    /prefix &z

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

    weese89

    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.
     
  26. Offline

    tyzoid

    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

    I don't have this problem, it works perfectly for me. Must be another plugin doing that.
     
    tyzoid likes this.
  28. Offline

    tyzoid

    Well, he isn't responding to either of my two inquiries. Just ignore him :/
     
  29. Offline

    Hockey9785

    Do you have any speculation on when the next version of Colors will be released and what will be in it?
     
  30. Offline

    tyzoid

    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
     
    Hockey9785 likes this.
  31. Offline

    Salamoney

    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!
     

Share This Page