Kerbal Space Program supports multiplayer through community mods: Dark Multiplayer (DMP) and Luna Multiplayer (LMP). This guide covers setting up both server variants on Legion Hosting, including configuration, startup variables, and connecting players.
Which Multiplayer Mod?
Your server will be set up with either DMP or LMP depending on the egg selected during provisioning:
| Mod | Full Name | Runtime | Notes |
|---|---|---|---|
| DMP | Dark Multiplayer | Mono | Established mod with various warp and mod sync modes |
| LMP | Luna Multiplayer | .NET 5 | Newer mod with admin password support and XML configuration |
First Start
- Log in to GPanel and select your KSP server.
- Navigate to the Console tab. The server will download the required files automatically.
- Wait for installation to complete. DMP downloads from d-mp.org; LMP downloads from GitHub.
- Once ready, look for
Ready!(DMP) orAll systems up and running(LMP) in the console.
DMP Startup Variables
If your server uses Dark Multiplayer, these variables are available in the Startup tab:
| Variable | Description | Default | Options |
|---|---|---|---|
SERVERNAME |
Server name displayed in the browser | DMP Server | Any string (max 48 chars) |
GAMEMODE |
KSP game mode | SANDBOX | SANDBOX, CAREER, SCIENCE |
DIFFICULTY |
Game difficulty level | NORMAL | EASY, NORMAL, MODERATE, HARD, CUSTOM |
WARPMODE |
How time warp is handled in multiplayer | SUBSPACE | MCW_FORCE, MCW_VOTE, MCW_LOWEST, SUBSPACE_SIMPLE, SUBSPACE, NONE |
MODPACKMODE |
How mods are synced between players | NONE | NONE, CKAN, GAMEDATA |
DMP Configuration File
The DMP config file is located at Config/Settings.txt. It uses a properties format (key = value). GPanel automatically sets port, game mode, difficulty, warp mode, whitelist, and server name from your startup variables.
LMP Startup Variables
If your server uses Luna Multiplayer, these variables are available:
| Variable | Description | Default | Options |
|---|---|---|---|
SERVER_NAME |
Server name (max 30 chars) | Pterodactyl | Any string |
PASSWORD |
Server password (leave empty for public) | Empty | Any string (max 30 chars) |
ADMIN_PASSWORD |
Admin password for in-game server management | Empty | Any string (max 30 chars) |
MaxPlayers |
Maximum number of concurrent players | 20 | Any number |
GameDifficulty |
Game difficulty level | Easy | Easy, Normal, Moderate, Hard, Custom |
GameMode |
KSP game mode | Sandbox | Sandbox, Career, Science |
LMP_VERSION |
LMP version to install (leave blank for latest) | Latest | e.g., 0.29.3 |
LMP Configuration Files
LMP uses XML configuration files in the LMPServer/Config/ directory:
ConnectionSettings.xml-- Port and network settingsGeneralSettings.xml-- Server name, password, admin password, max players, game mode, difficultyGameplaySettings.xml-- Detailed gameplay parameters
GameDifficulty variable may produce a mismatch warning with GameplaySettings.xml. If this happens, delete GameplaySettings.xml so it regenerates with the correct difficulty presets, then restart.
How to Connect
- Install the matching multiplayer mod (DMP or LMP) in your KSP game client. Follow the mod's installation instructions.
- Launch Kerbal Space Program.
- Open the multiplayer mod's menu from the main screen or space center.
- Add your server using the IP and port from GPanel.
- Click Connect. Enter the password if one is set.
Related Articles
- Kerbal Space Program Admin and Commands
- How to Find Your Server IP and Port
- How to Upload Files via SFTP