Install Albion Guard
What it protects
Section titled “What it protects”| Traffic | What Albion Guard does |
|---|---|
Server list pages (info.json, dynamic.json, players.json) |
Answers from a short cache, so a flood never reaches FXServer. Only FiveM and the server list may ask. |
players.json |
Removes player identifiers and IP addresses by default. |
| Joining | Passes through with the player’s real address. |
| Resource downloads | Limits how fast one address can download. |
| Anything else | Refused. Scanners that keep trying get blocked. |
-
Unzip
albion-guard-<version>.zipon the server and runsudo sh install.sh. -
Replace your
endpoint_add_tcpandendpoint_add_udplines inserver.cfgwith the lines it prints:endpoint_add_tcp "127.0.0.1:30120"endpoint_add_udp "0.0.0.0:30120"set sv_proxyIPRanges "127.0.0.1/32" -
Restart FXServer, then run
sudo systemctl enable --now albion-guard. -
Check it:
sudo albion-guard check -config /etc/albion-guard/albion-guard.json.
Windows
Section titled “Windows”- Unzip, open PowerShell as Administrator in that folder and run
powershell -ExecutionPolicy Bypass -File install.ps1. - Put the same three lines into
server.cfg. - Restart FXServer, then run
& 'C:\Program Files\Albion Guard\albion-guard.exe' service start.
Player addresses
Section titled “Player addresses”Bans, txAdmin and your scripts still see real player addresses. Guard keeps addresses in memory only, never on disk, and never sends them to Albion. Staff only ever see the network part of an address.
Status websites
Section titled “Status websites”A status widget that loads players.json straight from a browser is refused. Add its server’s address to trustedRanges, or set userAgents.mode to off.
Put your old endpoint lines back (usually both on 0.0.0.0:30120), stop Albion Guard and restart FXServer. When Server Manager runs Guard, it does this for you if Guard stops working.