Tip
You can test this plug-in by joining our community server via connect server.counterstrike.party:27030 or via https://counterstrike.party
CounterstrikeSharp - Cosmetics is a plugin for Counter-Strike 2 that allows server administrators to customize the appearance of players with various cosmetic items. This plugin enhances the gaming experience by providing unique visual elements.
- Colored smoke grenades depending on the players team
- Death Beam going from the attacker to victim
- Tombstone which spawns on player death
- Model for spectators (defaults to a small airplane)
- Changing bomb model
- Highlight bomb when dropped and/or planted
- Download and extract the latest release from the GitHub releases page.
- Move the "Cosmetics" folder to the
/addons/counterstrikesharp/plugins/directory. - Restart the server.
Updating is even easier: simply overwrite all plugin files and they will be reloaded automatically. To automate updates please use our CS2 Update Manager.
This plugin automatically creates a readable JSON configuration file. This configuration file can be found in /addons/counterstrikesharp/configs/plugins/Cosmetics/Cosmetics.json. Each map can have a unique configuration file. This can be achieved by creating a subfolder called maps next to the Cosmetics.jsonand copy the current Cosmetics.json as my_lowercase_map_name.json. Upon map-change this configuration file will be loaded. In case of an error within the .json file the server console will give you more information.
{
"enabled": true,
"debug": false,
"modules": {
"bombmodel": {
"enabled": true,
"change_size_on_planted_c4": true,
"change_size_on_equip_c4": true,
"min_size": 3,
"max_size": 7
},
"coloredsmokegrenades": {
"enabled": true,
"color_t": "255 0 0",
"color_ct": "0 0 255",
"color_other": "0 255 0"
},
"deathbeam": {
"enabled": true,
"timeout": 1.5,
"width": 0.5,
"color_t": "237 163 56",
"color_ct": "104 163 229",
"color_other": "0 255 0"
},
"deathtombstone": {
"enabled": true,
"timeout": 0,
"model": "models/cs2/kandru/tombstone.vmdl",
"size": 1,
"health": 100
},
"spectatormodel": {
"enabled": true,
"message_chat": true,
"message_center": false,
"message_alert": true,
"model": "models/vehicles/airplane_medium_01/airplane_medium_01_landed.vmdl",
"size": 0.01,
"offset_z": -2,
"offset_angle": 0
}
},
"ConfigVersion": 1
}Clone the project:
git clone https://github.com/Kandru/cs2-cosmetics.gitGo to the project directory
cd cs2-cosmeticsInstall dependencies
dotnet restoreBuild debug files (to use on a development game server)
dotnet buildBuild release files (to use on a production game server)
dotnet publishTODO
