This guide covers server administration, RCON access, PlayFab admin setup, and game configuration for your Soldat 2 server on Legion Hosting. For initial setup and player connection instructions, see Soldat 2 Server Setup Guide.
1. Admin Access via PlayFab ID
Soldat 2 uses PlayFab IDs for admin authentication. The player whose PlayFab ID matches the ADMIN_PLAYFAB_ID startup variable automatically receives admin privileges when they connect.
- Connect to your server as a player.
- Check the GPanel console for the log line:
1 YOUR_NAME joined the server [YOUR_PLAYFAB_ID]. - Copy your PlayFab ID.
- Go to GPanel Startup tab and set
ADMIN_PLAYFAB_IDto your ID. - Restart the server. You will have admin privileges on your next connection.
2. RCON (Remote Console)
Soldat 2 supports RCON via WebSockets for remote server administration. To enable RCON:
- Set
RCON_PORTto a port number (must be an additional allocated port in GPanel) or leave at0to disable. - Set
RCON_PASSWORDto a strong password. - Restart the server.
RconPassword. Change this immediately to prevent unauthorized remote access to your server.
3. Server Configuration
Server settings are managed through both GPanel startup variables and the autoconfig.ini file. Startup variables take priority and overwrite autoconfig.ini values on each server start.
Making the Server Public
To make your server public (no password required):
- Go to GPanel Startup tab.
- Clear the
SERVER_PASSWORDfield (leave it empty). - Restart the server.
Greet Message
Set a custom welcome message using the GREET_MESSAGE variable (max 200 characters). This message appears to players when they join.
4. Game Settings
Additional game settings can be configured in autoconfig.ini beyond what the startup variables control. Edit this file through the GPanel Files tab or via SFTP.
autoconfig.ini settings that are NOT controlled by startup variables, or your changes will be lost.
5. Player Management
As admin (with your PlayFab ID set), you can manage players through in-game admin tools:
- Kick -- Remove a player from the current session.
- Ban -- Permanently prevent a player from joining.
- Team management -- Move players between teams for balanced matches.
6. WebSockets
Soldat 2 supports WebSocket connections for browser-based spectating or administration tools. To enable:
- Set
WEBSOCKETS_PORTto an allocated port number in GPanel. - Restart the server.
Set to 0 to disable WebSocket connections entirely.
7. Troubleshooting
| Issue | Solution |
|---|---|
| Server not appearing in list | Ensure the server is running and the name is set. Soldat 2 uses a master server list -- verify connectivity. |
| No admin privileges | Verify your ADMIN_PLAYFAB_ID matches the ID shown in server logs when you connect. |
| RCON not working | Ensure RCON_PORT is set to a valid allocated port (not 0) and the password is correct. |
| Server crashes on start | Check the console for errors. Try reinstalling via GPanel to redownload server files. |
Related Articles
Need Help?
If you run into issues with your Soldat 2 server, open a support ticket and include your server IP, a description of the problem, and any relevant error messages from the GPanel console.