BlockPasses blocks selected map passages with solid props until your player-count rule is met.
It precaches required models during map load—no external resource precacher is needed.
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/BlockPasses/). - Copy the published plugin folder to your server:
.../game/csgo/addons/swiftlys2/plugins/BlockPasses/
- 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.json - Location:
addons/swiftlys2/configs/plugins/BlockPasses/
On first run the config is created automatically.
Players: Minimum player count before passages unblock (default: 6)SpawnBlocksOnWarmup: Whether blocks spawn during warmup period (default: false)Debug: Enables detailed logging for troubleshooting (default: false)ChatPrefix: Prefix for chat messages (default: "BlockPasses |")ChatPrefixColor: Color for chat prefix (default: "{GREEN}")ModelPresets: List of model paths used as presets by the editor
- Dust Rollupdoor (
models/props/de_dust/hr_dust/dust_windows/dust_rollupdoor_96x128_surface_lod.vmdl) - Mirage Small Door (
models/props/de_mirage/small_door_b.vmdl) - Mirage Large Door (
models/props/de_mirage/large_door_c.vmdl) - Nuke Fence (
models/props/de_nuke/hr_nuke/chainlink_fence_001/chainlink_fence_001_256.vmdl)
Block placements are saved per-map in Swiftly's data folder:
addons/swiftlys2/data/BlockPasses/<map>.json
This file contains the placed blocks for that map (ModelPath, Origin, Angles, Scale, Color, etc.).
| Command | Permission | Description |
|---|---|---|
bp_reload |
blockpasses.reload |
Reloads config; new models take effect on next map change |
bp_menu |
blockpasses.admin |
Opens interactive menu for block management |
bp_edit [0/off/false] |
blockpasses.edit |
Enables/disables edit mode with automatic warmup management |
bp_add [modelpath] |
blockpasses.admin |
Adds a new block at aim position; optional model path override |
bp_remove |
blockpasses.admin |
Removes the block you are aiming at |
bp_up [step] |
blockpasses.admin |
Moves aimed block up by step units (default: 5) |
bp_down [step] |
blockpasses.admin |
Moves aimed block down by step units (default: 5) |
bp_rot [degrees] |
blockpasses.admin |
Rotates aimed block by degrees (default: 15) |
bp_scale [delta] |
blockpasses.admin |
Changes aimed block scale by delta (default: 0.1) |
bp_spawnall |
blockpasses.admin |
Respawns all saved blocks for the current map (edit mode only) |
bp_save |
blockpasses.admin |
Saves current edited blocks for the map |
When in edit mode:
- Press
Eto grab/drop a block - Press
RorFto rotate a block - Use menu or commands for precise adjustments
dotnet build- Readme template by criskkky
- Release workflow based on K4ryuu/K4-Guilds-SwiftlyS2 release workflow
- Original CounterStrikeSharp plugin by partiusfabaa