Skip to content

ernestpasnik/cs2d-serverlist

Repository files navigation

CS2D Server List

Node.js License: MIT Live Demo

A real-time monitoring tool for CS2D game servers, built with Node.js and Redis. It provides a public API for accessing server details, player statistics, and map information—all with CORS support for easy integration.

CS2D Server List Preview


✨ Key Features

  • 📡 Real-Time Server Monitoring: Track server status, player count, and current map.
  • 🏆 Player Statistics: Leaderboards and detailed player stats.
  • 🗺️ Map Parser: View available maps and their details.
  • 🛠️ Automation Tools: Lua script for auto-uploading leaderboards and Discord server status updates.
  • 🔌 Free Public API: Simple, CORS-enabled, and ready for integration.

📋 Requirements

  • Node.js (v18 or higher)
  • Redis (for caching)
  • IPInfo API Key (for geolocation)

🚀 Quick Start

1. Clone the Repository

git clone https://github.com/ernestpasnik/cs2d-serverlist.git
cd cs2d-serverlist

2. Install Dependencies

npm install

3. Configure .env

HOST=0.0.0.0
PORT=3000
REDIS_URL=redis://127.0.0.1:6379
IPINFO_APIKEY=your_api_key_here

4. Run the Server

npm start

🔗 Related Projects

  • CS2D LuaJIT – A project by MikuAuahDark that replaces the default CS2D Lua engine with LuaJIT, enabling faster performance, support for external Lua C modules, and FFI (Foreign Function Interface).

📜 License

This project is open-source and available under the MIT License.

About

Public API for CS2D server data

Topics

Resources

License

Stars

Watchers

Forks