How to ban a player by Steam ID in Rust
Type global.banid 76561198000000000 "Cheater" "Aimbot" in the server console to ban that Steam ID, even while the player is offline.
global.banid
Bans a player by Steam64 ID, even when they are offline.
banid <steamid> "<name>" "<reason>" [duration] Examples
banid 76561198000000000 "Cheater" "Aimbot" Ban an offline player permanently.
Arguments
steamidRequired- The player's 17-digit Steam64 ID.
nameRequired- Name stored with the ban.
reasonRequired- Reason stored with the ban.
durationOptional- Length of a temporary ban. Leave it out for a permanent ban.
What it does
Takes the Steam64 ID, a name for your records and a reason. Use it for players who already left or for bans imported from another server. Save with server.writecfg afterwards.
The game's own description: banid <steamid> <username> <reason> [optional duration]
Run it on your server
Type it in the server console or send it over RCON; admins can also use the F1 console in game. To keep a setting, run server.writecfg after changing it, or put it on the launch line as +name value.
Your own
game server.
CS2, Minecraft, Palworld and more, from $0.03 an hour.