As an admin on your Assetto Corsa game server, you can kick or ban players directly in the game, advance to the next session, or restart the current session. To do this, log in through the in-game chat using your server's admin password. In this guide, we'll show you where to find the password, how to change it, and which commands are available.
The admin password is in the cfg/server_cfg.ini file, in the [SERVER] section on the ADMIN_PASSWORD= line. You can find the file in the Files tab or in the raw text view of the Configuration tab. If the line is empty when the server starts, your server automatically enters a random password.
To use your own password, change it directly in the file:
[SERVER]
ADMIN_PASSWORD=your-secure-password
Save the file and restart your server. Your server will keep your password and only fill in the line itself if it is empty.
Never leave the admin password empty. Also, choose a different password from your server password so regular players don't get admin privileges.
Connect to your server and type this in the chat:
/admin <Admin-Passwort>
You can then use the admin commands. If you enter the admin password as the server password when joining, you'll be recognized as an admin as soon as you connect.
Enter admin commands in the in-game chat. Type /help to see the list of available commands.
| Command | Description |
|---|---|
/next_session | Advances to the next session, for example, from practice to qualifying |
/restart_session | Restarts the current session |
/client_list | Shows the connected players |
/kick <Name> | Kicks a player by name |
/kick_id <ID> | Kicks a player by ID |
/ban_id <ID> | Bans a player by ID |
Set how strict a ban is in the [SERVER] section of cfg/server_cfg.ini using BLACKLIST_MODE:
| Value | Effect |
|---|---|
0 | Regular kick; the player can rejoin |
1 | The player cannot rejoin until the server is restarted |
2 | The player is added to blacklist.txt and can only rejoin after you remove them from the file |
You can find blacklist.txt in the main folder of your server in the Files tab. To lift a permanent ban, delete the player's line from the file and restart your server.