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

    here4u

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    why do my players see color and i dont?
  4. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Do you have client mods?
  5. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Done. I'm doing testing now.
  6. Offline

    here4u

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    do you mean mods like toomanyitems and modloader?
    if so then yes
    and my consol gets the colors

    This post has been edited 2 times. It was last edited by here4u Jun 27, 2012.
  7. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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)
  8. Offline

    here4u

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    did not work
  9. Offline

    DVBear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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...
  10. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    &l is bold
  11. Offline

    kasushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  12. Offline

    Edy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello,
    Would be awesome if you made this plugin work with essentials, if it's possible.
    Thank you.
  13. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What isn't working with essentials?
  14. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When will the next dev build be out and what will be in it?
  15. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Soon.

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

    kasushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  17. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Its no problem its a great plugin
  18. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can remove the ":" from the command, but it will take longer to be able to allow it from the console.

    Thanks for understanding :)
  19. Offline

    kasushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  20. Offline

    Edy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  21. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you don't want to disable that, is chat-formatting enabled in your config?
  22. Offline

    Edy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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" .
  23. Offline

    minecraftr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [diamond] Thanks for this plugin my server has colors now[diamond]
    Artem-s86 and tyzoid like this.
  24. Offline

    mather0707

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey is there a way to have the prefix as what i named it and to have faction team name next to each other?
  25. Offline

    ryan1161

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I cant seem to get my PermssionsEx to block users from get colors to this command need help
  26. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    you have to make it a negative permission like - -colors.hex
    tyzoid likes this.
  27. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  28. Offline

    Artem-s86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  29. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  30. Offline

    MagicRecon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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!
  31. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  32. Offline

    Artem-s86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Okay, thay can't use prefix, but they can use
    User can use, colored text without permissions. "&4text" in chat like "text"

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

Share This Page