> 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/weapons-spawn.md).

# Weapons Spawn

## Detections&#x20;

Enable these types of detections

* **`Advanced Anti Give Weapon`** (category **Basic**)&#x20;
* **`Citizen Anti Give Weapon`** (category **Client**)&#x20;
* **`Anti Safe Spawn Weapon`** (category **Weapon**)
* **`Disable Pickup Collecting`** (cateogory **Pickups**)&#x20;
* **`Delete Weapon Pickup Collect`** (category **Pickups**)&#x20;
* **`Anti Stop Start Resources`** (category **Basic**)

***Be sure that they are all turned on. If you have any problem use the*** [***addon's***](https://gabjeksuper.gitbook.io/fiveguard-configuration/addon/package-addon) ***"Temp Permission System"***

## Framework

Enable that specific one to your framework

* ESX **`Anti Give Weapon E S X`**&#x20;
* QBCore **`Anti Give Weapon Q B Core`**
* QBox **`Anti Give Weapon Q Box`**&#x20;

***Be sure to choose your Framework and enable it and the related setting***

## 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 spawn weapons***

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

## Inventory Resources

Update your inventory resource to the latest available version. For example, ox\_inventory updated its inventory to work around this issue. This is obviously not enough, and you need to properly configure your Fiveguard to address other related issues.

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