A CounterStrikeSharp plugin that allows players to hide their legs in first-person view for Counter-Strike 2.
- Toggle leg visibility in first-person view
- Persistent per-player settings
- Command aliases:
css_hidelegs,css_hideleg,css_legs - Automatic restoration after spawn, round start, and hot reload
- Uses model alpha
254so the local first-person legs are hidden while normal visibility is preserved for other players
- Counter-Strike 2 server
- CounterStrikeSharp API 1.0.369 or newer compatible build
- .NET 10 runtime
- Download the latest
HideLegs-vX.X.X.zipfrom Releases. - Extract the archive into the server
csgofolder. - Confirm the plugin files are under:
csgo/addons/counterstrikesharp/plugins/HideLegs/
- Restart the server or reload the plugin.
css_hidelegs- Toggle hide legs in first personcss_hideleg- Toggle hide legs in first personcss_legs- Toggle hide legs in first person
Players must be alive and not spectating to use the command.
The plugin automatically creates and manages:
csgo/addons/counterstrikesharp/configs/plugins/HideLegs/player_settings.json
The file stores player preferences by SteamID64.
dotnet restore
dotnet build --configuration Release
dotnet publish --configuration Release --output ./publishThe compiled plugin files are emitted under bin/Release/net10.0/ and publish/.
- Version: 1.1.0
- Target Framework: .NET 10
- Minimum CounterStrikeSharp API: 369
- Package Reference: CounterStrikeSharp.API 1.0.369
- Updated to .NET 10 and CounterStrikeSharp.API 1.0.369
- Switched player authorization/disconnect tracking to current CSSSharp listeners
- Made settings saves snapshot-based and race-safe
- Updated GitHub Actions for the current
masterbranch and full publish-folder release packaging
- Previous public release
- Initial release
- Basic leg hiding functionality
- Persistent player settings
- Multiple command aliases
- Automatic state restoration
This project is licensed under the MIT License. See LICENSE for details.
- CS2KZ community for the original leg hiding technique
- CounterStrikeSharp team