Raised This Month: $51 Target: $400
 12% 

[Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Plugin ID:
3322
Plugin Version:
2.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
373 
Plugin Description:
Change Custom Chat Colors settings through easy to access menus
Old 10-25-2012 , 19:03   [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #1

Custom Chat Colors Menu

Dependencies:
Description:
Players are granted the ability to change their tag, name and chat colors through simple figured menus. Custom player settings are saved through MySQL or SQLite databases. To compile locally you will need Simple Chat Processor and Custom Chat Colors. To change admin command access, use admin_overrides.cfg (See Overrides section below). The original custom-chatcolors.cfg will not be changed, however player's colors will be overridden by any values loaded from the MySQL or SQLite database(s).
Control Variables:
  • sm_cccm_enabled (default: 7) Enable/Disable the plugin (Add up the numbers to choose) 0 = Disabled 1 = Tag 2 = Name 4 = Chat
  • sm_cccm_hidetags (default: 1) Enable/Disable hiding of chat tags 0 = Disabled 1 = Enabled

Commands:
Command access configurable through admin overrides
  • sm_ccc (Generic Admin) - Open Chat Colors Menu
  • sm_reload_cccm (Root Admin) - Reloads Custom Chat Colors Menu config
  • sm_tagcolor (Root Admin) - Change tag color to a specified hexadecimal value
  • sm_resettag (Generic Admin) - Reset tag color to default
  • sm_namecolor (Root Admin) - Change name color to a specified hexadecimal value
  • sm_resetname (Generic Admin) - Reset name color to default
  • sm_chatcolor (Root Admin) - Change chat color to a specified hexadecimal value
  • sm_resetchat (Generic Admin) - Reset chat color to default[/INDENT]

Command Overrides:
  • sm_ccc_tag (Generic Admin) - Admin flag to change tag colors
  • sm_ccc_name (Generic Admin) - Admin flag to change name colors
  • sm_ccc_chat (Generic Admin) - Admin flag to change chat colors
  • sm_ccc_hidetags (Generic Admin) - Required flag to hide chat tags

Configurations:
Code:
"CCC Menu Colors"
{
	"1" // Color Index
	{
		"name"		"Red"		// Color name
		"hex"		"#FF0000"	// Color hexadecimal value
		"flags"		"abo"		// Required admin flags for access (Leave blank if none)
	}
	...
}
Databases:
Code:
"cccm"
{
	"driver"		"mysql"
	"host"			"localhost"
	"database"		"cccm"
	"user"			"username"
	"pass"			"password"
}
Installation:
1) Add the files included in this post to their folders relative to sourcemod/addons
  • custom-chatcolors-menu.smx to plugins
  • custom-chatcolors-menu.phrases.txt to translations
  • custom-chatcolors-menu.cfg to configs
2) Add your saved variables database configuration into databases.cfg. See Databases above.

Version Log:
Spoiler


My Plugins
Attached Files
File Type: cfg custom-chatcolors-menu.cfg (10.9 KB, 4564 views)
File Type: sp Get Plugin or Get Source (custom-chatcolors-menu.sp - 2357 views - 30.5 KB)
File Type: smx custom-chatcolors-menu.smx (18.8 KB, 3876 views)
File Type: txt custom-chatcolors-menu.phrases.txt (984 Bytes, 4103 views)

Last edited by ReFlexPoison; 01-28-2014 at 01:16. Reason: 2.2
ReFlexPoison is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode