[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

    Can you post your colors.properties?

    Trust518 L24D Gotomtom95
    Check the Original Post. I added a dev build that hopefully fixes the problem.

    I haven't tested this build extensively, so if you find any bugs, don't hesitate to let me know.

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

    Dominator1337

    Here is is:

    Code:
    #
    #Tue Feb 07 06:33:14 EST 2012
    use-chat-formatting=false
    commands=/colors,/colours
    chat-formatting=<*prefix**displayname**suffix*&f> *message*
    suffix-commands=/suffix
    use-admin=true
    use-rainbow=true
    colorlock-commands=/cl,/color,/colorlock
    color-chars=&,^
    prefix-commands=/prefix
    reload-commands=/creload,/cr
    admin-commands=/ca
    
     
  4. Offline

    tyzoid

    That is odd. I'll contact the Factions dev in the next day or so.
     
  5. Offline

    Wolfy9247

    tyzoid

    The download link seems to no longer be working for either version. May I recommend simply hosting the .jar file on Github instead?

    Also, is this going to be moved over to BukkitDev?

    Thanks!
     
  6. Offline

    tyzoid

    Seems to be working fine for me, I'll put it as a wget-friendly link later.

    As for bukkitDev, this project exists on bukkitdev, but I never check it.
    I find it VERY annoying not to have integrated alerts.
     
  7. Offline

    Wolfy9247

    It's workin' now, at the time of my post it seemed to be having some downtime though. Oh well!
     
  8. Offline

    tyzoid

    By the way, do you have any issues with the dev build?
     
  9. Offline

    Wolfy9247

    I didn't encounter any issues... well, except for one, but it might have been a human error on my part. For some reason when I tried to do '/ca set prefix p: Wolfy9247 &4' it put it in the groups file instead. I might have just put g: instead of p:, but that's about the only error that occured.

    I was also going to ask what the reload command is? I tried doing /ca reload and that didn't seem to work.
     
  10. Offline

    tyzoid

    /creload
     
  11. Offline

    tyzoid

    News:
    2.0.1 is now promoted as stable. I recommend you download this as it contains a few bugfixes.

    2.0.2 is in development, expect bPermissions and permissionsEx support within the next few days.
     
  12. Offline

    GhostHunter

    how to get a rainbow name? and love this plugin
     
  13. Offline

    tyzoid

    Just set their prefix to &r (or whatever color-char you have set in the config)

    I.e.
    /ca set prefix p: <player> &r

    or, if you are <player>,
    /prefix &r

    Thanks for the compliment :)

    News:
    2.0.2 is going to be r5 ready!

    I have the code done, I just need to test it first. Expect a release later today.

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

    GhostHunter

    i haven't done any config just download cause i got school so what do i do in my config and in game
     
  15. Offline

    tyzoid

    In-game:
    /ca set prefix p: <player> &r

    or, if you are <player>,
    /prefix &r
     
  16. Offline

    GhostHunter

    ok thanks ur the man

    You making any new plugins i have a couple ideas
     
  17. Offline

    tyzoid

    I am not planning on making any new plugins, sorry. You should post your idea in the plugin requests forum.
     
  18. Offline

    GhostHunter

    i have haha hope u have a look
     
  19. Offline

    LetCraft

    Important information on Next Recommended Build

    Hi LetCraft,

    We're cleaning up our code to help us better prepare for the release of Minecraft 1.2. As a result, a lot of old, inefficient and buggy code is being removed and plugins will need to be updated.

    Please check your plugins, find out if the plugin developers have been keeping everything up to date and kindly let them know that they need to update their plugins to make sure they will be ready for R5.
    Well, that's what bukkit told me. Please update this plugin, really love it and use it. And it doesn't work right now because it have to be updated.

    /P.E
     
  20. Offline

    tyzoid

    I am aware of this.
    The Dev. build is of Colors is compatable with the new API.

    BTW, what Permissions plugin are you using?
     
  21. Offline

    LetCraft

    I have not Permissions, but I have Essentials.. :)
     
  22. Offline

    tyzoid

    Ok. Thanks.
     
  23. Offline

    TheBartti

    Will it be working on PermissionsEx later? :/
     
  24. Offline

    tyzoid

    If you have PermissionsEx, I need your help testing the dev build (it's perfectly stable, just hasn't been tested with PermissionsEx in-game).

    I have programmed in permissionsEx support, but I haven't tested it yet.
     
  25. Offline

    TheBartti

    So give it to me :) I can test it on my server, but 2.0.0 wasn't working normal :]
     
  26. Offline

    tyzoid

    If you look up in the OP, there is a "Dev Build:" with a link under it.

    That is what you want to download.
     
  27. Offline

    TheBartti

    Tested, and it's working :), just need to disable chatmanager on 2.0.2
    Thanks.
     
  28. Offline

    tyzoid

    Thanks for the reply. It seems to be working for bPermissions too, so I will promote it to stable.
     
  29. Offline

    aciid

    Having some problems on dev version, tested on newest CB using PEX

    Config:
    Code:
    use-chat-formatting=true
    commands=/colors,/colours
    chat-formatting=*prefix**displayname**suffix*&f *message*
    suffix-commands=/csuffix
    use-admin=true
    use-rainbow=true
    colorlock-commands=/colorlock
    color-chars=&
    prefix-commands=/cprefix
    reload-commands=/creload
    admin-commands=/ca
    
    Command: /cprefix &r

    Before:
    [Admin] StuckingFoned <- green tag, yellow name.

    After:
    2a[Admin]be eeStuckingFonedef1f <- rainbow colours work but actual text glitches
     
  30. Offline

    tyzoid

    Can you post a screenshot of this happening in-game?
     
  31. Offline

    aciid

    [​IMG]
     

Share This Page