SteamCMD

From ArchWiki
Revision as of 22:33, 20 December 2012 by Onny (Talk | contribs) (Start the server)

Jump to: navigation, search

This page describes how to install HLDS (Half-Life Dedicated Server) for installing and running a game server for classic Half-Life 1 games.

Installation

First, install hldsAUR from the AUR. Then change the directory to /opt/hlds and begin download the game files, in this example for Counter-Strike 1.6, by executing this command:

$ ./steam -command update -game cstrike -dir .

Start the server

Start the server using:

$ ./hlds_run -game cstrike -autoupdate +maxplayers 20 +map de_aztec > /dev/null 2>&1 &

Be sure you forwarded the ports 1200 UDP, 27000 - 27015 UDP, 27020 - 27039 TCP correctly!