SW2-AFKManager is a SwiftlyS2 plugin that helps keep your server active by warning and punishing:
- AFK players
- Players camping within a radius
- Players staying in spectator too long
It also supports optional C4 transfer from AFK players, localized messages including chat prefix, and optional center HTML warnings.
Need help or have questions? Join our Discord server:
-
📦Download Latest Plugin Version → Click Here -
⚙️Download Latest SwiftlyS2 Version → Click Here
- Download/build the plugin (publish output lands in
build/publish/AFKManager/). - Copy the published plugin folder to your server:
.../game/csgo/addons/swiftlys2/plugins/AFKManager/
- Ensure the
resources/folder (translations, gamedata) is alongside the DLL. - Start/restart the server.
The plugin uses SwiftlyS2's JSON config system.
- File name:
config.jsonc - Section:
swiftlys2/configs/plugins/AFKManager/
On first run the config is created automatically. The resolved path is logged on startup.
-
Timer: How often the plugin checks players (seconds) -
SkipWarmup: Skip checks during warmup -
WarningSound: Sound emitted on warnings -
CenterHtmlAlerts: Show center HTML warning messages (auto clears when player becomes active) -
AfkWarnInterval/AfkPunishAfterWarnings/AfkPunishment: AFK detection + punishment -
AfkTransferC4AfterWarnings/AfkTransferC4OnlyFromBuyZone: Optional C4 transfer behavior -
AfkSkipFlag: Permissions to skip AFK checks -
SpecWarnInterval/SpecKickAfterWarnings/SpecKickMinPlayers/SpecKickOnlyMovedByPlugin: Spectator handling -
SpecSkipFlag: Permissions to skip spectator checks -
AntiCampEnabled: Completely disable anti-camp functionality -
AntiCampRadius/AntiCampWarnInterval/AntiCampPunishAfterWarnings: Camping detection -
AntiCampPunishment/AntiCampSlapDamage: Punishment configuration -
AntiCampSkipBombPlanted/AntiCampSkipTeam/AntiCampSkipFlag: Skip rules
- None.
dotnet build- Original plugin NiGHT757/AFKManager
- Readme template by criskkky
- Release workflow based on K4ryuu/K4-Guilds-SwiftlyS2 release workflow