CS

CS2_C4Timer

CS2 C4Timer

by Midori-Dβ˜…0↓ 0MITcounterstrikesharp
c4timercounter-strike-2counterstrikesharpcs2

πŸŽ€ CS2 C4Timer (Explosion Countdown)

Show a C4 countdown timer (and optional progress bar) in-game when the bomb is planted.
You can choose when the timer becomes visible (e.g., show only from the last 15s) via JSON config.
Includes an admin-only toggle command: !c4timer.

Based on / modified from R0mz1k/css-C4-Timer (big thanks!).
https://github.com/R0mz1k/css-C4-Timer

✨ Features

  • In-game C4 explosion countdown
  • Admin-only toggle in chat: !c4timer

πŸ“¦ File Layout

csgo/
└─ game/
   └─ csgo/
      └─ addons/
         └─ counterstrikesharp/
            β”œβ”€ plugins/
            β”‚  └─ C4Timer.dll             # plugins
            └─ configs/
              └─ plugins/
                └─ C4Timer/
                  └─ C4Timer.json         # config

If the config doesn’t load, check the generated config path after first run.

βš™οΈ Config (C4Timer.json)

{
  "EnableTimer": true,
  "EnableProgressBar": true,
  "TimerStarting": 40,

  "LeftSideTimer": "-[ ",
  "RightSideTimer": " ]-",

  "EnableColorMessage": true,
  "SidesTimerColor": "40:white",
  "TimeColor": "20:yellow, 10:red, 5:darkred",
  "ProgressBarColor": "20:yellow, 10:red, 5:darkred",

  "PluginEnabled": true,
  "AdminPermission": "@css/root"
}

🧰 Commands

!c4timer          # admin-only toggle (ON/OFF)

πŸ§ͺ Build

  • Target: .NET 8 / CounterStrikeSharp v1.0.356+

πŸ“ Changelog

## [1.6+a] - 2026-01-23
- Added admin-only !c4timer toggle
- Minor fixes / adjustments for Midori server use

πŸ™ Credits

  • Midori server ops team
  • CounterStrikeSharp project & community
  • Original project / base plugin: R0mz1k/css-C4-Timer

πŸ“„ License

  • MIT
CS2_C4Timer - CS2 Plugin | sourcemods.info