How to kick, ban and unban players on a Rust server
Quick answer: kick "Name" "reason" throws a player off, ban "Name" "reason" throws them off and keeps them out, and unban <steamid> lets them back. Add a duration to make a ban temporary: ban "Name" "cheating" 7d. Type these in the server console, over RCON, or in the F1 console as an admin.
kick "PlayerName" "Read the rules"kickall "Restarting for an update"kick takes a player’s name or SteamID64. kickall kicks everyone on the server. A kicked player can join again straight away.
Ban a player who is online
Section titled “Ban a player who is online”ban "PlayerName" "Cheating"ban "PlayerName" "Toxic in chat" 3dThe player is kicked, the ban is announced in chat, and it is saved at once. If they play through Steam Family Sharing, the account that owns their copy of Rust is banned too.
Ban by SteamID64
Section titled “Ban by SteamID64”banid bans someone who is not on the server, by their SteamID64:
banid 76561198000000000 "PlayerName" "Ban evasion"banid 76561198000000000 "PlayerName" "Griefing" 2wserver.writecfgRun server.writecfg after a banid: that is what saves it, so it survives a restart.
How long a ban lasts
Section titled “How long a ban lasts”Leave the duration out and the ban is permanent. A duration is a number and a letter:
| Letter | Means | Example |
|---|---|---|
s | seconds | 90s |
m | minutes | 30m |
h | hours | 12h |
d | days | 7d |
w | weeks | 2w |
M | months of 30 days | 1M |
Y | years | 1Y |
A number with no letter counts as hours. Capital M is months and small m is minutes.
Unban and see who is banned
Section titled “Unban and see who is banned”unban 76561198000000000server.writecfgbanlistexunban takes the SteamID64; run server.writecfg after it so the unban is saved. banlist lists every banned ID, and banlistex adds the names and reasons.
Where bans are saved
Section titled “Where bans are saved”Bans are kept in users.cfg, in the server’s cfg folder (server/<identity>/cfg/, next to RustDedicated.exe), along with the server’s owners and moderators. A full wipe deletes that folder, bans included; see how to wipe a Rust server.
Related
Section titled “Related”- How to make yourself admin
- Rust admin commands, every command with what it does
- Server console, RCON and admin in Crucible Local Server
