Skip to content
/SLASHPLAY

How to ban failed RCON logins in Half-Life 2: Deathmatch

Add sv_rcon_banpenalty 30 to hl2mp/cfg/server.cfg to ban an address for 30 minutes after too many failed RCON logins.

sv_rcon_banpenalty

Sets how many minutes an address is banned after too many failed RCON logins. 0 means a permanent ban.

sv_rcon_banpenalty <minutes>

Examples

sv_rcon_banpenalty 30

Thirty minute ban for RCON guessers.

Arguments

minutesRequired
Ban length in minutes, 0 for permanent.

What it does

Protects the RCON password from guessing. The ban triggers after sv_rcon_maxfailures failed attempts.

Good to know

  • To keep it after a restart, add sv_rcon_banpenalty 30 to hl2mp/cfg/server.cfg in the file manager (Advanced, then Files).

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 hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.

Your own
HL2DM server.

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