How to have colours in your servername

Post Reply
Ragonz
Site Admin
Posts: 669
Joined: Sat Apr 20, 2013 11:16 pm

How to have colours in your servername

Post by Ragonz » Tue May 19, 2015 11:24 am

One of the most frequent questions we get is how to add color to your servername.

To do this follow the guide below

1. Log into your game panel @ Gamepanel.pingperfect.com
2. Select your game server then go to configuration files
3. click configuration editor next to server settings
4. Add your chosen colour to your servername (example below)

serverName = ‘Pingperfect.com’

If you wanted to make the entire line bright red, you would need to know that the color red hex code is ff0000. You would edit your servername to look like this

serverName = ‘[ff0000]Pingperfect.com’

If you want to use more then one color, for example, you wanted to make the Ping word white while keeping everything else red your ServerSettings.cfg line:

serverName = ‘[ff0000]Ping[ffffff]perfect.com’

You can make color changes for each character, just place your color code in brackets before the character.

Keep in mind that server names displayed on the server list only accounts for the first 64 characters, this includes color codes.

Remember to restart your server after making the changes
Grab a game server from us by clicking the picture below
Image
Got an issue? Submit a Support Ticket

Post Reply

Return to “Reign of Kings”