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

# Cars Spawn

Currently, the concept of **spawning cars** is much more diverse, as there are several different types of exploits for doing so. To block them all, follow these steps step by step.

## Detections&#x20;

**As already explained** [**here**](https://gabjeksuper.gitbook.io/fiveguard-configuration/config/configure-your-key/import-config) **do as follows**

* Open any AI model and **provide this prompt** with the `.txt` attached:\
  *I have a list of resources from my txAdmin server (below). Return only the folder names, one per line, preserving hyphens (-) and underscores (\_) exactly. Do not add authors, versions, or other information. Do not skip any lines.*

Put the list of resources AI has provided you here:

1. In **EntityDetection** category --**> `Objects A I Resource Whitelist`**
2. In **Basic** category --**> `Anti Spawn Props By Unauthorized Resources Mode2 Table`**

In the **Basic** category be sure to do that

1. **`Anti Spawn Props By Unauthorized Resources`** **enable**
2. **`Anti Spawn Props By Unauthorized Resources Mode`** put **`2`**

**The "Objects AI" will delete props/cars that are not spawned from whitelisted resources, while the "Anti Spawn Props"  will ban modders that spawn props/cars from non-whitelisted resources.**

**If you are facing some problems with them follow click** [**here**](https://gabjeksuper.gitbook.io/fiveguard-configuration/entity-detection/configure-entitydetection/props-disappearing-false-ban)**.**

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

## 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 and the custom detections to prevent hackers from spawning cars.&#x20;

You will see the anti car spawn on line 59.

* Line 59 put `true` *(already turned on by default)*
* Line 61 add all the coords of your server where the vehicles are generated with the native **"CreateVehicle"** *(like some dealerships)*

Your server is now protected from cars spawn. If you face some problems report them on our Discord.
