FLASH SALE: 30% OFF on all our servers with code "FALL2025" Get Offer
Configuration Beginner 4 min read

How to Add Colors to Your FiveM Server Name?

Complete guide to customize your FiveM server name with attractive colors and stand out in the server list

How to Add Colors to Your FiveM Server Name?

How to Add Colors to Your FiveM Server Name?

🎯 Why Add Colors to Your Server?

A colorful and well-formatted server name allows you to:

  • Stand out in the FiveM server list
  • Attract attention from potential players
  • Improve visibility of your server
  • Create a professional visual identity
  • Increase connection rate by up to 40%

🎨 FiveM Color Codes

FiveM uses a simple color code system with the ^ prefix followed by a number or letter.

Basic Codes (0-9)

^0 = White
^1 = Red
^2 = Green
^3 = Yellow
^4 = Blue
^5 = Cyan (Light Blue)
^6 = Pink/Magenta
^7 = White
^8 = Dark Red
^9 = Gray

Extended Codes (letters)

^* = Bright Orange (popular)
^d = Light Pink/Violet
^p = Violet/Purple
^q = Dark Pink
^r = Light Gray

Special Code

^r = Resets to default color (white)

🔧 How to Configure Colors

1️⃣ Access the server.cfg File

Connect to your server via:

  • FTP (FileZilla, WinSCP)
  • Management panel (txAdmin, Pterodactyl)
  • Direct access to the server

Locate the server.cfg file at the root of your FiveM server.

2️⃣ Modify the Server Name

Open server.cfg with a text editor and find the line:

sv_hostname "My FiveM Server"

3️⃣ Add Color Codes

Add color codes with the ^ symbol:

sv_hostname "^1My ^3FiveM ^2Server"

Result:

  • My in red
  • FiveM in yellow
  • Server in green

Example 1: Classic Roleplay Server

sv_hostname "^*[RP]^r ^1Los ^7Angeles ^3| Whitelist"

Effect: [RP] in orange, Los in red, Angeles in white, | Whitelist in yellow

Example 2: Racing Server

sv_hostname "^3⚡ ^1RACING ^7KINGS ^3⚡ ^2| Open 24/7"

Effect: Yellow lightning, RACING red, KINGS white, yellow lightning, | Open 24/7 green

Example 3: PvP Server

sv_hostname "^8[^1PvP^8] ^r^*WAR ZONE ^8| ^3Active"

Effect: Dark red brackets, PvP red, WAR ZONE orange, Active yellow

Example 4: Zombie Server

sv_hostname "^2☣ ^8ZOMBIE ^9APOCALYPSE ^2☣ ^r| Survival"

Effect: Green biohazard symbol, ZOMBIE dark red, APOCALYPSE gray, green symbol

Example 5: Modern Style with Emojis

sv_hostname "^6★ ^*NEON ^5CITY ^6★ ^r^3| Whitelist"

Effect: Pink stars, NEON orange, CITY cyan, pink stars


🎨 Tips for an Attractive Name

✅ Best Practices

  1. Contrast: Alternate between light and dark colors
  2. Readability: Avoid too many different colors (3-4 max)
  3. Consistency: Choose a color theme that represents your server
  4. Symbols: Add emojis for more impact (★ ⚡ ☣ 🔥)
  5. Spaces: Use ^r to reset before important spaces
  6. Testing: Check the rendering in the F8 FiveM list

❌ What to Avoid

  • ❌ Too many colors (makes it unreadable)
  • ❌ Colors too light (white on light background)
  • ❌ Name too long (will be truncated)
  • ❌ Emoji abuse (spam effect)
  • ❌ Colors that blend together

🛠️ Testing Your Configuration

Method 1: Server Restart

# Stop the server
stop

# Restart
start

Method 2: Refresh Command (txAdmin)

If you’re using txAdmin, simply use the Restart Server button.

Method 3: Check in Console

# In server console
refresh

# Check configuration
sv_hostname

🔍 Visualize the Result

  1. Open FiveM
  2. Press F8 to open the server list
  3. Search for your server in the list
  4. Check the rendering of colors

📋 Color Reference Table

CodeColorRecommended Use
^0WhiteMain text
^1RedImportant keywords
^2GreenPositive status (Online, Open)
^3YellowImportant information
^4BlueLinks or details
^5CyanModern accents
^6PinkFeminine/soft accents
^8Dark RedWarnings
^9GraySecondary text
^*OrangeTitle/Header (very popular)

🎨 Online Preview Generator

You can test your colors before applying them on sites like:

  • FiveM Color Tester (search on Google)
  • Test directly by modifying your server.cfg
  • Use an editor with preview (some panels offer this)

🚨 Troubleshooting

Colors Don’t Display

  1. Check syntax: The code is ^ (caret) + digit/letter
  2. Restart the server: Changes require a restart
  3. Check quotes: sv_hostname "..." with double quotes
  4. File encoding: Save in UTF-8

Strange Characters Displayed

  • Make sure you’re using ^ and not another symbol
  • Verify your editor uses UTF-8 encoding
  • Avoid complex emojis (some are not supported)

Truncated Name in List

  • Limit length: Maximum 60-70 characters recommended
  • Color codes also count in the length
  • Test with different lengths

💡 Advanced Tips

Using Gradients

sv_hostname "^1R^8A^1I^8N^2B^3O^3W"

Creates a rainbow effect by alternating colors

Blinking Effect (simulation)

Use contrasting colors:

sv_hostname "^1[^3!^1] ^*NEW SERVER ^1[^3!^1]"

Keyword Highlighting

sv_hostname "^rServer ^3[RECRUITING]^r - Strict Roleplay"

Only the word [RECRUITING] is in yellow


📱 Complete Configuration Example

Here’s a complete server.cfg example with an optimized colored name:

# General information
sv_hostname "^6★ ^*LOS ^1SANTOS ^6★ ^r^3| WL ^2OPEN ^r| 200+ Jobs"
sv_projectName "Los Santos RP"
sv_projectDesc "The best RP server"
sv_maxclients 250

# Other settings
sets tags "roleplay, usa, whitelist, economy"
sets banner_detail "https://your-image.com/banner.png"
sets locale "en-US"

# Endpoint
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

✅ Final Checklist

Before saving your modifications:

  • Color codes are correct (^ + digit/letter)
  • Name remains readable with colors
  • Total length doesn’t exceed 70 characters
  • Quotes are present: sv_hostname "..."
  • File is saved in UTF-8
  • You’ve tested the rendering in FiveM list
  • Server has been restarted

🎉 Your Server Now Stands Out!

With a colorful and attractive name, you significantly increase your chances of attracting new players. Don’t hesitate to test different combinations to find the one that best represents your server!

👉 Final Tip: Regularly change your colors for special events (Christmas, Halloween, etc.) to maintain player interest.


Reading time: 4 minutes Difficulty: Beginner Impact: Average 40% increase in connection rate