Make sure you have the required 32-bit libraries before installation:
apt install lib32stdc++6for Debian-based distrosdnf install libstdc++.i686for RHEL-based distrospacman -S lib32-gcc-libsfor Arch
./install
First, it downloads these files to /tmp/hlds:
Once it's done, it creates the hlds user, which extracts all archives from /tmp/hlds to the /opt/hlds/.steam directory, makes necessary symlinks, and downloads all server files.
It also places the cs16-server script that controls the server into /usr/bin and the cs16-server.conf with all hlds_args into /etc/hlds.
Note
- The server is run by user
hldswith the account locked. You need to usesudo -u hlds bashif you plan to do further server configuration in the/opt/hlds/cs16directory. - To get AMX Mod X admin access, edit
cstrike/addons/amxmodx/configs/users.iniaccordingly. - YaPB bots are disabled by default. If you want to enable them, uncomment the line with
yapb.soincstrike/addons/metamod/plugins.ini.
cs16-server <start | stop | restart | update | status>
hlds_args="-secure -pingboost 3 -maxplayers 32 +sys_ticrate 1024 +sv_lan 0 +map de_dust2 -dll addons/metamod/dlls/metamod.so"
./install removeto uninstall the server and its files along with thehldsuser.
A big map pack is available on the Internet Archive.
Bot waypoints for maps are downloaded automatically if there's no .graph file for a map, but you can also get them all from yapb/graph repo.
