Rust ban commands: ban, unban, kick and mute a player
To ban a Rust player, run banid <steamid64> "name" "reason" in the server console or over RCON, then run server.writecfg so the ban is saved. Use unban <steamid64> to reverse it and banlistex to review the list.
The reliable way to ban a Rust player is banid with their SteamID64, followed by server.writecfg. Everything below is typed in the server console or sent over RCON; see how to enable RCON if you cannot reach the console yet, and Rust RCON commands for the wider command list.
Quick answer
| Task | Command |
|---|---|
| Ban by SteamID64 (online or offline) | banid <steamid64> "<name>" "<reason>" |
| Ban a connected player by name | ban "<name>" "<reason>" |
| Kick one player | kick "<name or steamid64>" "<reason>" |
| Kick everyone | kickall |
| Remove a ban | unban <steamid64> |
| Show bans with names and reasons | banlistex |
| Save changes to disk | server.writecfg |
| Mute chat or voice | admin.mutechat "<player>", admin.mutevoice "<player>" |
Some hosts document these with a global. prefix (for example global.banid). Both forms are seen in the wild; if one is rejected on your build, try the other, or search with find in the console (checked December 2026).
Find the SteamID64 first
Bans are keyed on SteamID64, so get it before you act. The users command lists connected players with their ID, printed as 76561198000000000:"PlayerName". For a player who already left, check your logs or player history. The examples here use the placeholder 76561198000000000.
Ban a player
Use banid as your default:
banid 76561198000000000 "PlayerName" "Cheating"
server.writecfg
banid only adds the entry to the ban list. It does not kick the player or announce anything, so if they are online, follow it with kick:
kick 76561198000000000 "Banned: cheating"
The ban command is the shortcut for a connected player. It takes a name, removes the player and announces the ban to the server:
ban "PlayerName" "Toxic chat"
Because it matches by name, ban fails if the player has disconnected or the name does not match. When you see a player-not-found message, switch to banid.
Always write a reason. It is stored with the ban and shown by banlistex, which is what your other staff will read when a player appeals.
Kick players
kick removes a connected player and accepts either a name or a SteamID64, with an optional reason:
kick "PlayerName" "AFK in spawn"
kickall disconnects everyone and takes no arguments. Use it before a restart or maintenance window, not as a moderation tool. For planned restarts, announce first so players are not surprised.
Unban and review bans
banlistex
unban 76561198000000000
server.writecfg
banlist prints the banned IDs; banlistex adds the names and reasons, and a value of -1 means the ban is permanent. The server does not keep track of banned usernames, so unban needs the SteamID64. Enter it without quotes.
Mute chat and voice
Muting uses separate commands for chat and voice, each taking a player name or SteamID64:
admin.mutechat "PlayerName"
admin.unmutechat "PlayerName"
admin.mutevoice "PlayerName"
admin.unmutevoice "PlayerName"
Hosting documentation is inconsistent here: some pages describe plain mute and unmute commands and say they only work over RCON. Test on your own server before you rely on either form, and use find mute in the console to see what your build exposes. Mutes suit toxic chat; for cheating or repeated rule breaks, ban.
Make bans stick
Run server.writecfg after every ban or unban. It saves identity changes such as moderators and bans to the configuration files. If the server crashes or the process is killed, changes made since the last save can be lost, and a missing ban looks exactly like a player who was never banned. Do it as part of the same step, not at the end of the day.
Who is allowed to ban
Moderators can kick and ban; owners have full console rights. Grant either with moderatorid or ownerid, covered in how to make yourself admin. Keep the number of owners small, and protect the RCON password with the steps in Securing your Rust RCON password, because anyone with it can ban or unban at will.
Doing this at scale
With a handful of bans, the console is fine. Once a team shares moderation duty, the weak points are typing the wrong SteamID, forgetting server.writecfg, and having no record of who banned whom and why. RustCommander’s ban management lets you review a player’s context before banning, issue RCON bans and kicks, and keep a searchable ban log. Whatever you use, keep reasons consistent and written down.
Common mistakes
- Banning by name when the player is offline, then assuming it worked.
- Using
banidon an online player and forgetting that they stay connected until kicked. - Skipping
server.writecfgand losing the ban after a crash. - Putting quotes around the ID in
unban. - Leaving the reason blank, which makes appeals impossible to judge.
Frequently asked questions
How do I ban a player in Rust by SteamID?
Run banid followed by the SteamID64, a name and a reason, for example banid 76561198000000000 "PlayerName" "Cheating". It works whether the player is online or offline.
How do I unban a player in Rust?
Run unban <steamid64>. The server does not track banned names, so you need the SteamID64. Find it with banlistex if you do not have it.
How do I ban an offline player?
Use banid with their SteamID64. The name-based ban command only finds players who are connected right now.
What is the difference between ban and banid?
ban takes a name, needs the player connected, and also removes them and announces the ban. banid only writes the entry to the ban list and does not kick or announce.
Why did my bans disappear after a crash?
Ban changes are written to disk on save. Run server.writecfg after every ban or unban, because a crash or killed process can lose changes made since the last save.
Sources
Manage Rust player bans and kicks from an admin panel: review ban lists, check player context before acting, and keep a log of moderation decisions.