[CHAT] ColorMe v3.8.1 - Add color to player names. GROUPS! [1.5.1-R0.2]

Discussion in 'Archived: Plugin Releases' started by xGhOsTkiLLeRx, Dec 13, 2011.

  1. Offline

    xGhOsTkiLLeRx

    ColorMe - Add color to player names
    Version: v3.8.1

    <font color="#ff0000">BukkitDev: Click!</font>

    Description

    This plugin aims to modify the chat with colors, prefixes and suffixes.
    You can set the color/prefix/suffix for individual players or create groups and add players to them.
    There are several supported third-party plugins and other supported things like Spout or an economy system.

    It's a rebirth of ColorMe and Prefixer from @Valrix
    I'm happy to hear about your opinion, just leave a comment with a feature request, bug, improvement or just a personal opinion.

    As a reminder I want to say that I worked very long on this and really appreciate a 'thank you' in form of a donation! (See details on the bottom)

    Demonstration (Video and Presentation)

    English (thanks @Gavanand Kali for this!)


    German
    German presentation by Flocki4everything

    Czech
    Czech presentation by videote123

    Russian
    Russian presentation by mantislic

    Google slideshow with all information
    Slideshow (like a PowerPoint presentation)

    Features
    * Add colors to a player's name in chat, above the head and in the tab list
    * Prefixer and Suffixer integration. COLORING WITH THE '&' character!
    * Group system! Support for PermissionsEx, bPermissions and GroupManager, or use the own implemented system
    * Multi-world support
    * Economy support via Vault
    * Spout support (colored nickname above your head!)
    * TagAPI support - colored nickname above the head without using Spout!
    * Bukkit Permissions support (recommend is bPermissions)
    * Get/Set/Remove colors from command-line
    * Players are notified if their name color is changed and the new color is displayed
    * Tab-list support
    * Mix colors
    * Create own colors
    * Rainbow and random color support
    * Use colors in the chat and on signs colors, too
    * Automatically color the text
    * Feature for new color on each join
    * Length limitation (max & min) of prefixes/suffixes
    * Word blacklist
    * Completely localized, change any message
    * NEW Let other plugins use ColorMe values!
    * NEW Choose your own chat formatting!
    * NOTE: This plugin sends usage statistics! If you wish to disable the usage stats, look at /plugins/PluginMetrics/config.yml!

    FAQ

    Having issues with ColorMe?
    Maybe your question is already answered!
    Take a look at the FAQ
    If you still got problems, create a ticket!

    Config

    See the config (fully commented) here: Click

    Commands & Permissions

    Only the bukkit permissions are supported! I highly recommend that you use a plugin for permissions like bPermissions!
    If no permission system is found, all commands are for OPs only!
    If you want to use ECONOMY, please use Vault!

    <font color="#ff0000">See the extra site for commands and permissions here</font>

    Custom colors

    There is a thread where you can share your custom colors!

    Localization

    [​IMG] English (default) by xGhOsTkiLLeRx
    Download

    [​IMG] Russian by Coffeemann
    Download

    [​IMG] German by xGhOsTkiLLeRx
    Download

    Feel free to share your localizations and they will be added here, just leave a comment with a link to a translated localization.yml!
    Thanks for contributing!

    Download/Source Code/Dev Builds

    [​IMG] (Latest recommend version on Dropbox) - - <Edit by Moderator: Redacted bit url>
    [​IMG] (Latest <font color="#ff0000">dev</font> builds/bleeding edge builds) - - <Edit by Moderator: Redacted bit url>
    [​IMG] (Source code hosted on Github) - - <Edit by Moderator: Redacted bit url>

    Future Plans (a.k.a. ToDo)
    * Per world color Done
    * Rainbow color? Done
    * Groups color Added in 3.5

    Make sure to take a look at the always up to date ToDo!

    API

    ColorMe has got an API.
    If you are interested into using the API, take a look at the API site.

    Known Bugs
    * Tab list doesn't work all the time.
    * Strange player names due to coloring on Windows? Use ANSICON

    Changelog

    Version 3.8.1
    * Errors will be logged into debug.log when enabled
    * Fixed error with groups
    * Allow spaces for group prefixes and suffixes, too
    * Build against latest bukkit

    Version 3.8
    * Global defaults are working again
    * Use Sun coding conventions
    * Improved various features
    * Fixed various smaller bugs
    * Fix for tab shortening
    * Try to avoid conflicts with other sign related plugins
    * Added German and Russian localization to main page


    Show Spoiler
    Version 3.7
    * Fixed NPE with TagAPI
    * Fixed error with tabList
    * Fixed for bPermission 2.10
    * BREAKING: Added new chat formatting, you decide where each "variable" should go
    * BUT: Still supporting old, legacy format
    * Heavily improved blacklist, no more bypassing!
    * Improved GroupManager support
    * Mavenized the plugin
    * Added feature to remove the name above the head (request)
    * Updated Metrics
    * TagAPI support is now on by default
    * Small cleanup (code and localization)
    * Tweaked autochatcolor
    * Added minimum lenght of prefixes and suffixes
    * Made support for Factions optional

    Version 3.6
    * Fixed Async error
    * Fixed GroupManager NPE
    * Added support for group colors in PermissionsEX, bPermissions and GroupManager
    * Added support for replacement, use the values and it will be replaced by ColorMe
    * The name above the head will now use the first color from random/rainbow/custom color
    * Added autoChatColor feature
    * Fixed colored bracket
    * Native support for Factions and iChat

    Version 3.5
    * Added mixed colors. Combine them via a '-'
    * Added own colors. (colorme.self.custom)
    * Support of group prefix and suffix -> PEX, bPermissions & GroupManager supported!
    * Fixed caused lag
    * Added support for signs (colorme.sign) and chat (colorme.chat)
    * New color on join option
    * Display the global suffix/prefix all the time
    * Blacklist of words (suffixer.nofilter and prefixer.nofilter)
    * Length limitation of prefix/suffix
    * Remove chat brackets
    * Fixed random color
    * Improvements (should reduce lag, too)
    * Free usage with prefixer.free, suffixer.free, colorme.free
    * Update config if wanted (clears empty lines)
    * Only write players into the file, who actually modified something
    * Soft-Mode -> Just provide name coloring when EssentialsChat, bChatManager, ChatManager or mChatSuite are present
    * Added coloring the name above the head with the TagAPI (colorme.nametag)
    * AsyncPlayerChatEvent -> Update for Bukkit 1.3.1
    * Varoius spell fixes
    * Added debug mode (and log file)
    * TagAPI permission (colorme.nametag)
    * SoftMode; write your own plugin name
    * Added mixed colors (bold-blue for example) (permission: colorme.self.mixed, config value,
    too)
    * Add ability for prefix/suffixes with a space (example: This_is_a_long_prefix)
    * Own group system

    Version 3.4.1
    * Support update for 1.1 R6

    Version 3.4
    * Added multi-world support for ColorMe
    * Fixed various bugs
    * Added PREFIXER and SUFFIXER
    * Newest version of statistics
    * Added localization
    * Enable/disable plugin parts
    * New permission for each color
    * Enable/disable colors
    * Enable/disable displayname, playerList and playerTitle
    * Support of new color, MAGIC
    * Per world values, default value & global default values
    * New commands (see above)
    * New permissions (see above)

    Version 3.3
    * Added rainbow and random color
    * Big code improvement, cleanup
    * Possibility to force config update
    * Adjusted messages
    * Added native Tab-list support.
    * Fixed NPE with usage statistics

    Version 3.2
    * Spout support
    * Added colour alias

    Version 3.1
    * Added automatic update of the old config

    Version 3.0
    * Updated the whole commands
    * Uses Vault as economy base

    Version 2.4.1 (last Version by Valrix)
    * Patched the "name swap" bug. Thanks Zelif!

    Version 2.4 by Valrix
    * Fixed NPEs when using /reload
    * Setting your own color is now OP-only by default

    Version 2.3 by Valrix
    * Now supports native Bukkit permissions in place of Permissions.
    * Leaner code & overall clean-up
    * Improved command handling
    * Improved resource management

    Version 2.2 by Valrix
    * Thanks to help from Drakia, ColorMe should now work with iChat, EssentialsChat, etc.

    Version 2.1 by Valrix
    * Updated to work with newest iConomy (v5) *Requires v5*
    * Numerous code improvements

    Version 2.0 by Valrix
    * Fixed the bug where you couldn't remove or set colors at times.

    Version 1.9 by Valrix
    * Fixed the bug with setting someone else's color.

    Version 1.8 by Valrix
    * Fixed a bug with saving prefixes.

    Version 1.7 by Valrix
    * Added Permissions support
    * Added iConomy support
    * Added ability to manipulate player name colors through command-line
    * Many code improvements and tweaks to improve performance

    Version 1.6 by Valrix
    * Added hasColor() method for hooked plugins to check if the player even has a color at all. Mainly for convenience.

    Version 1.5 by Valrix
    * Support to be hooked into, details above.

    Version 1.4 by Valrix
    * A few code improvements, this update is optional since it still works with latest RB.

    Version 1.3 by Valrix
    * Changed priority to HIGHEST, should prevent other plugins from overriding name color, even though they shouldn't be doing so in the first place...

    Version 1.2 by Valrix
    * Fixed a bug with removing the color from the name (now nicer)
    * Only OPs can change another player's name, even if non-OP is set so players can't run around changing each other's names.
    * Changed command to /colorme to keep it from clashing with any other plugins.

    Version 1.1 by Valrix
    * Fixed code to work with new command handler
    * Updated code to fix the "Too many open files" bug
    * Added config file with option to allow non-OP players to set name color

    Version 1.0 by Valrix
    * Release of ColorMe


    Credits

    @Valrix for his awesome plugin! I'm glad you allowed me to fork it!
    Thanks to all the testers with the 3.5 dev version!

    Banner

    Feel free to use this banner!! :)

    [​IMG]
    [​IMG]

    Statistics (from MCStats)

    [​IMG]

    Donations

    I worked really hard on this plugin and I'm very happy about any donation.
    Support me & buy me some beer, this makes me happy and keeps me interested in this plugin.
    Donation chain: -> I receive some money -> Buy coffee -> Work longer -> Faster Updates -> Your benefit!

    [​IMG]

    License

    This plugin is released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) license!
    [​IMG]
     
    Last edited by a moderator: Feb 20, 2017
    Ranger_Ben likes this.
  2. Offline

    ViZiT

    Code:
      
      Admins:
            default: true
            info:
                prefix: ''
                suffix: ' Admin'
                build: true
            inheritance:
            permissions:
                - 'colorme.*'
                - '*'
    
    soo i can't make a colored messages ?
    no problems in permissions.... Help i dont understand what I lost =(
     
  3. Offline

    xGhOsTkiLLeRx

    Weird. Looks well. Check maybe for Tabs and replace them with 4 spaces.
    Try to run only ColorMe and make yourself an OP. If it works, an other plugin is conflicting.
    No, ColorMe does only color your name and not your message!
     
    ViZiT likes this.
  4. Offline

    ViZiT

    u mean in add my nickname to OP.txt ?
    problems began with the installation of a plug-in can not remember the name. but remember that it was a plug-in for a chat. disappeared after installing the private area, and lots of bad things happened. but after removing all returned to their seats except for your plugin

    i think u right about ops.txt i just try to use /stop but server says Hey contact to server admin to perform this command=)))

    Yes it's Ops.txt thanks a lot ! =)
    p.s. Еt would be nice if the messages were also colored

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

    xGhOsTkiLLeRx

    You're welcome.

    Try to use the edit button next time ;)
    My inbox gets spammed with messages!

    Hint:

    You don't need a plugin, minecraft can handle it!
    http://www.minecraftwiki.net/wiki/Classic_server_protocol#Color_Codes

    If you want a yellow message you would have to type:
    §emy message
    And so on!
     
  6. Offline

    Fi3t3

    What i have to type for the color with the random symbols, that is in the credits sometimes? i don't really know. is it a joke or something? or can i use that?
     
  7. Offline

    TheLavaGuy

    when is the update with /prefix and /suffix come? [pig]
     
  8. Offline

    xGhOsTkiLLeRx

    Don't know how this is done.
    You can use /color me random
    For random characters of your name each time you chat

    Will need some time, but the basic structure is done.
     
  9. Offline

    TheLavaGuy

    I really need the suffixs/prefixs [zombie] but well, good plugin btw :) [gold]
     
  10. Offline

    xGhOsTkiLLeRx

    In the new version this feature will be supported, because bukkit does support the ChatColor.MAGIC (random characters -> but without color!)

    TheLavaGuy

    http://dl.dropbox.com/u/26476995/colorme_dev_screenshot.png
    Dev screenshot.
    Release: When it's done. (Should be soon!)
     
  11. Offline

    Fi3t3

    i don't mean random colors. i mean that one

    [​IMG]

    and YES i'm using the old version xDDD
     
  12. Offline

    xGhOsTkiLLeRx

    This is what I meant.
    I support random colors for characters. => color is RANDOM
    And this super new super strange color from the credits. => color is MAGIC
    the new magic color is supported by bukkit since 1.1 -> I can use it :D
     
  13. Offline

    Fi3t3

    ah i get it ^^
     
  14. Offline

    TheLavaGuy

    WHAT?! :O You promised :(
     
  15. Offline

    xGhOsTkiLLeRx

    What are you quoting?
    1. You're quoting a post not posted by me
    2. The quote has been edited!
    So, stop posting nonsense pls!

    Atm the version 3.4 dev 3 is the current version.
    Everything is working fine and should be released ~end of the week.
    I just have to clean up the code!
     
  16. Offline

    TheLavaGuy

    Its what I see...I dont think suffixes and prefixs is comming :( So long time :I

    -btw sorry about the fake-post xD
     
  17. Offline

    xGhOsTkiLLeRx

    Feel free to do a completly new plugin instead of Prefixer.
    https://github.com/xGhOsTkiLLeRx/ColorMe/commits/master/
    If you still think I'm lying, it's your decision.
    I plan to release 3.4 at the end of the week.
     
  18. Offline

    Woopass123

    when will the update to 1.1 come out?
     
  19. Offline

    xGhOsTkiLLeRx

    Post before your post says it...

    And 3.3 still works for 1.1
     
  20. Offline

    Woopass123

    okay thx
     
  21. Offline

    xGhOsTkiLLeRx

    TheLavaGuy
    Woopass123
    Fi3t3

    MONSTER UPDATE!

    Version 3.4
    • Added multi-world support for ColorMe
    • Fixed various bugs
    • Added PREFIXER and SUFFIXER
    • Newest version of statistics
    • Added localization
    • Enable/disable plugin parts
    • New permission for each color
    • Enable/disable colors
    • Enable/disable displayname, playerList and playerTitle
    • Support of new color, MAGIC
    • Per world values, default value & global default values
    • New commands (see above)
    • New permissions (see above)
    Enjoy.
    I'll update the first post, to tell more about new stuff
     
  22. Offline

    Nzer0

    Good plugin. Where can i get a documentation or some comments on config and how to switch off player storage in file?

    sorry for my English ;)
     
  23. Offline

    TheLavaGuy

    OMG! JESUS! Thank you man, so freaking much u're the best! this was what I waited for :) (and looked) thx thx and the last THX[diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond]
     
    xGhOsTkiLLeRx likes this.
  24. Offline

    Gingerninjaprsn

    I NEEEED to know, can you make colored suffixes and prefixes? If not, please make that as a ToDo. Thanks!
     
  25. Offline

    xGhOsTkiLLeRx

    /color list gives a hint! :)
    Just use &e or &random
    or even &rainbow.
    To get back to white use &f
     
  26. Offline

    Gingerninjaprsn

    Ok... so I can? I need to know where in the "players" file I should put the color code. Thanks!

    Never mind, I got it working. Thanks! :D

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

    xGhOsTkiLLeRx

    For example:

    xghostkillerx:
    prefix:
    world: &random[Admin]

    Would display the prefix in the world "world": [Admin] in random colors.
     
  28. Offline

    o0AzzA0o

  29. Offline

    xGhOsTkiLLeRx

    I'll post an update for the issue how to use the API again.
    Due to implementation of Prefixer and Suffixer and multi-world support, it broke the API.
    Even if I hadn't moved the method. It requires now more information.

    I commented on this issue. If phaed420 won't add the API back (as he mentioned at one point) I can't do much about it.
     
  30. Offline

    o0AzzA0o

  31. Offline

    MrRazull

    SORRY BUT I HAVE NOT CURRENTLY COLORS after rejoining:(
     

Share This Page