This guide covers how to set up your SuperTuxKart dedicated server on Legion Hosting, configure game modes, and connect players. SuperTuxKart is a free, open-source kart racing game featuring multiple game modes, tracks, and characters. For admin commands, server management, and advanced configuration, see SuperTuxKart Admin and Commands Guide.
1. First Start
- Log in to GPanel and select your SuperTuxKart server.
- Go to the Startup tab and configure the variables (see the table in Section 2).
- Set SERVER_NAME to your desired server name.
- Choose a MODE and DIFFICULTY for your server.
- Return to the Console tab and click Start.
- Wait for the console to display
Available command:indicating the server is ready.
config.xml configuration file is created on first launch with default settings. You can customize it after the first start for advanced options.
2. GPanel Startup Variables
The following variables are available in the GPanel Startup tab.
| Variable | Default | Description |
|---|---|---|
SERVER_NAME |
Pterodactyl_Server |
Server name shown in the server browser (max 50 characters). |
CONFIG_NAME |
config.xml |
Name of the server configuration XML file. |
MODE |
0 |
Game mode (see table below). |
DIFFICULTY |
0 |
AI difficulty and kart speed (see table below). |
MAX_PLAYERS |
8 |
Maximum number of players (1-24). |
MOTD |
(empty) | Message of the Day displayed in the server (max 100 characters). |
3. Game Modes
Set the MODE startup variable to one of the following values:
| Value | Mode | Description |
|---|---|---|
0 |
Normal Race | Standard racing with items and powerups. |
1 |
Time Trial | Race for the best lap time without items. |
2 |
Battle | Arena combat using items. Last kart standing wins. |
3 |
Soccer | Drive karts to push a ball into the opponent's goal. |
4 |
Follow the Leader | Follow the designated leader kart. Last place is eliminated each round. |
5 |
Capture the Flag | Team-based CTF where karts capture the enemy flag. |
4. Difficulty Levels
Set the DIFFICULTY startup variable to one of the following values:
| Value | Difficulty | Description |
|---|---|---|
0 |
Beginner | Slowest kart speed, easiest AI opponents. |
1 |
Intermediate | Moderate kart speed and AI difficulty. |
2 |
Expert | Fast karts with challenging AI. |
3 |
SuperTux | Maximum speed and toughest AI opponents. |
5. How Players Connect
- Launch SuperTuxKart.
- From the main menu, select Online and then Global Networking.
- Browse the server list to find your server by name.
- Alternatively, use the Enter server address option and enter the IP and port from GPanel's Network tab.
- Select your kart and join the game.
6. Server Configuration (config.xml)
The main configuration file is:
config.xml
This XML file contains advanced server settings beyond what the startup variables control. Edit it through the GPanel Files tab or via SFTP.
Related Articles
- SuperTuxKart Admin and Commands Guide
- How to Find Your Server IP and Port
- How to Upload Files via SFTP
Need Help?
If you run into issues with your SuperTuxKart server, open a support ticket and include your server IP, a description of the problem, and any relevant error messages from the GPanel console.