[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

    Hockey9785

    Ahh nicee..I like where this plugin is going. So I'm guessing specific color locking colors for groups will be in 2.03?
     
  3. Offline

    tyzoid

    You'd be correct, sir.

    Found a way to fix the reload problem.

    Expect a new beta version tonight.

    Hockey9785
    A new beta version has been released! 2.0.3b2
    http://server.tymcs.tk/plugins/colors/2.0.3b2/Colors.jar

    New features:
    • Colorlock saving improved (now works better through reloads)
    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.

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

    ShootToMaim

    Someone give dat man a like.
     
    tyzoid likes this.
  5. Offline

    tyzoid

  6. Offline

    Gotomtom95

    Can you also make something that you can replace the entire name (including the username) of some people, but not everyone
     
  7. Offline

    tyzoid

    This plugin is designed to work with other plugins such as http://dev.bukkit.org/server-mods/dispnamechanger/ if you enable chat formatting.
     
  8. Offline

    lukeyc

    Plz add support for permissions bukkit thx :)
     
  9. Offline

    ThunderWaffeMC

    Downloading the dev build instead.
     
  10. Offline

    ze090

    Great plugin.... except that I have one problem. People on my server could see my colored prefix, but I cant. So I know its not my config's problem. I'm pretty sure its my texture pack.By any chance, do you have any advice?
     
    tyzoid likes this.
  11. Offline

    ze090

    Never mind, I solved the problem.
     
  12. Offline

    zombeigun71

    please, please, please!! dont make us download a .zip file!
    i have 7-zip but its just easier to be able to put the file directly in the plugins file. thank u
    i love this plugin by the way!
     
  13. Offline

    runnerbeany

    Do you have bold on this? If you do please tell me.
     
  14. Offline

    Smooshi

    Hey man, I only have WorldEdit and Colours on my server right now, but it still doesn't work. The colours only work in my console, not the game. Could this be a JS error or something, or just my own stupidity?
     
  15. Offline

    tyzoid

    Sorry for the late responses everyone, I had stopped getting alerts :/

    What do you type in, and what do you get out? (screenshot please)

    &l<text here>

    The link seems up for me.
     
  16. Offline

    Smooshi

    tyzoid I use the colour codes and such, but this is what happens
    In Game
    [​IMG]In Console
    [​IMG]
     
  17. Offline

    tyzoid

    It appears to be a client-side problem. If you don't have any mods, try force-reloading Minecraft.

    When it starts up, click "options" then click "Force Update!" Log into Minecraft as usual, and it will re-download it.
     
  18. Offline

    Kevin Forte

    Can you add some sort of "only-color" option? I already have a plugin to format my prefixes and suffixes but this plugin seems to want to overwrite it. When I turn chat formatting off, I can no longer use the color codes in my chat at all. :(
     
  19. Offline

    tyzoid

    Sure. I can do that.
     
  20. Offline

    Kevin Forte

    Thanks! Let me know when it's updated? x)
     
  21. Offline

    tyzoid

  22. Offline

    Kevin Forte

    Will do! I'm working at the moment but as soon as I get a spare second I'll give it a run and let you know how it goes. Thanks!
     
  23. Offline

    Edy

    Hello, I have a problem with permissions. I am using essentials group manager and your permissions wont work.
    I added colors.hex and colors.rainbow for my donator rank, but it seems that everyone can use both color codes and rainbow chat. Is it just me or this is a bug?
     
  24. Offline

    Kevin Forte

    It didn't seem to work for me, I set chat-formatting to false and only-colors to true and was trying "&a green" and "&c red" and the likes but had no luck. I have all of the proper permissions (as an admin and op)
     
  25. Offline

    tyzoid

    It goes on a deny basis.

    You deny the permission to the groups you don't to have it.

    With GM, place a minus ("-") sign before colors.hex, colors.prefix, colors.suffix, and colors.rainbow to disallow those permissions to the groups you want.

    Hmm....

    so, you are saying that the colors themselves aren't working?
    Can you post 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
  26. Offline

    Edy

    Can you please do an example cause I am confused right now, all GM permissions has "-" like: - colors.hex and so on.
     
  27. Offline

    tyzoid

    so, to negate a permission, you would
    Code:
    - -colors.hex
    
     
  28. Offline

    Edy

    Thank you so much!
     
  29. Offline

    tyzoid

    No problem :)
     
  30. Offline

    Edy

    By the way, if I want to change my prefix in game I type /prefix ThePrefix , but would it be possible to make it work with both GM and HeroChat? So you can change your prefix even with those plugins enabled?
     
  31. Offline

    tyzoid

    Why would you use herochat?
     
    ShootToMaim likes this.

Share This Page