VECTRA AC Docs

Everything you need for your server, from installation to the first ban. Every step is explained, and the figures show how the parts work together.

01

How VECTRA works

VECTRA AC has two parts: the resource on your FiveM server and the panel on vectra-ac.com. The resource measures and decides, the panel is your control center.

Players, game server, panel and Discord, and what flows between them Players Game with the VECTRA sensors position, weapons, … Your FiveM server resources/vectra-ac checks every report, gives points and kicks or bans keeps running without the panel Panel vectra-ac.com Settings, bans, review, live view Discord Webhooks for bans, kicks and detections readings detections signed config messages
The path of a detection: The game reports readings to your server. There VECTRA checks them, gives points and acts. The panel receives every detection and sends config changes back, signed. If the panel is down, the server keeps protecting with the last valid config.

Three things you should know

  • The server decides, not the player. Movement, spawns and damage are checked where a cheat cannot fake them: on your server.
  • Watch first, then punish. New servers start in shadow mode. Nobody is kicked until you switch (see Shadow & enforce).
  • Settings apply right away. What you publish in the panel is active on the server without a restart.
02

Installation

You need a FiveM server with OneSync and a current server artifact. The framework does not matter: ESX, QBCore, Qbox or standalone.

Four steps from the license to a protected server 1 Get a license code by email 2 Redeem the code in the panel 3 Folder + server.cfg onto your server 4 Start the server panel shows "Online"
  1. Get a license

    Buy a plan on the home page and sign in with Discord. The license code (e.g. 7KQ2-M9XD-PR4T-H3WA) is sent to the email of your Discord account. Check your spam folder too.

  2. Redeem the code in the panel

    Open the panel, click Add server and enter the code. The panel then shows you the finished block for the server.cfg once. Copy it right away, you will find it again later under Server Management.

  3. Put the resource on your server

    Download the resource in Server Management (button "Download vX"), unzip it and put the vectra-ac folder into your resources folder. The folder must have exactly this name.

  4. Add to server.cfg and start

    Paste the block from the panel into your server.cfg and restart the server. The console shows the VECTRA banner with your license, and the panel shows your server as Online.

Where the folder goes and what belongs in the server.cfg Your server txData/…/ server.cfg resources/ [esx]/ vectra-ac/ fxmanifest.lua client/ server/ … folder name exactly "vectra-ac" server.cfg # VECTRA AC set vectra_api "https://vectra-ac.com" set vectra_license "VAC-…" set vectra_secret "…" set vectra_panel_pubkey "…" set onesync on ensure vectra-ac ideally after your framework starts
Left: The vectra-ac folder sits in the resources folder. Right: The block from the panel in the server.cfg. ensure vectra-ac starts the resource, the four set lines connect it to your license.
server.cfg
# VECTRA AC  (your real values are in the panel under Server Management)
set vectra_api "https://vectra-ac.com"
set vectra_license "VAC-XXXXX-XXXXX-XXXXX-XXXXX"
set vectra_secret "…"
set vectra_panel_pubkey "…"
set onesync on
ensure vectra-ac

Keep vectra_secret secret. Anyone who knows it can pretend to be your server. If it has ever become public, create new values under Server Management → New credentials and put them in.

How you can tell everything is running

  • The server console shows the big VECTRA banner with License, Framework and Mode.
  • In the panel, the dot next to your server in the left bar is green and the player count is shown next to it.
  • Your server's dashboard no longer shows "Not connected yet".
03

The panel

All your servers are listed on the left. One click opens a server, and its pages unfold below it. On the right you see the open page.

Layout of the panel with numbered areas VECTRA Servers My RP server42 Test server Dashboard Monitoring · Players Detections Settings · Bypass Review · Bans · Logs Team · Server Management All servers · Presets Owner Panel Test server Shadow mode: VECTRA only watches Players online42 Detections73 Bans 24 h5 Live feed Sven · Lua injection · score 97Kick Emre · Godmode · score 37Warning Sara · Silent explosionShadow 1 Yourservers 2 Pages of theopen server 3 Notices &live feed
1 All your servers with their status (green = online) and player count. 2 The pages of the open server. 3 Important notices such as shadow mode are at the top, below them numbers and the live feed of all detections.
PageWhat for
DashboardNumbers of the last 24 hours, live feed and notices, for example when a new version is out.
Monitoring · PlayersAll players live, watch their screen, screenshots, player details with their score.
Live ConsoleThe server console in your browser.
DetectionsTurn every detection on and off, set limits and actions.
SettingsLanguage, mode, fairness, playtime protection, webhooks and more.
BypassWho from your team is not checked.
Review · Bans · Logs · HistoryCheck cases, manage bans, server logs and every change to the config.
Team · Server ManagementTeam members with rights, resource download, credentials.

Publishing changes

What you change under Detections and Settings is a draft first. Only Publish sends the new config, signed, to your server, where it is active right away. If a change lowers your protection (for example a module turned off), the panel asks first. Every version is listed in the History and can be restored there.

04

Shadow & enforce

The global mode decides whether VECTRA only watches or really acts. You find it under Settings → Main Protection → Global Mode.

What happens to a detection in shadow mode and in enforce mode Detection e.g. godmode Shadow "would kick" Review you decide Enforce points → action Warn · kick · ban happens right away
Shadow: Nobody is punished. Every case lands in the review list as "would warn / kick / ban". Enforce: VECTRA really carries out the action.

Our recommendation

  1. Run in shadow mode for a few days

    That way you see what is normal on your server, for example jobs, garages and your own scripts.

  2. Go through the review list

    Mark cases that are not cheaters as false positives. Set the detection concerned less strictly or give it the action "Review".

  3. Switch to enforce

    Once hardly any false positives come in. You can still keep single modules in shadow mode (Settings → Main Protection → Protection Modules).

05

Points & fairness

So that a single false positive never bans anyone, VECTRA collects points. Every detection gives a player points, and the points go down again over time. Only a player with enough points is warned, kicked or banned.

Point scale with the thresholds for warning, kick and ban 0 30Warning 60Kick 100Ban Player: 45 points warned, not kicked yet −5 points per minute
Defaults: From 30 points a player is warned, from 60 kicked, from 100 banned. Points drop by 5 per minute. You set all values under Settings → Fairness.

What else protects honest players

ProtectionWhat it doesDefault
Multi-signal ruleA ban by points needs several different kinds of detections. A single false positive can never ban this way.3
Lag limitAbove this ping, soft detections do not count.350 ms
Spawn protectionRight after spawning or a teleport, soft detections do not count.5 s
Playtime protectionFor chosen detections, a ban of a new player is only logged as a warning.off

Soft and hard: Most detections are soft and give points. Hard detections only happen with a cheat, such as a forbidden event (honeypot) or an injected menu. They trigger their action directly.

If you turn the fairness system off under Settings → Fairness, every detection triggers the action of its detection right away, without points and without the lag filter. The spawn and teleport protection stays active anyway.

06

Detections

Under Detections all detections are sorted by area. You can turn each one on and off, adjust its limits and give it its own action. The info icon tells you exactly how the detection measures.

AreaWhat is detected there
EntitiesSpawned vehicles, peds and objects: limits, forbidden models, cages, crash spam, particles, fire.
CombatWeapons and explosions: give weapon, forbidden weapons, ammo, aimbot, silent aim, explosion spam.
PlayerGodmode, noclip, teleport, super jump, invisible, freecam, spectate and other classic cheats.
Injection & networkTrigger abuse (honeypot events), stopped resources, lag switch, state bags.
Menu detectionExecutors such as Eulen and redENGINE, screen OCR for open menus, NUI DevTools.
OthersNames and chat (word filter, XSS), VPN and country filter, money exploits.

Your own scripts: If a job or garage script spawns a vehicle that is on a list, or teleports players, remove the vehicle from the list or use the exports for teleports. That way you avoid false positives.

07

Actions

Every detection can get its own action. Without its own action the default action under Settings → Main Protection applies. If it is set to Automatic (Fairness), the points decide.

ActionWhat happens
Log onlyShows up in the logs and the live feed, nothing else.
ReviewLands in the review list, you decide yourself.
WarnIs logged and sent to the detection webhook.
KickThe player is removed from the server with the kick message.
BanThe player is banned with a ban ID, with a proof video if you want.
08

Bypass for your team

Admins use noclip, teleport and spawn menus. So that they are not flagged, you set under Bypass who is not checked. There are two ways:

The two bypass methods: txAdmin and ACE groups txAdmin Everyone logged in to txAdmin as an admin bypasses everything. txAdmin login in game fullyexempt ACE groups Single areas per group, e.g. only entities and player. group.admin ESX / Qbox ✓ Entities✓ Player✗ Weapons
txAdmin is the simplest choice. With ACE groups you decide more precisely what is exempt. The area "No kicks or bans" keeps detecting and logs everything, but does not kick or ban.

The group names depend on the framework: ESX and Qbox use group.admin, QBCore uses qbcore.admin. Without the panel, the same works directly in the server.cfg:

server.cfg
# bypass everything for the group admin
add_ace group.admin vectra.bypass.all allow
09

Review

The Review list collects all cases from shadow mode and all detections with the action "Review". For every case you see the player, the detections and the score. You confirm it or mark it as a false positive, and you can kick or ban the player right there. The number next to "Review" in the left bar shows how many cases are still open.

10

Bans & proof video

What happens on a ban Ban VAC-1A2B3C4D Ban card in game with ban ID Video of the last seconds Hardware ban (anti spoofer) Panel → Bans + Discord webhook unban with one click
Every ban gets a ban ID that the player sees on every connection attempt. With it they can contact your support.
  • Proof video: The player's game keeps the last seconds as a video (default 5 s). On a ban it is uploaded, shown under Bans and attached to the ban webhook. You can set it under Settings → Main Protection.
  • Hardware ban: A ban also applies to the player's hardware features. A new account on the same PC stays banned.
  • Unban: Open the entry under Bans and unban. The player can join again right away.
  • From your own scripts: Admin menus and report systems ban and unban with two exports, see Banning from scripts.
  • Your own texts: You set the ban and kick message under Settings → Main Protection. {ban_id} is replaced with the ban ID. Leaving it empty means: the built-in text in your language.
11

Discord webhooks

Under Settings → Webhooks you enter a separate webhook URL for each kind of message. An empty field turns that message off. The URLs are stored encrypted and never included in presets or exports.

  1. Create a webhook in Discord

    Channel settings → Integrations → Webhooks → New Webhook → Copy URL.

  2. Paste it in the panel

    Paste the URL into the matching field and save. It goes to your server right away.

WebhookContent
MainAnticheat started, config from the panel applied, license problems.
BansEvery ban with player, reason, points, ban ID and proof video.
UnbansEvery unban with player, ban ID and who unbanned.
KicksEvery kick with player, reason and points.
Detections & reviewWarnings and shadow cases. On busy servers that can be a lot.
Join & leaveEvery join and leave with name, Discord, FiveM and license. The IP only when IP logging is on.
12

Team & rights

Under Team you add members by their Discord ID and give them exactly the rights they need. They sign in with Discord and only see your server. Credentials, deleting the server and the team itself stay with you.

RightAllows
MonitoringWatch players live and see saved screenshots.
ScreenshotsTake and delete screenshots.
Live ConsoleRead the server console.
ReviewJudge cases from shadow mode.
Kick & banKick, ban and unban players.
Detections & settingsChange and publish the config.
Server ManagementName and Discord link of the server.

All members see the dashboard, review list, bans and logs. To get started there are the templates Supporter and Moderator.

Finding a Discord ID: In Discord turn on developer mode under Settings → Advanced, then right-click the person → "Copy User ID".

13

Language

There are two language settings. You find both under Settings, tab Settings, at the very top:

  • Panel language: the language of the panel in your browser. It only applies to you, every team member picks their own. You also find it in the menu at the bottom left and on the sign-in page.
  • Server language: everything players and your Discord get from VECTRA: ban card, kick screen, join refusals and webhooks. It goes to your server with the next publish. Your own ban and kick texts stay as you wrote them.

You can choose English, German, Turkish, Russian, French, Spanish, Portuguese, Polish, Italian and Dutch. These docs are available in the same languages, switchable at the top right.

14

Updates

When there is a new version, your dashboard shows "Update to vX" next to the VECTRA AC version. This is how you update:

  1. Download the new version

    On the dashboard or in Server Management. You always get the newest version.

  2. Replace the folder

    Replace the old vectra-ac folder completely with the new one. Your bans, the config and the license are not lost.

  3. Restart the server or the resource

    Afterwards the banner in the console shows the new version number.

Always replace the whole folder and do not edit single files. The next section explains why.

Automatic updates

From VECTRA AC 0.1.44 on, your server updates itself; this is on by default. Update to 0.1.44 once by hand as described above, after that you no longer have to. To turn it off: Settings → Updates → Update automatically, then publish.

  • When: about 2 minutes after the start and then every 6 hours your server asks vectra-ac.com for a newer version. In the console, vectra update checks right away.
  • Safe: the list of files is signed with the same key as your config. VECTRA checks the signature, the version and every single file before it writes anything, never installs an older version and puts everything back if a file cannot be written.
  • Your data stays: the config, bans, the license and deepscan.cfg are never replaced.
  • Active after the restart: the new files are in place right away, the new version runs after your next server restart. Until then the old version keeps running and the file check is not affected.

Write access: VECTRA writes only into its own vectra-ac folder. If your host makes the resource folder read-only, the console shows "cannot write" and you update by hand as before.

15

Do not change files

On start, VECTRA checks whether its files exactly match the published version. If something was changed, for example a line in the fxmanifest.lua, the license is blocked automatically.

File check: unchanged keeps running, changed leads to a block Server starts files are checked unchanged everything runs normally changed license is blocked Ticket on Discord we look into it
Unchanged files run normally. With changed files the license is blocked. The server console and your dashboard then tell you why, and that you should open a ticket.
  • You only change settings in the panel. There is nothing to set in the files.
  • Different line endings, for example from an FTP upload, do not count as a change.
  • If your license was blocked and you did not change anything, open a ticket on our Discord.
16

For developers

With these exports you tell VECTRA from your own scripts what is allowed, or you ask for a player's state.

Announce a teleport (server)

Before a teleport from a script, such as an elevator, an apartment or an admin teleport, give the player a short grace period. Then the teleport does not count as a cheat.

server.lua
-- 5 seconds of grace, then teleport
exports['vectra-ac']:AllowTeleport(source, 5000)
SetEntityCoords(GetPlayerPed(source), x, y, z)

Check a player (server)

server.lua
-- true once the player has reached the warning threshold
local flagged = exports['vectra-ac']:IsPlayerFlagged(source)
-- current score
local score = exports['vectra-ac']:GetPlayerScore(source)

Report money changes (server)

Reports that a player just received money or items. VECTRA checks the amount against the limits under Others → Money exploits.

server.lua
exports['vectra-ac']:EconomyTrack(source, 'cash', 500)

Change appearance (client)

For clothing scripts with their own code. The resource has to be allowed in the panel under Entities → Ped Changer.

client.lua
exports['vectra-ac']:AllowAppearanceChange()
17

Banning from scripts

From version 0.1.34 on, your own scripts can ban and unban players through VECTRA, for example an admin menu, a report system or a Discord bot. A ban by export works exactly like a ban by VECTRA itself.

Ban a player (server)

server.lua
-- ban permanently
local banId = exports['vectra-ac']:BanPlayer(source, 'Cheating, reported by an admin')

-- ban for 7 days (duration in seconds)
local banId = exports['vectra-ac']:BanPlayer(source, 'Insulting the support', 7 * 24 * 60 * 60)

if banId then
    print('banned: ' .. banId)
end
ParameterMeaning
sourceThe player's server ID. The player has to be online.
reasonThe reason. It shows in the panel under Bans and in the ban webhook. Leaving it empty means: the name of your script.
durationSecondsDuration in seconds. Leaving it out or 0 means permanent.

You get back the ban ID, for example VAC-1A2B3C4D, or nil if the player is not online.

What happens then

  • Like a VECTRA ban: The player is disconnected, sees the ban card with the ban ID on every connection attempt and cannot join your server until the ban ends, not even with a new account on the same PC.
  • Proof video and webhook: If the proof video is on, it is uploaded and sent with the ban to your ban webhook.
  • In the panel: The ban is listed under Bans with your reason and the source Script. You can also lift it there.

Unban a player (server)

server.lua
-- true if the ban existed and was lifted
local ok = exports['vectra-ac']:UnbanPlayer('VAC-1A2B3C4D')

The player can join again right away. In the panel the ban is no longer active afterwards, and the unban webhook reports which script lifted it.

Only call them on the server. Both exports only exist server side. Check in your own script who may ban, for example with an ACE permission, before you call them.

18

Deep scan

From version 0.1.36 on, VECTRA can also look inside your other resources. Executors such as Macho, Susano or redENGINE run their menu inside one of your resources, where the anti-cheat normally cannot see. The deep scan is optional: it stays off until you install it and switch it on.

Install

  1. Install

    In the panel under Detections → Menu Detection → Deep scan click Install, or type vectra install in the server console. VECTRA adds one line to the fxmanifest.lua of every resource with client Lua.

  2. Restart the server

    The new line only takes effect after a restart. The panel shows how many resources already run with it.

  3. Switch it on

    Turn on Deep scan (inside your resources) in the same place and publish the config. It starts with Review: check the cases for a few days before you pick Kick or Ban.

FiveM may ask for your permission first. Newer FiveM servers only let a resource change other resources when you allow it. If so, Install shows you a block of add_filesystem_permission lines. Paste them into your server.cfg, restart the server and click Install again. The lines are only needed while installing or removing.

  • Left out: Escrowed resources (their files are protected), txAdmin and the system resources.
  • Your scripts keep working: The line only loads a small VECTRA file. Your own scripts, ox_lib, ESX, QBCore and obfuscated scripts are not affected.
  • File check: Only the manifests of your other resources change. The files of VECTRA itself stay as they are, so the file check is not affected.
  • Rights: In the panel only the server owner and team members with the "Server Management" right can install or remove it.
  • Console: vectra install, vectra uninstall and vectra status (how many resources have it). The older commands starting with vectra probe still work.
  • Fair to your players: FiveM's own game functions are never reported, and one player gets at most 10 deep scan cases per visit. The deep scan sends its reports slowly, so it can never kick anyone for too many packets.

Automatic mode (optional)

From version 0.1.41 on you can add one single line to your server.cfg instead of one line per resource: exec @vectra-ac/deepscan.cfg. VECTRA keeps the file deepscan.cfg in its own folder up to date with the permissions for all your resources, and on every start it adds the deep scan to new scripts by itself. A new script is covered after one or two restarts, without anything to do by hand.

Security note: Your server runs this file with full console rights when it starts. VECTRA only writes permission lines for its own deep scan into it, but anyone who can change the files of VECTRA on your server could also put other commands there. Only use the automatic mode if you control who has access to your server files. Without the line, this does not apply.

With the automatic mode, Remove also switches it off, so the deep scan does not come back on the next start. To delete VECTRA completely: click Remove, restart the server, then delete the line from your server.cfg and the vectra-ac folder.

Remove

Click Remove in the panel or type vectra uninstall in the server console, then restart the server. Every line VECTRA added is taken out again, nothing else changes.

Remove it before you delete VECTRA. If you delete the vectra-ac folder while the deep scan is installed, your other resources miss the file and do not start. Run vectra uninstall first, restart, then delete the folder.

19

Troubleshooting

If the license is not active, the server console prints a code and a hint on start. Here is what it means.

MessageMeaning and fix
BAD_SIGNATUREvectra_license or vectra_secret do not match. Copy the current block from Server Management into the server.cfg again.
LICENSE_BOUND_ELSEWHEREThe license is locked to the IP address of another server. Moved? Reset the IP lock in Server Management (twice a day, after that open a ticket on our Discord). The server then activates within 5 minutes.
CLOCK_SKEWThe server clock is off by more than 2 minutes. Turn on automatic time synchronization.
LICENSE_UNCLAIMEDThe code has not been redeemed yet. Redeem it in the panel under "Add server".
LICENSE_EXPIREDThe runtime is over. Extend it in the panel.
LICENSE_SUSPENDED / LICENSE_REVOKEDThe license is blocked, for example because of changed files. Open a ticket on Discord.
panel credentials missingOne of the set vectra_… lines is missing from the server.cfg or comes after ensure vectra-ac.

Frequent questions

Server stays "Offline"Is the block in the server.cfg before ensure vectra-ac? Is the server allowed to connect to vectra-ac.com (firewall)? What does the console say on start?
Honest player flaggedMark the case in the review list as a false positive, set the detection less strictly or give it the action "Review". Set up a bypass for admins.
What happens if the panel goes down?The server keeps working with the last valid config. Full detection runs for up to 72 hours (adjustable), but never past the end of the license.
Config does not applyDid you click Publish? The dashboard shows "Revision … pending" until the server has taken it over.

More questions? We help you on our Discord. You find a public demo panel to try out at vectra-ac.com/demo.