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. 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 someone who is not on the server, by their SteamID64:

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