Skip to content
/SLASHPLAY

How to ban an IP address in Sven Co-op

Type addip 0 203.0.113.45 in the Console tab of your server page, then writeip to save it. It doesn't kick a player who is already on.

addip

Bans an IP address for a number of minutes, or for good with 0.

addip <minutes> <ip>

Examples

addip 0 203.0.113.45

Ban this address for good.

addip 60 203.0.113.45

Block it for an hour.

Arguments

minutesRequired
Ban length in minutes, 0 for permanent.
ipRequired
The IP address, from status.

What it does

It does not kick a player who is already on: use kick too. Run writeip to save permanent IP bans to listip.cfg.

Good to know

  • On SLASHPLAY, type it in the Console tab of the server page.
  • SLASHPLAY keeps svencoop/banned.cfg and svencoop/listip.cfg with your server, and Sven Co-op's own server.cfg loads both at every map.

Run it on your 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 svencoop/server.cfg in the Files tab: Sven Co-op runs it at every map change. New to this? Start a Sven Co-op server first.

Your own
Sven Co-op server.

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