How to ban an IP address in Day of Defeat: Source
Type addip 0 203.0.113.7 in the Console tab, then writeip to save it.
addip
Bans an IP address for a number of minutes, 0 for permanent.
addip <minutes> <ip> Examples
addip 0 203.0.113.7 Permanent IP ban.
addip 30 203.0.113.7 Thirty minute IP ban.
Arguments
minutesRequired- Ban length in minutes, 0 for permanent.
ipRequired- The IP address, as shown by status.
What it does
The engine prefers addip over the older banip, which does the same. Save permanent IP bans with writeip.
Good to know
writeipsaves permanent IP bans todod/cfg/banned_ip.cfg, which SLASHPLAY keeps between runs.
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 dod/cfg/server.cfg. New to this? Start a DoD:S server first.
Your own
DoD:S server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.