> For the complete documentation index, see [llms.txt](https://gabjeksuper.gitbook.io/fiveguard-configuration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gabjeksuper.gitbook.io/fiveguard-configuration/block-expolits/block-server-exploits/anti-music-and-video-all.md).

# Anti Music And Video All

## Detections&#x20;

Enable this type of detection

* **`Blacklisted Strings In Names`** (cateogory **Basic**)&#x20;
* **`Blacklisted Strings In Names List`** (cateogory **Basic**) \
  *Join the **Arabic Discord** and go to the `xss-css-injections` category, copy the list, and paste it here. We can also provide it if you open a ticket on Fiveguard Main.*&#x20;
* **`Anti Stop Start Resources`** (category **Basic**)
* **`Disable Sound Event Routing`** (cateogory **Basic**)&#x20;
* **`Anti Nui Devtools`** (cateogory **Client**)&#x20;
* Open your `server.cfg` and enter this string `sv_enableNetworkedScriptEntityStates false`

***Be sure that they are all turned on. If you have my config share you already have all this enabled and set by default except the line in server.cfg.***

## Events

Go in the **Events category** and do that

* **`Blacklisted String Event`** enable&#x20;
* **`Blacklisted Triggers`** enable&#x20;
* **`Events Rate Limiter`** enable

***It is used to prevent blacklisted triggers/avoid to spam them. See more*** [***here***](https://gabjeksuper.gitbook.io/fiveguard-configuration/events-safeevents/configure-events/rate-limiter-false-kick)

## SafeEvents

Go in the **SafeEvents category** and do that

* **`Safe Events`** enable&#x20;
* **`Extended Security`** enable&#x20;
* **`Extended Security Mode`** put it on **`strict`**

***It is used to prevent them from using the triggers to generate money/opening inventories***

## Basic

Go in the **Basic  category and do that**

* **`Keep Alive System`** enable&#x20;
* **`Keep Alive System Mode`** put **`2`**&#x20;
* **`Keep Alive Timeout`** put **`60000`** (It's in ms, so it's 1 minute. Set a higher value if you get false kicks)

***It is used to prevent them from stopping the anticheat and bypassing it***

**Now you can save the configuration and close the browser**&#x20;

## Addon

Install the addon by following this [tutorial](https://gabjeksuper.gitbook.io/fiveguard-configuration/addon/package-addon) to improve the protection of your server and use the anti fiveguard resource stopper.

Replace the **MyDJ** script with the one fixed by Fiveguard, you can find it in the `fixed-scripts` category on the Fiveguard Main Discord *(accessible only if you have the customer role)*

## Finish Setup

Now you can restart the server and do that&#x20;

* Run this command in your txAdmin console `fg safe-events install`&#x20;
* Restart again the server

Your server is now protected from playing music and video all.
