Skip to content

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 "PlayerName" "Cheating"
ban "PlayerName" "Toxic in chat" 3d

The 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.

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" 2w
server.writecfg

Run server.writecfg after a banid: that is what saves it, so it survives a restart.

Leave the duration out and the ban is permanent. A duration is a number and a letter:

LetterMeansExample
sseconds90s
mminutes30m
hhours12h
ddays7d
wweeks2w
Mmonths of 30 days1M
Yyears1Y

A number with no letter counts as hours. Capital M is months and small m is minutes.

unban 76561198000000000
server.writecfg
banlistex

unban 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.

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.

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.