Page 1 of 1

PLUGIN - cs2-deathrun-manager

Posted: Tue Feb 24, 2026 9:48 pm
by greenie
English
๐ŸŽฏ Overview
The Deathrun Manager Plugin is a feature-rich plugin designed specifically for Counter-Strike 2 deathrun servers. It automatically manages team selection, enforces deathrun rules, provides advanced logging capabilities, and ensures a smooth gameplay experience for players.

โœจ Features
๐ŸŽฒ Random Terrorist Selection: Automatically selects a random player as terrorist each round
๐Ÿฐ Bunnyhopping Support: Configurable bunnyhopping with proper air acceleration settings
โšก Speed Boost: Configurable velocity multiplier for terrorist players
๐Ÿ›ก๏ธ Fall Damage Protection: Optional fall damage immunity for terrorists
๐Ÿšซ Command Blocking: Blocks suicide and exploit commands
๐Ÿ—บ๏ธ Smart Map Detection: Intelligent detection of deathrun maps (dr_* and deathrun_* prefixes)
๐Ÿ‘ฅ Advanced Team Management: Enforces proper team distribution and prevents unwanted team switches
๐Ÿงน Weapon Management: Removes weapons from ground and alive CTs at round end
๐ŸŽจ Colored Messages: Beautiful colored chat messages with customizable prefix
๐Ÿ“ Comprehensive Logging: Detailed logging system with configurable retention
โš™๏ธ Extensive Configuration: Full configuration via console commands and config file
๐Ÿ”„ Hot Reload Support: Plugin supports hot reloading without server restart
๐Ÿš€ Installation
Prerequisites:

Counter-Strike 2 server
CounterStrike Sharp installed and configured
Download & Install:
# Download the plugin files
git clone https://github.com/leoskiline/cs2-deathrun-manager

# Copy to your plugins directory
cp -r DeathrunManagerPlugin /path/to/counterstrikesharp/plugins/
Configuration: Create or edit DeathrunManagerPlugin.json in your configs folder:
{
"DrPrefix": "DR Manager",
"DrEnabled": 1,
"DrAllowCTGoSpec": 1,
"DrOnlyDeathrunMaps": 1,
"DrEnableBunnyhop": 1,
"DrTerroristNoFallDamage": 1,
"DrEnableDetailedLogging": 1,
"DrLogRetentionDays": 7,
"DrVelocityMultiplierTR": 1.75
}
Configuration Options
Option Type Default Description
DrPrefix string "DR Manager" Chat prefix for plugin messages
DrEnabled int 1 Enable/disable the plugin (0/1)
DrAllowCTGoSpec int 1 Allow CTs to switch to spectator (0/1)
DrOnlyDeathrunMaps int 1 Only activate on deathrun maps (0/1)
DrEnableBunnyhop int 1 Enable bunnyhopping on server (0/1)
DrTerroristNoFallDamage int 1 Disable fall damage for terrorists (0/1)
DrEnableDetailedLogging int 1 Enable detailed logging (0/1)
DrLogRetentionDays int 7 Days to keep log files (1-365)
DrVelocityMultiplierTR float 1.75 Speed multiplier for terrorist
๐ŸŽฎ Console Commands
Command Parameters Description
dr_enabled [1/0] Enable or disable the plugin
dr_prefix [text] Change the chat prefix
dr_velocity_multiplier_tr [number] Set terrorist speed multiplier
dr_allow_ct_spec [1/0] Allow CT to go spectator
dr_only_deathrun_maps [1/0] Restrict plugin to deathrun maps only
dr_enable_bunnyhop [1/0] Enable or disable bunnyhopping
dr_terrorist_no_fall_damage [1/0] Enable/disable fall damage protection for terrorists
๐ŸŽฏ How It Works
Map Detection: Plugin detects if current map is a deathrun map (starts with dr_ or deathrun_)
Round Start: All players are moved to CT team and given only knives
Terrorist Selection: One random CT player is selected as terrorist
Speed Boost: Selected terrorist receives configurable speed boost
Fall Damage Protection: Terrorist is immune to fall damage (if enabled)
Team Enforcement: Prevents players from switching to terrorist team
Cleanup: Removes weapons from ground and alive CTs at round end
๐Ÿšซ Blocked Commands
The plugin automatically blocks these exploit commands:

kill
killvector
explodevector
explode
๐Ÿ›ก๏ธ Fall Damage Protection
When enabled, terrorists are completely immune to fall damage:

Damage is automatically healed when detected
Can be toggled via console command or config
๐Ÿ“ Logging System
The plugin features a comprehensive logging system:

Log Levels: INFO, WARN, ERROR, DEBUG
Automatic Cleanup: Old logs are automatically removed based on retention setting
Detailed Logging: Optional detailed logging for debugging
File Organization: Logs are organized by date (yyyy-MM-dd format)
Error Handling: Robust error handling prevents log system failures
๐ŸŽจ Advanced Features
Colored Chat Messages: Professional looking messages with color coding
Smart Weapon Management: Advanced weapon cleanup system with fallback mechanisms
Robust Team Management: Intelligent team switching prevention with proper validation
Map-Specific Activation: Only runs on actual deathrun maps when configured
Hot Reload Support: Configuration changes can be applied without server restart
Extensive Validation: Input validation for all configuration options
๐Ÿ”ง Server Settings Applied
The plugin automatically configures these server settings:

Bunnyhopping Settings (when enabled):

sv_enablebunnyhopping 1
sv_autobunnyhopping 1
sv_airaccelerate 1000
sv_air_max_wishspeed 30
sv_staminamax 0
sv_staminajumpcost 0
sv_staminalandcost 0
General Deathrun Settings:

mp_t_default_secondary 0
mp_ct_default_secondary 0
mp_autoteambalance 0
mp_limitteams 0
๐Ÿ› ๏ธ Development
# Build the project
dotnet build

# Run tests (if available)
dotnet test
๐Ÿค Contributing
Fork the repository
Create a feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request

https://github.com/leoskiline/cs2-death ... s/main.zip