About Chat Styles (Names, Messages & Prefixes)
> BetterChat is needed, but no config has to be done there - Only the hook "OnBetterChat" is being used. <
xChatStyles
xChatStyles adds smooth gradient colors to player names, prefixes, and chat messages, giving your server a premium, modern look without clutter or spam.
It’s clean, readable, and designed to enhance chat - not overpower it.
It lets you customize how players appear in chat using animated-looking color gradients. Perfect for VIPs, staff, donators, or special roles. No flashy UI. No complicated setup. Just beautiful chat.
Features
Gradient Names & Messages
- Smooth color gradients instead of flat colors, but you can also use a solid color
- Player names
- Chat messages
- Prefixes (VIP, Admin, etc.)
- Looks great without hurting readability
Multiple Prefix Support
- Players can have more than one prefix
- Each prefix can have its own color style
Great for VIP & Donator Perks
- Instantly makes VIP ranks feel premium
- Visual reward without gameplay imbalance
- Easy to sell as a cosmetic perk
Server Friendly
- No lag or spam
- Optimized to run smoothly on live servers
- Works quietly in the background
Supports permission-based style, not just permanent chat style.
Preset Colors (Samples)
This are just samples, you can use as much custom hex colors for color gradient as you want
- Use /addall, /addprefix, /addmessagecolor or /addusernamecolor
RAINBOW
/addall SteamID PREFIXNAME #FF0000 #FF7F00 #FFFF00 #00FF00 #0000FF #4B0082 #8F00FF
Sunset
/addall SteamID PREFIXNAME #FF5E5B #FFB86B #FFD166
Neon
/addall SteamID PREFIXNAME #39FF14 #00F5D4 #00BBF9
Cyberpunk
/addall SteamID PREFIXNAME #FF00A8 #FF4D6D #7B2CBF
Aurora
/addall SteamID PREFIXNAME #00F5D4 #00BBF9 #4361EE #7209B7 #B5179E
Acid
/addall SteamID PREFIXNAME #1A1A00 #3D5A00 #84CC16 #BEF264 #ECFCCB
Plugin Preview
Chat Commands (Player)
/xcs - Opens the Ui
Chat & Console Commands (Admin)
/* Add chat styles without permission */ /addprefix <STEAMID> <PREFIXNAME> <#HEX> <#HEX> <#HEX>... /addmessagecolor <STEAMID> <#HEX> <#HEX> <#HEX>... /addusernamecolor <STEAMID> <#HEX> <#HEX> <#HEX>... /addall <STEAMID> <PREFIXNAME> <#HEX> <#HEX> <#HEX>... [This will add a prefix with provided color(s), message style with provided color(s) and username style with provided color(s) with just 1 command.] /* Add chat styles without permission */ /* Add chat styles WITH permission */ /addprefix <xchatstyles.PERMISSIONNAME> <PrefixName> <#HEX> <#HEX> <#HEX> ... /addall <xchatstyles.PERMISSIONNAME> <PrefixName> <#HEX> <#HEX> <#HEX> ... /addmessagecolor <xchatstyles.PERMISSIONNAME> <#HEX> <#HEX> <#HEX> ... /addusernamecolor <xchatstyles.PERMISSIONNAME> <#HEX> <#HEX> <#HEX> ... /* Add chat styles WITH permission */ ---> As long as the player has permission, they can select it with /xcs ---> Automatically removed when permission is revoked ---> Permission-Based ChatStyles has (Permission) indicator in /xcs ---> The permission must start with 'xchatstyles.*'. Example: /addall <xchatstyles.vip> VIP <#HEX> <#HEX> <#HEX> ... /*********************************************************************************************************/ /* Use 1 #HEX Color (Example: #fcba03) for a single color, use multiple #HEX Colors for a color gradient */ /* */ /* Example: /addprefix 76561198412496844 OMEGA #32a852 #71a67f */ /* */ /*********************************************************************************************************/ /removeprefix <steamid> <index|PrefixName> /removemessagecolor <steamid> <index> /removeusernamecolor <steamid> <index>
Recommended Plugin for >TIMED< PERMISSION:
Config
{ "MaxPrefixes": 3 }

