New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Kick and Ban Players on Your s&box Server
s&boxs&boxKick & Ban Players

How to Kick and Ban Players on Your s&box Server

Kick and ban players on an s&box server

3 min read
Jul 31, 2026

You remove players through the server console in the dashboard of your server. In the official sandbox mode, players with the admin claim can additionally kick and ban directly in the game – see Add Admin.

Use commands in the server console

  1. Open the server console
    Open the dashboard of your server and switch to the server console.

  2. List the players
    Display the connected players and their SteamID64:

    status
    
  3. Run the command
    Enter the desired command, for example:

    kick 76561198012345678 Rule violation
    

Kick a player

kick <SteamID64 or part of the name> [reason]

As the target you pass either the exact SteamID64 or part of the display name. A kick disconnects the player immediately, but they can rejoin at any time.

Ban a player

ban <SteamID64 or part of the name> [reason]

A ban kicks the player immediately and prevents them from connecting again. If you do not provide a reason, Banned is used.

Lift a ban

s&box has no unban command. In sandbox mode, banned players are stored in a file on your server which you have to edit manually.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open the ban list
    Open the following file:

    /data/facepunch/sandbox/bans.json
    
  4. Remove the entry
    Delete the player's entry from the list and make sure the file remains valid JSON.

  5. Start the server
    Save the file and start your server.

Command overview

Command Description
status Show server status, connected players and the lobby ID
kick <SteamID64 or part of the name> [reason] Disconnect a player from the server
ban <SteamID64 or part of the name> [reason] Ban a player (sandbox mode)
game <game mode> [map] Switch the game mode and map
find <text> Search the available commands and variables
quit Shut down the server
Written byEmeraldHost Team
Last updated on Jul 31, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
s&box

Ready to get started?

Rent your s&box Server now

Join our Discord community 1257 members online right now