Managing player bans is essential for maintaining a healthy Rust server community. This guide covers all ban commands, finding player IDs, and best practices for ban management.
Finding Player Steam64 IDs
Before you can ban a player, you need their Steam64 ID. Here's how to find it.
statusLists all connected players with their Steam64 IDs
Example: Look for the 17-digit number starting with 7
Tip
- Steam64 IDs are 17-digit numbers that typically start with 7
- You can also use steamid.io to convert Steam profile URLs to Steam64 IDs
- Keep a record of banned player IDs and reasons
Banning Players
Use these commands to ban players from your server.
banid <steamid64> "name" "reason"Ban a player by Steam64 ID
Example: banid 76561198012345678 "PlayerName" "Cheating"
- 1Use the status command to find the player's Steam64 ID
- 2Run the banid command with their ID, name, and reason
- 3The player will be kicked and prevented from rejoining
- 4Run server.writecfg to save the ban permanently
Tip
- After banning, you must run server.writecfg to save the ban to config files
- Without server.writecfg, bans are lost on server restart
Unbanning Players
Remove bans to give players a second chance.
unban <steamid64>Remove a ban by Steam64 ID
Example: unban 76561198012345678
global.banlist()List all banned players
Example: Find IDs of banned players
global.banlistex()List bans with names and reasons
Example: More detailed ban list
Tip
- Run server.writecfg after unbanning to save the change
- Keep records of why you unbanned someone for future reference
Ban Files and Storage
Rust stores bans in configuration files that persist across restarts.
- 1Bans are stored in ./server/ServerName/cfg/bans.cfg
- 2You can manually edit this file while the server is stopped
- 3Always run server.writecfg after RCON bans to save them
- 4Backup your bans.cfg file regularly
Best Practices
Follow these guidelines for effective ban management.
Tip
- Always document the reason for each ban
- Consider warning players before permanent bans for minor offenses
- Use Oxide plugins like BetterBan for advanced ban management
- Keep evidence (screenshots, logs) for disputed bans
- Review bans periodically - some players deserve second chances
- Consider using temp bans before permanent ones
Ready to Start Your Rust Server?
Get instant setup, powerful hardware, and 24/5 support with Loafhosts.
Get Rust Hosting