Skip to content
/SLASHPLAY

How to set the RCON ban time in GMod

Type sv_rcon_banpenalty 60 in the server console so an address that fails RCON login too often is banned for 60 minutes; 0 is permanent.

sv_rcon_banpenalty

Sets how many minutes an address is banned after failing RCON authentication; 0 is permanent.

sv_rcon_banpenalty <minutes>

Examples

sv_rcon_banpenalty 60

One hour ban for failed RCON logins.

Arguments

minutesRequired
Ban length in minutes, 0 for permanent.

What it does

Applies once sv_rcon_maxfailures or the short-term failure limit is reached.

The game's own description: Number of minutes to ban users who fail rcon authentication

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to garrysmod/cfg/server.cfg. New to this? Start a GMod server first.

Your own
GMod server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.