Managing player bans is a core part of running a Rust server. This guide walks you through the exact steps to ban and unban players using the in-game console, the server console, and the RCON tool, so you can keep your server safe and welcoming.
What You’ll Need
- Owner or admin access to your Rust server (console or RCON).
- The player’s Steam ID (17-digit number) or their in-game name.
- Access to your server’s control panel (if using a hosting provider) or the server console directly.
- An RCON tool (like RustAdmin or a web-based RCON) if you prefer a GUI.
Step-by-Step
Banning a Player
- Identify the player. You can ban by Steam ID (most reliable) or by name. To get a Steam ID, ask the player, check your server logs, or use a tool like SteamID.io.
- Open your server console. If you host locally, this is the command prompt window running your server. If you use a hosting panel, find the “Console” tab.
- Type the ban command. The basic syntax is:
ban <name or steamID> <reason>. For example:ban 76561198012345678 "Griefing". Press Enter. - Confirm the ban. The console will output a message like “Banning user…” and the player will be disconnected. They will see the reason when they try to reconnect.
- Optional: Ban by IP. If you need to block a specific IP address, use
banip <IP> <reason>. This is less common but useful for persistent troublemakers. - Check the ban list. Type
banlistto see all active bans. This helps you verify the ban was applied.
Unbanning a Player
- Get the player’s Steam ID. You can find it in the ban list (
banlist) or from a previous record. - Open your server console (same as above).
- Type the unban command. The syntax is:
unban <name or steamID>. For example:unban 76561198012345678. Press Enter. - Confirm removal. The console will show “Unbanned user” and the player will be able to join again. They will not receive a notification, so you may want to inform them yourself.
- Verify. Run
banlistagain to ensure the player is no longer listed.
Using RCON Tools
- Connect your RCON tool to your server using the IP, RCON port, and password from your server config.
- Find the player in the player list (most tools show online players). For offline players, use the Steam ID.
- Right-click or use the command bar to select “Ban” or “Unban”. Enter the reason if prompted.
- Confirm the action in the tool’s log. The server will apply it immediately.
Common Mistakes
- Using the wrong Steam ID. Always double-check the 17-digit ID. A typo can ban the wrong person.
- Not including a reason. While not mandatory, a reason helps the player understand and helps you track bans.
- Banning by name only. Names can be changed, so a name ban is temporary. Always use Steam ID for permanent bans.
- Forgetting to save. Bans are saved automatically, but if you use a third-party plugin, ensure it’s configured to save.
- Confusing console commands. The in-game console (F1) is for players; the server console is for admins. Use the correct one.
Tips
- Use a ban plugin like “BanManager” or “BetterBan” for advanced features like temporary bans, ban history, and web-based management.
- Document bans in a spreadsheet or note with Steam ID, date, reason, and admin name. This helps with repeat offenders.
- Communicate rules clearly on your server so players know what leads to a ban.
- Regularly review bans to remove outdated ones or reconsider appeals.
- Set up a ban appeal process (e.g., a Discord channel) to keep things fair.
Troubleshooting
- Ban command not working? Check that you have admin privileges. Type
statusin the console to see if you’re listed as admin. If not, add your Steam ID to the server’sadmin.cfgor via theowneridcommand. - Player still joins after ban? Make sure you used the correct Steam ID. Also, if the player is using a VPN, they may have a different IP, but the Steam ID ban should still work. If not, try banning their IP as well.
- Unban not working? Verify the Steam ID is exactly as it appears in the ban list. If you used a name, try the Steam ID instead.
- Console shows “Unknown command”? You might be typing in the wrong console. Use the server console, not the game’s F1 console.
- RCON tool can’t connect? Check your RCON port (default 28016) and password in
server.cfg. Ensure the port is open in your firewall. - Bans not persisting after restart? Bans are stored in
server/bans.cfg(or similar). Make sure the file is writable and not corrupted. If using a plugin, check its configuration.
Frequently Asked Questions
Can I ban a player who is offline?
Yes, use their Steam ID. The ban command works regardless of whether the player is online.
How do I find a player’s Steam ID?
Ask them, check your server logs (they show the Steam ID on join), or use a service like SteamID.io by entering their profile URL.
What’s the difference between ban and banip?
ban bans the Steam account, so they can’t join with any character. banip bans an IP address, which can affect multiple players on the same network.
Can I set a temporary ban?
Yes, with plugins like “BetterBan” you can specify a duration. The vanilla command only supports permanent bans.
How do I see all active bans?
Type banlist in the server console. This shows Steam IDs, names, and reasons.
What happens when a banned player tries to join?
They will see a message saying they are banned, with the reason you provided (if any). They cannot bypass this unless they buy a new copy of the game (Steam ID ban).
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Tongue Escape Codes: What They Are0.20 movements/s
- Veeam Plugin for VMware Cloud Director: How It Works
- Claude Code Workflow Habits Worth Trying
- HDMI 2.1 Explained: Why It Matters for Gaming
- Best Path of Titans Server Hosting: Top Picks
- Oppo First Foldable: 120Hz Display & Snapdragon 888