Skip to content
/SLASHPLAY

How to change code lock lockout time in Rust

Type codelock.lockoutcooldown 1800 in the server console so a player who enters too many wrong codes is locked out for 30 minutes. Default is 900.

codelock.lockoutcooldown

Sets how many seconds a player is locked out of a code lock after too many wrong codes.

codelock.lockoutcooldown <seconds>

Examples

codelock.lockoutcooldown 1800

30-minute lockout.

Arguments

secondsRequired
Lockout length.

What it does

The default is 900 seconds (15 minutes). Longer lockouts make guessing codes impractical.

The game's own description: Duration in seconds a player is locked out from attempting the code lock after exceeding maxFailedAttempts; default 900s (15 minutes)

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.