The server info is the description of your server that players can view in-game – for example your rules, contact options or special features of your server. The text itself is not stored on the server, but in a document on pastebin.com. In the config_gameplay.txt file you only store the ID of that document using the serverinfo_pastebin_id key.
Create the Pastebin document
-
Prepare the text
Open pastebin.com and paste the text of your server info into the New Paste field. See the section Formatting with rich text tags below for styling with colors, sizes and links. -
Set the exposure and expiration
Set Paste Exposure toPublicand Paste Expiration toNever. A paste with the exposurePrivatewill not work – according to Pastebin, only you can view it while logged in. -
Publish the paste
Click Create New Paste. -
Copy the Pastebin ID
The Pastebin ID is the string at the end of your paste's URL. Forhttps://pastebin.com/7wV681fTthe ID is7wV681fT. Note down your ID.
Store the Pastebin ID in the configuration
-
Find out the Game Port
Open the dashboard of your server and note the Game Port shown under Overview. -
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open the configuration file
Open the following file – replace<Port>with your Game Port:/.config/SCP Secret Laboratory/config/<Port>/config_gameplay.txt -
Enter the Pastebin ID
Find the line with theserverinfo_pastebin_idkey and enter your Pastebin ID as its value – if the key is missing, add it as a new line:serverinfo_pastebin_id: 7wV681fTReplace
7wV681fTwith your own Pastebin ID. -
Start the server
Save the file and start your server via the dashboard.
Formatting with rich text tags
The server info supports rich text tags that let you format your text. According to the official Tech Wiki, the following tags are supported in the server description:
| Tag | Effect | Example |
|---|---|---|
<color=...> |
Text color – as a color name or hex code | <color=green>Text</color>, <color=#ff0000>Text</color> |
<size=...> |
Text size | <size=50>Text</size> |
<b> |
Bold | <b>Text</b> |
<i> |
Italics | <i>Text</i> |
<u> |
Underline | <u>Text</u> |
<mark> |
Highlighted | <mark>Text</mark> |
<align=...> |
Alignment – left, center or right |
<align=center>Text</align> |
<link=...> |
Clickable link | <link="https://example.com">Text</link> |
An example combining several tags:
<align=center><size=50><b>Welcome to my server!</b></size></align>
<color=#ff0000><b>Rules:</b></color>
1. Be respectful towards other players.
2. No cheating.
Questions? <link="https://example.com">Contact our team</link>
