Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Look at the date of Adam's post - 27th Nov 2014. You know that SC5 was released on the 22nd of this month - Adam's answer is clearly out of date for your question, he refers to SC4.8.
There are two ways to run an SC5 server, the first being through the game (Start new game, set LAN to 0) and the second, to set up a dedicated server (one that is independent of the game) using the SvenDS server application that is provided within the Steam SC5 package.
For either method, if you are hosting your server from home, you will need to set a static LAN IP for your PC then forward the correct port for the SC server on your router, otherwise your router will block the server by default and although it may be listed, no-one will be able to join. There's lots of guides floating around currently, and as usual I recommend portforward.com which has everything you need including a free port testing tool. Look up your router by make and model, and specify Half-Life Steam Server as the game.
Read up on http://www.svencoop.com/manual/server-basic.html
https://ultahost.com/#compass
1. Prepare SteamCMD
Download SteamCMD:
Get SteamCMD from Valve’s official website and extract it to a folder on your system.
Create a Server Directory:
Decide on an installation folder for your server (e.g., C:\svencoop_server on Windows or a dedicated directory on Linux).
2. Install the Sven Co-op Dedicated Server
Launch SteamCMD:
Open your command prompt or terminal in the SteamCMD folder.
Run the Following Commands:
pgsql
Copy
login anonymous
force_install_dir [your_server_directory]
app_update 4020 validate
quit
These commands download and validate the server files for Sven Co-op.
3. Configure Your Server
Server Settings:
In your server directory, create or edit the server.cfg file. Here you can set:
Hostname: Name your server.
RCON Password: For remote console administration.
Max Players: Set this based on your preferences.
Other Settings: Customize gameplay settings, map rotation, etc.
Tip: Many online communities offer sample server.cfg files tailored for Sven Co-op. These can serve as a helpful starting point.
4. Network Setup
Port Forwarding:
Forward the default port (usually 27015) from your router to your server’s local IP address so players can connect externally.
Firewall Settings:
Adjust your system’s firewall to allow traffic on your chosen port.
5. Launch Your Server
Running the Server:
On Windows, run the server executable (commonly srcds.exe) with a command like:
arduino
Copy
srcds.exe -console -game svencoop +maxplayers 16 +map [start_map]
Replace [start_map] with your desired starting map and adjust the player count as needed.
On Linux:
The process is similar—run the equivalent command in your terminal. Using a tool like screen or tmux is recommended for managing the server process in the background.
6. Testing and Customization
Connect to Your Server:
Open Sven Co-op from your Steam client and connect using your server’s public IP address.
Tweak Settings:
If you run into issues (e.g., performance hiccups or gameplay adjustments), revisit your server.cfg and modify parameters accordingly.
Adding Mods or Custom Maps:
To enhance your server, you can add custom maps or mods. Place these files in the appropriate directories as specified in the Sven Co-op documentation.