[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

    /ca set prefix g: <groupname> <prefix>
     
  3. Offline

    Hockey9785

    Can you please add certain color lock colors per group? PermissionsEx would be preferable since its advertising in the title
     
  4. Offline

    tyzoid

    Sorry about the long wait, I will hopefully get that done soon.
     
  5. Offline

    Hockey9785

    Thank you
     
  6. Offline

    kasushi

    Thank you in advance for making such a nice plugin.
    and I'd like to suggest some features I need.
    please make administration command works also in console screen, And remove all the colons " : " in the command.
     
  7. why do my players see color and i dont?
     
  8. Offline

    tyzoid

    Do you have client mods?

    Done. I'm doing testing now.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  9. do you mean mods like toomanyitems and modloader?
    if so then yes
    and my consol gets the colors
     
  10. Offline

    tyzoid

    Mods often screw up the colors, although those two shouldn't be causing any issues. Try and see if it works without mods (back up your .minecraft first)
     
  11. did not work
     
  12. Offline

    DVBear

    The Plug-In works fine for my server, but you should add something so you can 'broadcast' a message to all players (like the /say command) but with all the colors you have in you're plug-in already! Also you should add a 'Bold' Style...
     
  13. Offline

    tyzoid

    &l is bold
     
  14. Offline

    kasushi

    Thank you in advance for making such a nice plugin.
    and I'd like to suggest some features I need.
    please make administration command works also in console screen, And remove all the colons " : " in the command.
     
  15. Offline

    Edy

    Hello,
    Would be awesome if you made this plugin work with essentials, if it's possible.
    Thank you.
     
  16. Offline

    tyzoid

    What isn't working with essentials?
     
  17. Offline

    Hockey9785

    When will the next dev build be out and what will be in it?
     
  18. Offline

    tyzoid

    Soon.

    I've been behind with everything, sorry.
     
  19. Offline

    kasushi

    Please Answer My question soon as possible T_T
    I want you to adjust that to type command on the console and remove the special character, " : ", on command.
    If you fix those both then I can use this one for my server wonderfully :D !!! Please fix and adjust what I want Thank You
     
  20. Offline

    Hockey9785

    Its no problem its a great plugin
     
  21. Offline

    tyzoid

    I can remove the ":" from the command, but it will take longer to be able to allow it from the console.

    Thanks for understanding :)
     
  22. Offline

    kasushi

    if so, please remove *:* , still it's necessary to have the console command input, it is our goal that give players quest reward 'suffix'. and will be great to have this problem solved in following update, thank you.
     
  23. Offline

    Edy

    Retarded thing about setting option to false is that it blocks command "/nick" which is used on our server a lot. Other than that it works fine.
     
  24. Offline

    tyzoid

    If you don't want to disable that, is chat-formatting enabled in your config?
     
  25. Offline

    Edy

    What config? The Colors plugin config? Then no because I need the essentials chat format I have right now. Only down side is that I can't use "/nick" if I disable "Change-displayname" .
     
  26. Offline

    minecraftr

    [diamond] Thanks for this plugin my server has colors now[diamond]
     
    Artem-s86 and tyzoid like this.
  27. Offline

    mather0707

    Hey is there a way to have the prefix as what i named it and to have faction team name next to each other?
     
  28. I cant seem to get my PermssionsEx to block users from get colors to this command need help
     
  29. Offline

    Hockey9785

    you have to make it a negative permission like - -colors.hex
     
    tyzoid likes this.
  30. Offline

    tyzoid

    There are two chat modes, and they each handle the chat differently. "use-chat-formatting=true", and "use-chat-formatting=false".

    "use-chat-formatting=true" will take the chat message, and broadcast it to a different format.
    "use-chat-formatting=false" will ignore chat formatting rules, and change the displayname for prefixes/suffixes.

    For essentials compatibility, you can usually keep the change displayname feature enabled if you set "use-chat-formatting=true".

    No. Colors does not currently support factions, however it is on my todo list.
     
  31. Offline

    Artem-s86

    Okay. Some bugs:
    • User can use, colored text without permissions. "&4text" in chat like "text"
    • I use PermissionEx (PEX), but if i set perm for group VIP: colors.prefix, and nothing for group Users, users also can use prefix and suffix.
     

Share This Page