> For the complete documentation index, see [llms.txt](https://docs.fiveguard.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fiveguard.net/safe-events/auto-safe-events.md).

# 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="/files/HqPF4DCAWo13SBTHyTAT" alt=""><figcaption></figcaption></figure>

Go to config and enable Safe Events

<figure><img src="/files/4as5wSawSLRinGEHGfzH" alt=""><figcaption></figcaption></figure>

Restart server and try it out!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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