Caution
With the 28.07.2025 update, decal plugin might crash clients / server. Seems that .vmat files are not cached properly. Until it is fixed I recommend using CS2-Poor-MapPropAds that uses props instead of decals.
This plugin allows for server owners to create spray type advertisements that are placed on wall.
SoonTM
- Download latest release,
- Drag files to /plugins/
- Restart your server,
- Config file should be created in configs/plugins/
- Edit to your liking,
| Option | Description |
|---|---|
| Admin Flag (string) | Which flag will have access to all of the commands |
| Vip Flag (string) | Which flag would not see advertisements that are not forced on vip users |
| Props Path (string[]) | Paths for all advertisements that your addon have |
| Enable commands (bool) | If you want commands to be enabled. (for example, after you placed all of the advertisements you might not need commands anymore) |
| Debug Mode (bool) | If plugin should log errors, etc |
{
"Admin Flag": "@css/root",
"Vip Flag": "@vip/noadv",
"Props Path": [
"materials/Example/exampleTexture.vmat", // ID 0
"materials/Example/exampleTexture2.vmat" // ID 1 etc...
],
"Enable commands": true,
"Debug Mode": true,
"ConfigVersion": 1
}
Tried to make plugin idiot proof (since I did a lot of mistakes).
| Command | Description |
|---|---|
| css_placedecals | Allow to place advertisements |
| css_setdecal ID_OF_DECAL WIDTH HEIGHT FORCE_ON_VIP (TRUE/FALSE) | Configure decal that you want to place |
| css_pingdecals | Allows to place decals using Ping function |
| css_removedecal ID | Remove already placed decal using ID |
| css_tpdecal ID | Teleports to already existing decal using ID |
| css_showdecals | Prints info to console about all decals that are placed on map |
| css_printdecals | Prints a list of all decals that can be placed to console |
- CS2-SkyboxChanger by samyycX - For function to find id of cached material.
- Edgegamers JailBreak - For function to check if player is looking at his pretty feet.
