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