Soldat 2 has two ways to grant admin rights: a permanent admin via PlayFab ID and an RCON password that lets any number of players log in as admin in the game. There is no file-based admin list.
Set the permanent admin via PlayFab ID
Soldat 2 identifies players by their PlayFab ID, a 16-character hexadecimal string such as 9FD985AB3FE67850. A Steam ID is not used here.
Find the PlayFab ID
-
Start the server
Start your server via the dashboard and open the server console there. -
Join the server
Connect to your server. How to do that is explained under Join Server. -
Read the console output
When you join, the server writes a line following this pattern:1 YOUR_NAME joined the server [9FD985AB3FE67850]The value in square brackets is the PlayFab ID.
-
Copy the ID
Write down the ID exactly as it appears in the console.
Enter the PlayFab ID
-
Stop the server
Stop your server via the dashboard. -
Store the ID
Enter the PlayFab ID into the admin field in the dashboard. -
Start the server
Start your server. The value is written into theautoconfig.inion start:AdminPlayfabId=9FD985AB3FE67850 -
Join and verify
Connect to your server. A red[Admin]tag appears behind your name in the scoreboard.
Further admins via the RCON password
For all further admins you use the RCON password. With it, any player can log in as admin directly in the game.
-
Stop the server
Stop your server via the dashboard. -
Set the password
Enter your own long password into the RCON password field in the dashboard. -
Start the server
Start your server. -
Log in inside the game
Open the console in the game and log in:rcon YourRconPassword
The in-game console
-
Open the console
PressAlt+~in the game. -
Enter a command
Commands that affect the server are prefixed withrcon:rcon listplayers -
List commands
PressingTabshows the available commands and completes your input.
Admin commands at a glance
| Command | Description |
|---|---|
rcon info |
Show information about the server |
rcon listplayers |
Show all players with their IDs |
rcon listmaps |
Show available maps |
rcon version |
Show the server version |
rcon say "<text>" |
Send a message to everyone. With a leading ID only to one player: rcon say 2 "text" |
rcon addbot |
Add a bot |
rcon rembot |
Remove a bot |
rcon setteam <id> <team> |
Move a player into a team |
rcon kick <id> |
Disconnect a player from the server |
rcon kickall |
Disconnect all players from the server |
rcon ban <id> |
Ban a player for a limited time |
rcon vote |
Start a vote |
rcon restart |
Restart the current round |
rcon nextmap |
Switch to the next map |
rcon loadmap <mapname> <gamemode> |
Load a specific map with a game mode |
rcon loadcycle <file> |
Load a map cycle |
rcon addmodifier <name> |
Enable a modifier |
rcon removemodifier <name> |
Disable a modifier |
rcon reload |
Recompile and reload the scripts |
rcon restartserver |
Restart the server |
rcon get <variable> |
Print the value of a variable |
rcon set <variable> <value> |
Set the value of a variable |
Change settings while the server is running
With set and get you change values without stopping the server. This works for configuration variables as well as for rule values:
rcon set FillBotsCount 5
rcon set Match.MinimumPlayers 4
