Getting protected
Three things to set up: your community on the website, the Discord bot, and the FiveM resource itself. In that order - each step uses something the one before it created.
The website
- Get a signup licence key from whoever runs your Height Guard deployment (a platform administrator issues these).
- Go to /signup, redeem the key, and create your community. This makes you its owner - the only role that can change tenant settings, manage staff, and wipe data.
- Sign in from then on with Continue with Discord. There is no password: whoever holds the Discord account that created the community, or anyone given the
owner/admin/moderatorrole from inside the panel, can sign in. - From
Settings, add each of your FiveM servers. Adding a server is what makes an ingest token available for step 3.
Discord
- Invite the Height Guard bot to your Discord server from your platform administrator's invite link (it needs permission to read guild roles, post messages, and create threads in whichever channel you route alerts to).
- In the panel, go to
Settings → Discordand generate a setup code. It is single-use and expires in 15 minutes. - In your Discord server, run
/setup <code> <channel>- the channel you pick is where detections get posted. - Each staff member links their own Discord account from
Staffso bot actions are attributed to them, not to "the bot". - Optional: map Discord roles to staff permissions from
Settingsso your existing Discord roles decide who can moderate, instead of adding people one at a time.
The FiveM server
- Download the resource below and unzip it into your server's
resources/folder. - In the panel, open the server you added in step 1 and issue it an ingest token. Copy it now - it is shown once.
- Add to your
server.cfg:set corevia_api_url "https://heightguard.net" set corevia_token "cvia_i_..." # the token from step 2, treat it as a secret # keep the anti-cheat resource current (checks every five minutes) set corevia_auto_update 1 set corevia_auto_update_interval_seconds 300 # lets the resource restart itself after installing an automatic update add_ace resource.corevia_ac command.restart allow add_ace resource.corevia_ac command.start allow add_ace resource.corevia_ac command.stop allow ensure corevia_ac
The two
setlines enable automatic updates and set the polling interval in seconds. The threeadd_acelines let an installed update take effect: the resource downloads and verifies each new release itself, then restarts only itself. All three are needed - FXServer'srestartrunsstopandstartunder the resource's own permissions. Without them the update is refused and the resource keeps running its current version. To opt out of automatic updates, change the first setting toset corevia_auto_update 0. - Restart the resource (or the server). The panel's
Settingspage shows the server going from "never connected" to "online" once it successfully checks in.
Download
Loading the current build…
Something not working?
Check that the resource shows as loaded in your server console (ensure corevia_ac logs an error immediately if the token or API URL is wrong), and that the bot is still a member of your Discord server with permission to post in the alert channel. The status page shows whether our side is healthy.