Skip to content

LoV432/cs2-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS2 Server Dashboard

Overview

A very basic CounterStrike 2 Server Dashboard!

Features

  • 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.

Installation

The recommended way to use this is through Docker and Docker Compose. I have provided 3 example docker-compose files.

  1. Standalone
  2. Dashboard with CS2
  3. Dashboard with CS2 and MySQL DB

Guide: Setting Up Docker Compose and Configuring CS2 Dashboard

Overview

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.

Prerequisites

  • Docker installed on your system
  • Basic understanding of command line interfaces (CLI)

Steps:

1. Install Docker

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.

2. Prepare Docker Compose File

  • Download the docker-compose.yml file from here and place it in your working directory.
  • Optionally, set the MAXMIND_LICENSE_KEY in the docker-compose.yml file if needed.
  • Run the following command in your terminal:
    docker-compose up -d
    
    This command starts the container.

3. Customize the Configuration File

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 to config.toml.
  • Edit the config.toml file according to your requirements.

4. Restart the CS2 Dashboard Container

  • Navigate to the directory containing the docker-compose.yml file in your terminal.
  • Run the following command:
    docker-compose restart
    
    This command restarts the CS2 Dashboard container with the new configuration.

5. Access CS2 Dashboard

Once the container is up and running, you can access the CS2 Dashboard by visiting http://localhost:3000 in your web browser.

6. Updates

You can update the container by running these 2 commands:

docker-compose pull
docker-compose up -d

Additional Notes:

  • 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

Previews

Screenshot 2024-01-18 at 16-07-28 CS2 Dashboard ezgif-1-3729e11686 Screenshot 2024-01-18 160954 Screenshot 2024-01-18 161015 Screenshot 2024-01-18 161037 Screenshot 2024-01-18 161949 Screenshot 2024-01-18 162012

About

A CS2 Server Dashboard with RCON capability

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages