Giter Club home page Giter Club logo

cs2-dashboard's Introduction

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

cs2-dashboard's People

Contributors

lov432 avatar

Stargazers

guugugu avatar skyprah avatar  avatar Rinas Cacaj avatar Đinh Duy Nhất avatar  avatar  avatar  avatar Bahodir avatar  avatar  avatar Martin Skalický avatar Hizqeel Javed avatar

Watchers

 avatar

cs2-dashboard's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.