A master server for Nexon's Counter-Strike: Online 2 written in Typescript on top of NodeJS.
Used by this client launcher.
You can no longer use this by itself, see cso2-master-services for more information.
Note: go to cso2-master-services for download and build scripts.
Note: You must have an user service and an inventory service running somewhere.
You can start the master server with:
# environment variables
export USERSERVICE_HOST=127.0.0.1 # the user service's host
export USERSERVICE_PORT=30100 # the user service's port
export INVSERVICE_HOST=127.0.0.1 # the inventory service's host
export INVSERVICE_PORT=30101 # the inventory service's port
# starts the master server
node dist/server.js
You must set those environment variables, or the service will not start.
By the default, the server will ask you which network interface to listen on.
See the command line arguments for more options.
Go to cso2-master-services to learn how to start the master server with docker-compose.
Options:
-i, --ip-address [ip]
(optional) The IP address to listen on (default: auto-detect)-p, --port-master [port]
(optional) The server's (TCP) port (default: 30001)-P, --port-holepunch [port]
(optional) The server's holepunch (UDP) port (default: 30002)-l, --log-packets
(optional) Log the incoming and outgoing packets
Bug reports and pull requests are very much welcome.
See the current project's progress for more information.
Read LICENSE
for the project's license information.
I'm not affiliated with either Valve or Nexon, just like I don't own Counter-Strike Online 2.