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, and the kick is announced in chat; skick does the same without the chat message. 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 by SteamID64, so it works on someone who is not on the server. If they are on, they are kicked too:
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 bans.cfg, in the server’s cfg folder (server/<identity>/cfg/, next to RustDedicated.exe). The server’s owners and moderators sit beside it in users.cfg. A full wipe deletes that folder, bans included, so ban anyone again after one; see how to wipe a Rust server.
In Crucible Local Server
Section titled “In Crucible Local Server”Type any of these into the Console tab, or the Run a command box in the Quick view, while the server is Live. The console’s Save cfg button runs server.writecfg for you. See the Rust server console and RCON.
Related
Section titled “Related”- How to make yourself admin
- Rust admin commands, every command with what it does
- Rust server commands in Crucible Local Server, searchable with a copy button
