# How to Ban and Whitelist Players on Your Assetto Corsa Server (/docs/assetto-corsa/blacklist-whitelist)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Ban a Player [#ban-a-player]

In-Game (Admin) [#in-game-admin]

Authenticate as admin with `/admin YourAdminPassword`, then:

* `/kick <name>` — kick a player
* `/ban <name>` — kick and add to blacklist

Banned players are automatically added to `blacklist.txt`.

Via blacklist.txt [#via-blacklisttxt]

<Steps>
  <Step>
    Stop the server. Click **Files** and open (or create) `blacklist.txt` in the server root.
  </Step>

  <Step>
    Add one SteamID64 per line:

    ```
    76561198012345678
    76561198087654321
    ```
  </Step>

  <Step>
    Save and start from **Console**.
  </Step>
</Steps>

Unban a Player [#unban-a-player]

Remove their SteamID64 from `blacklist.txt` and restart.

Related Guides [#related-guides]

* [Admin Commands](/docs/assetto-corsa/admin-commands)
* [Server Password](/docs/assetto-corsa/server-password)
