> 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/common-errors/errors.md).

# Errors

Common errors:

#### `[fiveguard] Error: y7aeBP`

* Install the latest artifacts and reinstall the anticheat (back up the **bans.json** file or you will lose all your bans).
* **Remember to remove any other anticheat folders or Fiveguard won’t start. On some anticheats it is possible to whitelist Fiveguard so that it does not modify Fiveguard files.**

#### `[fiveguard] Error: could not establish connection (1), error: 0` `[fiveguard] Error: You need to whitelist *.fiveguard.net, auth.fiveguard.net, and api.fiveguard.net in your DDOS protection`

You need to open port 2096 TCP in your anti-DDoS system (discuss this with your host) and also on your local firewall.

* **Windows:** run CMD as administrator and paste:\
  `netsh advfirewall firewall add rule name="Port 2096 (TCP)" dir=in action=allow protocol=TCP localport=2096`
* **Linux:**
  * For UFW (Ubuntu, Debian): `sudo ufw allow 2096/tcp`
  * For Firewalld (CentOS, RHEL, Fedora): `sudo firewall-cmd --permanent --add-port=2096/tcp && sudo firewall-cmd --reload`
  * For iptables: `sudo iptables -A INPUT -p tcp --dport 2096 -j ACCEPT`

#### **The /fgm command is not working**

* First of all try to open it using `/fgmenu`, if **still doesn't work disable Windows Defender** on your VPS or **whitelist** the **Fiveguard resource**.

#### `[fiveguard-Admin-Panel] Unauthorized Access` **or the "Web Panel" is not showing up**

* To solve the problem you need to `open port 2096` *(as mentioned above)*, if **still doesn't work disable Windows Defender** on your VPS or **whitelist** the **Fiveguard resource**.

#### `Error: (0xE4) Report This To Fiveguard Team`

* The `fxmanifest` is modified (probably another anticheat is altering the fxmanifest of the resource, preventing it from starting correctly). To fix this, reinstall Fiveguard while saving the `bans.json` file and **whitelist** Fiveguard on the other anticheat so that it does not modify Fiveguard files.

#### `Error: (0xP1) Report This To Fiveguard Team`

* Make sure you have only one Fiveguard resource on your server (no duplicates) and ensure that the events executed by the anticheat are not being blocked by the server.

#### `[fiveguard] Error: 403 forbidden`

* Open a ticket on our Discord attaching your VPS IP so we can verify your IP.

#### `[fiveguard] Error: SyPz2c`

* Install **node.js** from this [**link**](https://nodejs.org/en/download/) on your VPS, then **disable Windows Defender** (or any other type of antivirus from your VPS) and **reinstall the Fiveguard folder** (remember to backup the `bans.json` file and put it back in the new folder **or you will lose all the bans**). Finally, **reinstall the artifacts** from the official website.

#### `[fiveguard] Error: 0OkOJV`

* Install the latest artifacts and reinstall the anticheat (back up the **bans.json** file or you will lose all your bans).

#### **"I see a black screen for about 10 seconds after loading the server (but before my character loads)"**

It is normal for the anticheat to have a "weight" on your server, if the "black screen" lasts for more than 5 seconds the problem could be linked to one of these settings

* Remove **safe-events** from resources linked to your multichar or basevents `fg safe-events uninstall ResourceName`
* Remove **objects-ai** from resources linked to your multichar or basevents `fg objects-ai uninstall ResourceName`
* Remove **scr-prot** from resources linked to your multichar or basevents `fg scr-prot uninstall ResourceName`
* For some servers the problem is related to **particles**, so open your **dashboard** and **completely remove the detections related to particles**, you can find them in the `particles` **category**

#### **"When i restart my server it keeps crashing"**

Due to the new version of obfuscation in **3.4.0 update and later**, some older builds of the anticheat may cause **server crashes** when starting.

1. Reinstall Fiveguard from your dashboard by clicking the **download** button next to your license.
2. Open the old resource and save the **bans.json** file, then paste it into the new resource.
3. Rename the new resource with the name of the old one and restart the server.

#### **“There is a cheater that ban all my players via Fiveguard also if he has not any permissions”**

You almost certainly have a backdoor in your scripts causing this. Check your leaked scripts/MLOs and then:

1. Remove any leaked scripts or MLOs.
2. Open every resource folder in Visual Studio Code and search for suspicious code:
3. Search for `const _ = Buffer.from` in all your resources (not all matches are malicious—be sure before deleting).
4. Search for `PerformHttpRequest`.
5. Search for `PerformHttpReques` (typo variant).
6. Inspect all `html` folders for JavaScript files that could grant hacker permissions.

#### **“**&#x49; lost all my old bans, how can I get them back?**”**

If your bans are still in your Discord server log, you can restore them using the [Fiveguard Bans Restore Bot](https://github.com/gabjeksuper/fiveguard-bans-restore).

Invite the bot to your Discord server logs by clicking [here](https://discord.com/oauth2/authorize?client_id=1508724912649408542) and follow the installation tutorial [here](https://github.com/gabjeksuper/fiveguard-bans-restore#how-to-use).
