(Based on Afronanny's CoD Colored Name Chat)
This plugin allows a player to set the name they wish to use in the game. It's stored in the client cookie cache, so it should transfer to any server (using this plugin, and when the servers point to the same database) and preserved when they disconnect. If they don't set their colored name, it will just be their regular name.
You cannot target players with commands (as an admin) by using their colored name. However, if the name largely matches their existing name, you may be able to. A command has been provided to help admins find the players true steam name.
Example to get a player up and running:
Some colors do not work for other games. However, the color command ^# should still work in the name just fine, but it just wont color according to the help. The help was designed with TF2 in mind.
^0 - Default
^1 - Default
^2 - White
^3 - Team color
^4 - Green
^5 - Olive green
^6 - Item color (usually yellow, black if the client hasn't seen an item found or crafted yet)[TF2]
^7 - Default
^8 - Team
^9 - Green
sm_coloredname_on - Turns on the colored name for the player
sm_coloredname_off - Turns off the colored name for the player
sm_coloredname - Sets the current players colored name
sm_coloredname_help - Lists helpful information to the client
Admin Commands (Kick rights)
sm_coloredname_list - Lists all users with their real and colored names. (Use this to detect the real name of a player and kick\ban\whatever when needed.
Sometimes the sm_coloredname_help command prints things out of order. No idea why.