Skip to content
/SLASHPLAY

How to make a LAN server in Sven Co-op

Set sv_lan 1 on a server on your local network. Keep sv_lan 0 on an Internet server, or nobody can join from outside.

sv_lan

Makes it a LAN-only server: players authenticate by IP and must be on the same subnet. Default 0.

sv_lan <0|1>

Examples

sv_lan 0

Internet server.

Arguments

0|1Required
1 turns it on, 0 turns it off.

What it does

Only for a local network. Leave it at 0 on an Internet server.

Good to know

  • Keep it at 0 on SLASHPLAY: with 1 nobody can join from the Internet.

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.