# Auto Safe Events

#### Auto Safe Events

{% hint style="warning" %}
Auto Safe Events can cause false bans for some resources so please install them on test server and test all events
{% endhint %}

{% hint style="info" %}
Also if there is any other event protection or something that overrides TriggerServerEvent function or TriggerLatentServerEvent function it can lead to false bans as well
{% endhint %}

{% hint style="info" %}
Server Event sent by Safe Events System has token on last argument, if your resource gets all arguments in event it will receive token also example: event Data \[1000, "teststring", false, nil, nil], Safe Events event Data \[1000, "teststring", false, nil, nil,  securityToken\<number>]
{% endhint %}

#### Use Command <mark style="color:blue;">fg safe-events</mark> <mark style="color:blue;">install</mark> in fx server console

<figure><img src="https://1649115191-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTOTvlP3omRIBCnFxYfkV%2Fuploads%2FPWkkg7XigtdcsdyMTrFw%2Fobraz_2022-08-28_004223429.png?alt=media&#x26;token=18f98b1c-ec36-47bd-beb6-803b1bf46b61" alt=""><figcaption></figcaption></figure>

Go to config and enable Safe Events

<figure><img src="https://1649115191-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTOTvlP3omRIBCnFxYfkV%2Fuploads%2FqvWxb6uJl5as1wN8zVE4%2Fobraz_2022-08-28_004301191.png?alt=media&#x26;token=f07354b0-d907-48c8-9ca9-dab853a71b1c" alt=""><figcaption></figcaption></figure>

Restart server and try it out!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fiveguard.net/safe-events/auto-safe-events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
