> 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-kill-all-players.md).

# Anti Kill All Players

## Detections&#x20;

Enable these types of detections

* **`Anti Player Kill`** (cateogory **Basic**)&#x20;
* **`Anti Aggressive Peds`** (cateogory **Entity Detection**) \
  *(be careful, this will give false bans with pet/K9 unit scripts )*
* **`Anti Ped With Blacklisted Weapon`** (category **Peds**)
* **`Blacklisted Weapons For Peds`** Here I recommend you add **all the weapons in the game** \
  *(be careful, this will make almost all the peds disappear)*

***Be sure that they are all turned on and in the "Peds" category turn off the last three detections***

## 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.

## 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 killing all your players.
