/cso2-master-server

A master server for CSO2

Primary LanguageTypeScriptMIT LicenseMIT

cso2-master-server

This repository includes all the services required to run a game server for Counter-Strike: Online 2.

You can get this client launcher to play in the server.

A test game server is available at the IP address 51.68.197.15 .

Discuss

Join the CSO2 Server Development Matrix room for game server development discussion.

Community run discussions

Running the game server

With Docker and docker-compose

You must have installed both docker and docker-compose for these steps.

The repository has two docker-compose configuration files:

  • docker-compose.development.yml can be used for development environments
  • docker-compose.production.yml can be used for development production environments (such as a remote server).

Example start command

docker-compose -f docker-compose.development.yml up -d --build

Example stop command

docker-compose -f docker-compose.development.yml down

With Gulp

These steps require Node.js and PostgreSQL to be installed in your system.

Setting up

In a shell, run

./config/init_db.sh # initializes the database user and tables
yarn # installs gulp and other build dependencies
npx gulp build # builds the game server components

Starting the server

In a shell, run

npx gulp start --intf eth0 # replace 'eth0' with your network interface

You can stop the server by pressing CTRL+C in the terminal.

License

Licensed under the MIT license, see COPYING for more information.

This project is not affiliated with either Valve or Nexon. Counter-Strike: Online 2 is owned by these companies.