[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. Online

    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. Online

    tyzoid

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

    It happens to the best of us :p
  4. Offline

    migsthegod

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for reading man :D

    May i also suggest the option to change a player's name only.
    As of now, players color their names with "/prefix &_" however, that also allows them to add prefixes like "/prefix buttcrack" So maybe a seperate command that only allows hex codes? Maybe like: "/colorname &_"

    I know suggesting and coding are 2 different things but i hope at least faction support is added soon.
    Hope to use this on our server :)
  5. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think the easiest way to do this, is to use just permissions.

    I.e.:
    • colors.prefix.*
    • colors.prefix.color
    • colors.prefix.text

    I'll see what I can implement. I'm pretty busy this semester, so I might not be able to code much :(

    This post has been edited 1 time. It was last edited by tyzoid Mar 20, 2012.
  6. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Amazing plugin but please add a feature where your chat is permanently one color...Keep up the good work though!
  7. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    /cl &5
  8. Offline

    Jeanzl2000

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey i put the .jar file into my plugins folder and then reloaded the plugins with /reload and the folder saying Colors like the one in the video hasn't appeared in the plugins folder.
  9. Offline

    Jeanzl2000

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    when i do /plugins it shows colors
  10. Offline

    Jeanzl2000

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to make your name a certain color so people know you are an admin?
  11. Online

    tyzoid

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

    /prefix &c
  12. Offline

    Jeanzl2000

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey how do you change the group people are in and can you do that int he console?
  13. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That depends on your permissions system.

    Colors currently supports bPermissions and PEX (and vPerms I believe, i'll have to check).

    If you don't have a permission system, or have one that colors does not currently support, there are two default groups.
    "Op" and "Default"

    to set the prefix for the groups, type

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

    Jeanzl2000

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    sorry wrong place
  15. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok...? :p

    This post has been edited 1 time. It was last edited by tyzoid Mar 24, 2012.
  16. Offline

    S3thc0n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Colors in the player list (TAB) do not need a client mod.

    I'd like to know if this plugin supports the &k code.

    This post has been edited 1 time. It was last edited by S3thc0n Mar 24, 2012.
  17. Online

    tyzoid

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

    S3thc0n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Really? I'm pretty sure I have seen plugins doing that without a mod. But maybe my memory spits out random stuff again :\
  19. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    not sure what you meqn my "mod"

    That is just a custom dev version with that feature in it.
  20. Offline

    pplzsayheey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It won't let me drag it into my plugins folder....
  21. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Did you unzip it first?
  22. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    thank you so much amazing plug in
  23. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No problem :p

    I think I may need to improve documentation somewhat :eek:
  24. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    one quick question is there a designated way to set a color for each group? i use group manager
  25. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not for groupmanager, sorry.

    By default, there should be two groups on your server, "Op" and "Default" if that helps any.

    Then just: /ca set prefix g: <groupname> &5

    Edit:
    Were you talking about prefix/suffixes? or about the color lock in the chat?

    This post has been edited 1 time. It was last edited by tyzoid Mar 26, 2012.
  26. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the color lock in chat
  27. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can you add support for group manager in the next update please? other than that, amazing plug in
  28. Offline

    S3thc0n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, did misunderstand that then. I said this because tyzoid stated that he doesn't believe it is possible withpout a client mod to color that list somewhen.
  29. Online

    tyzoid

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

    This post has been edited 1 time. It was last edited by tyzoid Mar 26, 2012.
  30. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for the new update, but one more quick question. I was wondering how to incorporate this into GroupManager where each group has their own specified chat color. I am a relatively new server owner so I am not the best at stuff like this. Thanks a ton
  31. Offline

    Hockey9785

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the color lock seems to go away when i shut down or restart the server? I don't know if that is a problem or it is supposed to happen?
  32. Online

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yea, I don't save it. Should be in the next update, as for your other feature request.

Share This Page