How To Ban Players On Your Rust Server

Learn how to ban and unban players on your Rust dedicated server.

Banning disruptive players helps keep your Rust server enjoyable for everyone. You can ban players by their username or Steam ID directly from the server console.

How to Ban a Player

Open the Console

Log in to the XGamingServer Panel and select your Rust server. Click Console in the sidebar.

Run the Ban Command

To ban a player by their username, type:

ban "player_name" "reason"

To ban a player by their Steam ID, type:

banid "STEAMID64" "reason"

The reason field is optional but recommended so you can remember why the ban was issued.

Save the Ban List

Type writecfg into the console to save the updated ban list to disk.

💡 Tip: Banning by Steam ID is more reliable since players can change their display name. You can look up Steam IDs at steamid.io.

How to Unban a Player

Once a player has been banned, they can only be unbanned through their Steam ID.

Open the Console

Log in to the XGamingServer Panel and select your Rust server. Click Console in the sidebar.

Find the Banned Player's ID

Type the following command to see all currently banned players:

banlistex

This will display Steam IDs, usernames, and ban reasons.

Unban the Player

Type the following command using the player's Steam ID:

unban STEAMID64

Then run writecfg to save the change.

📝 Note: Unbanned players will be able to rejoin immediately without a server restart.

How is this guide?

40% Off — Limited TimeGet your Rust server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page