- Supported Games
- CS: Source (v34), CS: Source (Steam/Orange Box)
This plugin is module of Custom Chat Colors plugin. It allows players to choose their desired name color, chat color, custom tag color using a menu. It also allows to hide custom tag.
Requirements :
All the configuration of colors can be done in cstrike/addons/sourcemod/configs/custom-chatcolors-menu.cfg file. By default there are many colors are added.
This plugin supports HEX color codes. HEX color codes are hexadecimal color codes which represents a particular color. You can find the HEX code of each color on Google Colour Picker.
If you want to add more colors, just add the color like shown below in custom-chatcolors-menu.cfg configuration file. Make sure to maintain the serial numbers, don't duplicate serial numbers and colors.
Admin Commands :
Commands Usage :
CVARs :
cstrike/cfg/sourcemod/custom-chatcolors-menu.cfg
Credits :
Requirements :
- Sourcemod v1.8 or Higher
- Custom Chat Colors
- Download CCC_Menu.zip file attached to this post.
- Extract the content of zip file and put into your server's cstrike folder.
- Add the below code to cstrike/addons/sourcemod/configs/databases.cfg
Code:"cccm" { "driver" "default" "host" "localhost" "database" "cccm" "user" "root" "pass" "" }
Code:"cccm" { "driver" "mysql" "host" "mysql-hostname" // Your mysql server url, use 127.0.0.1 or localhost in case of mysql server is on same host as your gameserver "database" "cccm" // Database name, if you want to use another name, make sure that database exist in mysql server "user" "mysql-username" // Username of your mysql server user "pass" "mysql-password" // Password of your mysql server user }
- Restart the Server.
All the configuration of colors can be done in cstrike/addons/sourcemod/configs/custom-chatcolors-menu.cfg file. By default there are many colors are added.
This plugin supports HEX color codes. HEX color codes are hexadecimal color codes which represents a particular color. You can find the HEX code of each color on Google Colour Picker.
Code:
"10" // Serial number of the color configuration
{
"flags" "b" // Admin flags to access this color, you can specify multiple flags (Default : "s") [Leave blank for no flags]
"name" "White" // Name of the color in menu
"hex" "#ffffff" // Hexadecimal color code of the color
}
Code:
!ccc - Opens custom chat color menu to change name, tag or chat color.
!reload_cccm - Reloads the custom chat color menu configuration file.
!tagcolor - Sets custom tag color to specified Hexadecimal color code.
!resettag - Resets the tag color to default color.
!namecolor - Sets name color to specified Hexadecimal color code.
!resetname - Resets the name color to default color.
!chatcolor - Sets chat color to specified Hexadecimal color code.
!resetchat - Resets the chat color to default color.
Command | Usage | Example |
!ccc | !ccc | !ccc |
!reload_cccm | !reload_cccm | !reload_cccm |
!tagcolor | !tagcolor <#hexcode> | !tagcolor #fc03b1 |
!resettag | !resettag | !resettag |
!namecolor | !namecolor <#hexcode> | !namecolor #fc03b1 |
!resetname | !resetname | !resetname |
!chatcolor | !chatcolor <#hexcode | !chatcolor #fc03b1 |
!resetchat | !resetchat | !resetchat |
CVARs :
cstrike/cfg/sourcemod/custom-chatcolors-menu.cfg
Code:
// Enable Custom Chat Colors Menu (Add up the numbers to choose)
// 0 = Disabled
// 1 = Tag
// 2 = Name
// 4 = Chat
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "7.000000"
sm_cccm_enabled "7"
// Allow players to hide their chat tags
// 0 = Disabled
// 1 = Enabled
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_cccm_hidetags "1"
- ReFlexPoison