[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


    Latest version:
    Dev Build:
    All Downloads:​

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

    Hello &9there.
    results in:
    Hello there.

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

    The Admin Command: (open)

    /<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).

    /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)

    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)
    • 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


    Permissions and groups are fully supported.

    the next release (2.0.3 not 2.0.3b) will allow you to use prefixes/suffixes from permissions plugins.
  3. Offline


    Everyone can use with this configurations
    can use next commands without permissions

    Is it normal ?
  4. Offline


    You need to explicitly disallow the permissions.

    - -colors.prefix
    Bigi likes this.
  5. Offline


    Oh. Sorry that I wrote that it doesn't work :oops:

    There are 2 Small requests. :)

    1. Can You divide command /prefix and /suffix on some commands, that gives players a prefix and a suffix and other commands that change color of prefixes and suffixes ?

    2. Can you add command, that changes color of player's name ?

    Sorry for my English :rolleyes:
  6. Offline


    Prefixes and colors are one large thing.

    For example, if you set your prefix to "&c", that will color your name red.

    if you set your prefix to "&cThe one and only &a", it will look like this:
    <The one and only Tyzoid>
  7. Offline


    Hey, just one issue sofar.
    Using GroupManager as all of the other permissions plugins are to buggy with McMyAdmin, and just Essentials(not chat). Is there any reason all of the command except &r work?
    In the context of /colors &r blah, it works
    In all others such as /ca set prefix g: Administrators &cAdmin &r, it won't work. The &c works, creating it to say <Admin USERNAME>. Whenever i use the rainbow command it creates white. (the USERNAME would be white).
    Versions 2.0.3a.
    Thanks in advance!
  8. Offline


    Do you have any name-changing plugins?
  9. Offline


    Not that I'm aware of.
    Bukkit compat
  10. Offline


    Hi i have installed your plugin and when i color something the color is only behind regular white text and you can barley see it could i have some help becus no one else seems to have this problem thanks!
  11. Offline


    Could you post your colors.properties?

    Can you take a screenshot of this occurring?

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


    #Sat May 12 21:22:25 MSD 2012
    chat-formatting=<*prefix**displayname**suffix*&f> *message*
  13. Offline


    If you type
    /prefix &cAdmin &c
    Is your name red? or white?
  14. Offline


    It is red.
  15. Offline


    Try disabling all of your other plugins (i.e. move them to a different folder) and see if it works as expected.
  16. Offline


    nice plugin :D
  17. Offline


    I'm having a bit of trouble using this. Every time I use &c, or &a, or something related to that it just appears white. Also I'm sort of a noob at bukkit servers so any help would be appreciated. Thanks!
  18. Offline


    Still not working...
    Thanks again in advance!
  19. Offline


    ya sure ill post it now

    you see in the first one there is color behind the white but barley noticeable and in the second one right before it fades away there is color there because the whit goes away first... P.s. thx for noticeing my comment [cake]

    idk why it didnt upload before

    can you see the screenshots? if not ill send you them through email

    Attached Files:

    Last edited by a moderator: May 14, 2016
  20. Offline


    I shall be looking into this.

    No, I can't.

    If you upload them to imgur and then link them here, that would be splendid.

    oops... that's my bad.

    Rainbow is now "&z"

    &r is now the reset which resets all colors/styles. (as per the MC1.2 chat improvements)

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


    if this doesnt work plz contact me at [email protected] thx and sorry about tht im kind of a noob to this sort of thing
  22. Offline


    Thanks! That works perfectly and have yet to see any other issues :)
  23. Offline



    2.0.3 is coming out soon :p

    Just going to add a few more features.
  24. Offline


    Cool, any in particular that you can say?
  25. Offline


    Text formatting persists through rainbow mode...
    Hopefully support for pex prefixes/suffixes
  26. Offline


    So there will be color lock saving and permissions for it? :D
  27. Offline


    Colorlock saving is already in it.

    As for permissions, not quite sure what you are thinking...

    A new beta version has been released! 2.0.3b

    New features:
    • Colorlock saving
    • Chat formatting improvements
    • Rainbow mode supports chat formatting
    Things to come in 2.0.3 release:
    • Customizable rainbow mode
    • Support for PermissionsBukkit
    Things to come in future releases:
    • Support for prefixes given by permissions plugins.
  28. Offline


    What I mean by color lock for groups is like For example: Admin will have cl &3 set automatically
    Thanks for the quick response
  29. Offline


    I can do that.

    How is the current colorlock saving going?
  30. Offline


    It works after starts and stops, but not reloads
  31. Offline


    I'm not quite sure how to fix the reload problem :/

    If they login and logout, it will be fine.

Share This Page