[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

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    /creload
  4. Offline

    tyzoid

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

    GhostHunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how to get a rainbow name? and love this plugin
  6. Offline

    tyzoid

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

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

    tyzoid

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

    This post has been edited 2 times. It was last edited by tyzoid Feb 27, 2012.
  8. Offline

    GhostHunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i haven't done any config just download cause i got school so what do i do in my config and in game

    This post has been edited 1 time. It was last edited by GhostHunter Feb 27, 2012.
  9. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    In-game:
    /ca set prefix p: <player> &r

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

    This post has been edited 2 times. It was last edited by tyzoid Feb 27, 2012.
  10. Offline

    GhostHunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok thanks ur the man

    You making any new plugins i have a couple ideas

    This post has been edited 1 time. It was last edited by GhostHunter Feb 27, 2012.
  11. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am not planning on making any new plugins, sorry. You should post your idea in the plugin requests forum.
  12. Offline

    GhostHunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have haha hope u have a look
  13. Offline

    LetCraft

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

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am aware of this.
    The Dev. build is of Colors is compatable with the new API.

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

    LetCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have not Permissions, but I have Essentials.. :)
  16. Offline

    tyzoid

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

    TheBartti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Will it be working on PermissionsEx later? :/
  18. Offline

    tyzoid

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

    TheBartti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So give it to me :) I can test it on my server, but 2.0.0 wasn't working normal :]
  20. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you look up in the OP, there is a "Dev Build:" with a link under it.

    That is what you want to download.
  21. Offline

    TheBartti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Tested, and it's working :), just need to disable chatmanager on 2.0.2
    Thanks.
  22. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for the reply. It seems to be working for bPermissions too, so I will promote it to stable.
  23. Offline

    aciid

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

    This post has been edited 3 times. It was last edited by aciid Mar 7, 2012.
  24. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you post a screenshot of this happening in-game?
  25. Offline

    aciid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]
  26. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Odd, I will take a look at that... :/
  27. Offline

    aciid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Would appreciate a quick fix, thanks for your work ;)

    Also PEX:

    Admin:
    prefix: '&a[Admin]&e '

    This post has been edited 1 time. It was last edited by aciid Mar 7, 2012.
  28. Offline

    tyzoid

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

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

    QuadCore

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    why colors dont work with permissionsEx on craftbukkit-1.2.3-R0.2-2036? all players can using the commands /prefix /suffix and other with no permissions node.
    Sorry for my bad english, I'm russian :)
  30. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you don't give the permission node, it will default to true.

    You have to tell set the nodes to false manually.
  31. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Also, could you post a plugin list?
  32. Offline

    QuadCore

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

Share This Page