A very basic CounterStrike 2 Server Dashboard!
- Multi Server Support: Manage all your servers from a single webpage.
- Connected Players: Monitor all players with details like ping, packet loss, name, and IP.
- IP Lookup: Optionally view IP details such as country, city, ASN, and ASN number.
- Admin Actions: A quick and easy way to kick/(un)ban/slay/(un)mute players using CS2-SimpleAdmin plugin.
- VIPs Managers: A quick and easy to add/remove/see all your VIPS using cs2-VIPCore plugin.
- Chat Logging: Keep logs of all chat messages and display them on the dashboard using CS2 Chat Logger plugin.
- Console: Execute RCON commands with some basic auto-complete suggestions.
The recommended way to use this is through Docker and Docker Compose. I have provided 3 example docker-compose files.
This guide will walk you through the process of setting up Docker Compose and configuring the CS2 Dashboard application using a provided docker-compose.yml
file and the generated config.toml.example
file.
- Docker installed on your system
- Basic understanding of command line interfaces (CLI)
If you haven't already, download and install Docker and Docker-Compose for your operating system. You can find installation instructions on the Docker and Docker Compose.
- Download the
docker-compose.yml
file from here and place it in your working directory. - Optionally, set the
MAXMIND_LICENSE_KEY
in thedocker-compose.yml
file if needed. - Run the following command in your terminal:
This command starts the container.
docker-compose up -d
After starting the CS2 Dashboard container for the first time, a config.toml.example
file will be created in your dashboard-config
directory. Follow these steps to customize the configuration:
- Rename
config.toml.example
toconfig.toml
. - Edit the
config.toml
file according to your requirements.
- Navigate to the directory containing the
docker-compose.yml
file in your terminal. - Run the following command:
This command restarts the CS2 Dashboard container with the new configuration.
docker-compose restart
Once the container is up and running, you can access the CS2 Dashboard by visiting http://localhost:3000
in your web browser.
You can update the container by running these 2 commands:
docker-compose pull
docker-compose up -d
- Remember to restart the CS2 Dashboard container after making changes to the
config.toml
file for the changes to take effect. - Ensure that your firewall and network settings allow traffic on the specified ports (e.g., port 3000 for CS2 Dashboard and the game server ports).
- If you are having Server connection failed error try changing your network type to host and then running
docker-compose up -d