Skip to content

Counter-Strike 1.6 Dedicated Server for Linux with metamod-p, amxmodx and yapb bots.

Notifications You must be signed in to change notification settings

red-magic/cs16-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

273 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counter-Strike 1.6 Dedicated Server for Linux

logo

Requirements

Make sure you have 32-bit libraries before installation:

  • apt install lib32stdc++6 for Debian based distros
  • dnf install libstdc++.i686 for RHEL based distros
  • pacman -S lib32-gcc-libs for Arch

Installation

  • ./install

First it downloads these files to /tmp/cs16-server:

  • steamcmd
  • metamod-p-v1.21p38
  • amxmodx-1.10
  • yapb-4.4.957

Once it's done it places cs16-server script that controls the server to /usr/bin and cs16-server.conf with all hlds args to /etc/hlds.

It also creates hlds user that extracts all acrhives from /tmp/cs16-server to /var/hlds/.steam directory, makes necessary symlinks and updates steamcmd.

Note

  • hlds user is created with account locked, you need to use sudo -u hlds bash if you plan to do further server configuration in /var/hlds/cs16 directory.
  • yapb bots are disabled by default, if you want to enable them uncomment ;;linux addons/yapb/bin/yapb.so line in cstrike/addons/metamod/plugins.ini.

Usage

cs16-server <start | stop | restart | update | status>

cs16-server.conf

server_params="-secure -pingboost 3 +sv_lan 0 -maxplayers 32 +map de_dust2 -dll cstrike/addons/metamod/dlls/metamod.so"

Removal

  • ./install remove to uninstall the server and its files along with hlds user.

Extra

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.

About

Counter-Strike 1.6 Dedicated Server for Linux with metamod-p, amxmodx and yapb bots.

Topics

Resources

Stars

Watchers

Forks