CS2 Server Manager is a web-based management tool for your Counter-Strike 2 (CS2) server. This tool allows you to easily control your server settings, change local and workshop maps, and send custom console commands directly from your browser.
- Change Local Map: Easily switch between local maps.
- Change Workshop Map: Switch to a map from your Steam Workshop collection.
- Quick Commands: Wiki
- Send Custom Commands: Execute any console command on your server.
-
Clone the repository:
git clone https://github.com/your-username/cs2-server-manager.git
-
Install the required dependencies:
Install NodeJS (nodesource)
npm install express body-parser rcon-client
-
Configure the server settings in
config.js
(update RCON credentials and server IP). -
Run the application:
node cs2manager.js
-
Access the web interface via
http://localhost:3136
.
[Unit]
Description=CS2Manager
After=network.target
[Service]
WorkingDirectory=/var/www/cs2manager
ExecStart=/usr/bin/node cs2manager.js
Restart=always
RestartSec=10
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target