Skip to content

Repository files navigation

CSP2 - Counter-Strike 2 Server Panel(working,Need Help👋)

🎮 Open-source CS2 server management panel that makes server management simple and efficient

License: MIT .NET Platform

English | 简体中文


✨ Introduction

CSP2 is an open-source desktop management tool for CS2 server administrators, inspired by Minecraft's PCL2 launcher. It provides an intuitive graphical interface that makes server management, plugin installation, log viewing, and other operations simple and quick.

🌟 Core Features

  • One-Click Launch: Quickly start and manage CS2 dedicated servers
  • 📊 Real-time Monitoring: View server logs and status in real-time
  • 🔌 Plugin Management: Browse, install, and update plugins with support for multiple frameworks
  • 🖥️ Multi-Server: Manage multiple server instances simultaneously
  • ⚙️ Simple Configuration: Direct launch arguments input for maximum flexibility
  • 🔧 Extensible: Based on Provider mechanism, community can contribute new features
  • 🎨 Modern UI: Clean and beautiful user interface

👥 Target Audience

  • CS2 community server administrators
  • Server operators
  • Plugin developers
  • Players who want to quickly set up a CS2 server

🖼️ Preview

Project is still under development

Preview 1

Preview 2


🚀 Quick Start

System Requirements

  • Operating System: Windows 10/11 (64-bit)
  • .NET Runtime: .NET 8.0 or higher
  • Disk Space: At least 100MB
  • Memory: Recommended 4GB or more

Installation

Option 1: Download Pre-built Version (Recommended)

  1. Go to Releases page(still Develop)
  2. Download the latest version of CSP2-vX.X.X-Windows.zip
  3. Extract to any directory
  4. Run CSP2.Desktop.exe

Option 2: Build from Source

Manual Build:

# 1. Clone repository
git clone https://github.com/yichen11818/csp2.git
cd csp2

# 2. Restore dependencies
dotnet restore

# 3. Build project
dotnet build --configuration Release

# 4. Run
cd src/CSP2.Desktop/bin/Release/net8.0-windows
./CSP2.Desktop.exe

📖 User Guide

Basic Workflow

  1. Add Server

    • Select an existing CS2 installation path
    • Or download dedicated server via SteamCMD (in development)
  2. Install Plugin Framework

    • One-click install Metamod
    • One-click install CounterStrikeSharp
  3. Browse Plugin Market

    • Search and install required plugins
    • Manage installed plugins
  4. Start Server

    • Configure server parameters
    • Start and view logs in real-time

🔌 Supported Plugin Frameworks

Framework Status Description
Metamod:Source ✅ Developing CS2 plugin loader foundation
CounterStrikeSharp ✅ Developing C# plugin development framework
Swiftly 🚧 Planned Emerging plugin framework

Community can add new framework support by implementing the IFrameworkProvider interface


🤝 Contributing

We welcome all forms of contributions! Whether it's reporting bugs, suggesting features, improving documentation, or submitting code.

How to Contribute

  1. Report Bugs: Submit in Issues
  2. Feature Requests: Discuss in Discussions
  3. Submit Code: Fork the project, create a Pull Request
  4. Translate: Help translate the interface to other languages

Developer Guide

Check out these documents to start contributing:


📁 Project Structure

csp2/
├── src/
│   ├── CSP2.Core/              # Core library (interfaces and services)
│   ├── CSP2.Providers/         # Official Provider implementations
│   └── CSP2.Desktop/           # WPF desktop application
├── plugin-repository/          # Plugin marketplace repository (Git submodule)
│   ├── plugins/                # Plugin metadata files
│   ├── manifest.json           # Auto-generated plugin manifest
│   └── schemas/                # JSON Schema definitions
├── tests/                      # Unit tests
├── docs/                       # Documentation
├── data/                       # Runtime data (servers, settings)
├── providers/                  # Third-party providers
├── .github/                    # GitHub configuration
└── README.md

🛠️ Tech Stack

  • Frontend: WPF (.NET 8.0)
  • Architecture: MVVM (CommunityToolkit.Mvvm)
  • Dependency Injection: Microsoft.Extensions.DependencyInjection
  • Logging: Serilog
  • HTTP: HttpClient + Polly
  • JSON: System.Text.Json

Future plans to migrate to Avalonia UI for cross-platform support.


❓ FAQ

Q: Which operating systems are supported?

A: Current version only supports Windows. Linux support will be available in v2.0.

Q: Where does the plugin data come from?

A: From our maintained plugin repository, which is included as a Git submodule. The repository automatically tracks and indexes CS2 plugins from GitHub.


📧 Contact


⭐ Star History

If this project helps you, please give us a Star ⭐!

Star History Chart


Made with ❤️ by CSP2 Community

About

CS2 Server Panel

Resources

Contributing

Stars

17 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages