[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

    pumakid98

    hey can i put prefix color yes plz tell me :)
     
  3. Offline

    xGhOsTkiLLeRx

    Yes. Use the color codes found with /color list
    Example: Admin in red: &c[Admin]
     
  4. Offline

    pumakid98

    oh ok thx u very much it did REAL help :)
     
  5. Offline

    Dotapurex1

    Is there a way to remove the [group] in the tab-list, so it only shows ur name instead of having the group and name?

    Thanks!
     
  6. Any idea when that will be coming? really need that
     
  7. Offline

    Typical_Name

    Is there a way I can use both the "magic" color and have it be colored (say, red), or is colored magic unsupported?
     
  8. Offline

    xGhOsTkiLLeRx

    You can use it in the prefixes, in the name coloring no.
    Unless you use the dev version.
    https://dl.dropbox.com/u/26476995/ColorMe_dev.jar

    You can define own colors there.
    Just add something like this in the colors.yml

    magic-red: &c&k
    Would make the name red & random!
     
  9. Offline

    Artem-s86

    Can i set prefix "This is a prefix" Two or more words? And what about russian words?
     
  10. Offline

    xGhOsTkiLLeRx

    I'm not sure about russian letters/words, best would be: try it out...
    (I can't really fix any issuses in SnakeYML)

    You can make only one word long prefixes... Because an additional word is the argument for the worldname.
     
  11. Offline

    Artem-s86

    Maybe you can set multi-words prefix by ""?
    Example:
    /prefix me "prefix with some words" [world]
     
  12. Offline

    jay2darome

    How can I make a Rainbow Color with Bold?

    HOW DO U SET SUFFIX AND PREFIX COLORS?

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

    xGhOsTkiLLeRx

    Not possible.

    Use edit function.
    /color list
    -> use the & values
     
  14. Offline

    Topma4

    Hello, i have permissionsEX and i have group "Tester" and i give full colorme.'*' permissions and he can't use /color me black (example) why? and i got this after load server
     
  15. Offline

    xGhOsTkiLLeRx

    Weird.
    You are using Spoutcraft and Spout?
    Thanks for the report, I'll check this!
     
  16. Offline

    Topma4

    yes, i use spout, and i got much errors...
     
  17. Offline

    xGhOsTkiLLeRx

    Still on 1.2.5?
     
  18. Offline

    Topma4

    i have download spout for 1.2.5 and i got much errors, i have 1.3.1-r1.0 and i can't downlaod dev version spout on official site, he said no mirrors found, sorry
     
  19. Offline

    BoxBoi

    Hey does this work for something like factions too? It would be cool so that people could tell the difference between them when they speak.
     
  20. Offline

    xGhOsTkiLLeRx

    Remember, this is an one man work - I'm doing this beside school and spent hours of coding/testing and eliminating bugs.
    I really appreciate a "thank you" in form of a donation.


    Biggggggest update ever!

    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
    Enjoy it! :)
     
  21. Offline

    IdealIdeas

    I tried to use the new support for multi color names and it gave me an internal error.

    I did /color me Dark_Red-Dark_Green and i tried /color me &4-&2 and neither work, i just get an internal error.
    Also if I try to keep using the same command over and over a few times it says "You have already got this color in this world"
    I even tried just 1 color and I got the same results. Other players cant use it either.

    Here is the error I get when I try to change colors:

    22:19:30 [INFO] IdealIdeas issued server command: /color me dark_Green
    22:19:30 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'colo
    r' in plugin ColorMe v3.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    92)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:880)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:826)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808)
    at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy
    .java:124)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
    at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
    at net.minecraft.server.ServerConnection.b(SourceFile:35)
    at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.IllegalArgumentException: Player list names can only be a m
    aximum of 16 characters long
    at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlay
    er.java:166)
    at de.dustplanet.colorme.Actions.updateName(Actions.java:594)
    at de.dustplanet.colorme.Actions.checkNames(Actions.java:575)
    at de.dustplanet.colorme.ColorMeCommands.onCommand(ColorMeCommands.java:
    330)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 16 more
     
  22. Offline

    xGhOsTkiLLeRx

    Tip: Next time use a spoiler ;)

    Thanks for the report, will check this!
     
  23. Offline

    bigbend

    Hello!
    I just updated to ColorMe version 3.5 and now the colors won't work in chat or above my head. I installed TagAPI, set the config option playerTitleWithoutSpout to true, and reloaded the server. All I get is non-ops are colored white, while ops are colored red in the chat list. In the Tab menu, the new colors show up. Please fix in the next update! Thanks,
    bigbend
     
  24. Offline

    IdealIdeas

    I dont use forums a lot, I have no clue how to do things like that.
     
  25. Offline

    DrBomber07

    help! i think there is a bug. I'm doing /prefix me [&rainbowOwner&f] and when i tank nothing pops up! I used to work:'(
     
  26. Offline

    xGhOsTkiLLeRx

    Are you using any other chat plugins?
     
  27. Offline

    Graloth

    Hmm, for some reason I can't get this to work properly
    What I wanted was it to automatically get the prefix (where I defined the groups color) from bPermissions.
    I use HeroChat, and have the softMode enabled, yet nothing works except if I manually add the color to the player in the players.yml file.

    Here is my config:
    Code:
    # For help please refer to http://bit.ly/colormebukkit or http://bit.ly/bukkitdevcolorme
    costs:
      color: 0
      prefix: 0
      suffix: 0
    Prefixer: false
    Suffixer: false
    ColorMe:
      displayName: true
      tabList: true
      playerTitle: true
      playerTitleWithoutSpout: true
      signColors: false
      chatColors: false
    colors:
      black: true
      dark_blue: true
      dark_green: true
      dark_aqua: true
      dark_red: true
      dark_purple: true
      gold: true
      gray: true
      dark_gray: true
      blue: true
      green: true
      aqua: true
      red: true
      light_purple: true
      yellow: true
      white: true
      magic: true
      random: true
      rainbow: true
      bold: true
      strikethrough: true
      underline: true
      italic: true
      custom: false
      mixed: true
    global_default:
      prefix: ''
      suffix: ''
      color: ''
    updateConfig: false
    chatBrackets: false
    lengthLimit:
      Prefixer: 16
      Suffixer: 16
    debug: false
    newColorOnJoin: false
    displayAlways:
      globalSuffix: false
      globalPefix: false
    useWordBlacklist: false
    groups:
      enable: true
      ownSystem: true
    softMode:
      enabled: true
      ownChatPlugin: Herochat
     
  28. Offline

    DrBomber07

    Well, I'm using essentials chat
     
  29. Offline

    xGhOsTkiLLeRx

    Than prefixes and suffixes won't work. You can try to disable the softMode (set it to false), but it might not work.
    If you turn change-Displayname in the essentials config.yml to false, the name coloring will work.
     
  30. Offline

    DrBomber07

    Thanks
     
  31. Offline

    xGhOsTkiLLeRx

    Update time!!
    I'm going to update the OP, too [maybe]

    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

    Enjoy :)
     

Share This Page