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.
Prerequisites:
Counter-Strike 2 server
CounterStrike Sharp installed and configured
Download & Install:
Configuration: Create or edit DeathrunManagerPlugin.json in your configs folder:# 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 Options{
"DrPrefix": "DR Manager",
"DrEnabled": 1,
"DrAllowCTGoSpec": 1,
"DrOnlyDeathrunMaps": 1,
"DrEnableBunnyhop": 1,
"DrTerroristNoFallDamage": 1,
"DrEnableDetailedLogging": 1,
"DrLogRetentionDays": 7,
"DrVelocityMultiplierTR": 1.75
}
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
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
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
The plugin automatically blocks these exploit commands:
kill
killvector
explodevector
explode
When enabled, terrorists are completely immune to fall damage:
Damage is automatically healed when detected
Can be toggled via console command or config
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
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
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
# Build the project
dotnet build
# Run tests (if available)
dotnet test
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

