Overview
Nitrox Unlocked allows you to host dedicated servers for Subnautica multiplayer. You can run servers using the launcher interface or via command line for headless operation.System Requirements
Minimum Requirements
- Subnautica installation
- .NET 8.0 Runtime or higher
- Available UDP port (default: 11000)
- 2GB RAM minimum
Recommended
- 4GB RAM for better performance
- SSD for faster world loading
- Stable internet connection
- Port forwarding capability
Starting the Server
Using the Launcher (Recommended)
When using the launcher with
IsEmbedded mode enabled (default), the server runs within the launcher UI rather than opening a separate window.Command Line Server
For advanced users and headless server hosting:Command Line Arguments
| Argument | Description | Example |
|---|---|---|
--save <name> | Specify save world name | --save "Ocean Base" |
--name <name> | Alternative to --save | --name "Ocean Base" |
--embedded | Run in embedded mode (for launcher) | --embedded |
Server Startup Process
When the server starts, it:Finds Subnautica Installation
Locates your Subnautica game files (required for game data).Source reference:
Program.cs:82-86Checks Port Availability
Waits up to 30 seconds for the configured port to become available.Source reference:
Program.cs:99-104Networking Setup
Port Forwarding
For players outside your local network to connect, you need to forward the server port:Configure Router
Forward UDP port 11000 (or your custom port) to your server’s local IP address.
How to find your local IP
How to find your local IP
Windows:Look for “IPv4 Address” under your active network adapter.Linux/macOS:
UPnP automatic port forwarding is enabled by default. Check your server logs to see if it was successful.
Firewall Configuration
Ensure your firewall allows incoming UDP traffic on the server port:Finding Your Server IP
Players need your IP address to connect: Local Network (LAN):- Use your local IP address (e.g.,
192.168.1.100) - Players on the same network can connect directly
- LAN discovery is enabled by default (
LANDiscoveryEnabled=true)
- Use your public IP address
- Find it at: https://whatismyipaddress.com
- Requires port forwarding to be configured
Server Management
Console Commands
Once running, you can use console commands to manage the server:Graceful Shutdown
To properly stop the server:Save File Location
Server saves are stored in:server.cfg- Server configurationWorldData.nitroxorWorldData.json- World statePlayerData.nitroxorPlayerData.json- Player informationVersion.nitroxorVersion.json- Save version info
Performance Optimization
Entity Cache Pre-loading
For better player experience when entering new areas:Server.cs:203-217
Auto-Save Configuration
Adjust save frequency to balance safety vs. performance:Troubleshooting Startup Issues
Port already in use
Port already in use
Error:
Port 11000 UDP is already in useSolution:- Close any other Nitrox server instances
- Change the
ServerPortin your config - Check for other applications using the port:
Could not find Subnautica installation
Could not find Subnautica installation
Error:
Could not find Subnautica installationSolution:- Ensure Subnautica is installed
- Set the game path in the launcher
- Verify the installation directory is valid
Server starts but players can't connect
Server starts but players can't connect
Possible causes:
- Port forwarding not configured correctly
- Firewall blocking connections
- Wrong IP address provided to players
- Server and client version mismatch
Next Steps
Configuration
Customize your server settings
Joining a Game
Learn how players connect to your server
