A CounterStrikeSharp plugin for CS2 that makes HE grenades sticky.
- HE grenades stick to walls, floors, props and players.
- Optional chat announcements for stuck players.
- Allow per player or for the whole server.
- CounterStrikeSharp v1.0.378 or newer.
- Install CounterStrikeSharp on your server.
- Download or build the plugin zip.
- Extract it into your server's
game/csgo/folder. - Restart the server, or run
css_plugins load StickyNades. - Edit the config file the plugin creates (see Configuration).
The config file is created on first load at:
counterstrikesharp/configs/plugins/StickyNades/StickyNades.json
After editing it, run css_plugins reload StickyNades or change the map.
| Option | Description | Default |
|---|---|---|
Enabled |
Turns the whole plugin on or off. | true |
Mode |
Everyone: all HE grenades are sticky. PerPlayer: only players who turned it on with the toggle command. |
"Everyone" |
PerPlayerDefaultEnabled |
In PerPlayer mode, whether players start with sticky grenades on. |
false |
ToggleCommands |
Command names that toggle sticky grenades. "sticky" gives !sticky, /sticky and css_sticky. |
["sticky", "stickynades"] |
TogglePermission |
Permission needed to use the toggle command, such as "@css/vip". Leave empty to let anyone use it. |
"" |
ChatMessages |
Who sees the stuck message: All (everyone), Involved (thrower and stuck player), Thrower (thrower only) or None. |
"All" |
MessageLocation |
Where the stuck message is shown: Chat, Center (center screen HTML) or Both. |
"Chat" |
CenterMessageDuration |
How many seconds the center message stays on screen when MessageLocation is Center or Both. |
3.0 |
StickToTeammates |
When false, grenades bounce off teammates as usual and stick to the next thing they hit. Has no effect when mp_teammates_are_enemies is on. |
true |
The default config:
{
"ConfigVersion": 2,
"Enabled": true,
"Mode": "Everyone",
"PerPlayerDefaultEnabled": false,
"ToggleCommands": ["sticky", "stickynades"],
"TogglePermission": "",
"ChatMessages": "All",
"MessageLocation": "Chat",
"CenterMessageDuration": 3.0,
"StickToTeammates": true
}| Command | Description |
|---|---|
!sticky |
Turns sticky grenades on or off for yourself. Only works in PerPlayer mode. |
!stickynades |
Same as !sticky. |
Change the command names with the ToggleCommands option. The setting resets when the player disconnects.
Translation files are located at counterstrikesharp/plugins/StickyNades/lang/.
| Language | File |
|---|---|
| English | en.json |
| German | de.json |
Requires the .NET 10 SDK.
cd src
dotnet build -c ReleaseDistributed under the GPL-3.0 License. See LICENSE.md for more information.