LAUNCH OFFER Monthly plan at €29.99/month — rises to €39.99 at Christmas See pricing →
01Documentation

Installation

From download to a protected server in 5 minutes.

#Before you start

  • FiveM server with OneSync on (set onesync on).
  • oxmysql running (the only dependency; BlackShield creates its tables by itself).
  • QBCore, Qbox, ESX or standalone — BlackShield detects the framework and inventory on its own.
  • Your license key (in the dashboard, format BS-XXXX-XXXX-XXXX-XXXX).

#1. Download

The resource is delivered by Cfx.re: log in to portal.cfx.re with the same Cfx.re account you paid with and download blackshield from Granted Assets.

#2. Add it to the server

Put the blackshield folder inside resources (a subfolder like [security] is fine).

Tip

You can rename the folder (for example core) so menus can't find it by name. See Resource name.

#3. License key

Open blackshield/server_config.lua and paste your key:

server_config.lua
ServerConfig.LicenseKey = 'BS-XXXX-XXXX-XXXX-XXXX'

Note

The license is locked to the first server that uses it (IP). To move it, use Change server in the dashboard (once a day). With no key in server_config.lua, or a key that doesn't exist or was revoked, the resource won't start: it prints an error in the console and stops itself. With an expired license or on another IP it starts, but detections stay paused until you renew; if the site doesn't answer, BlackShield keeps working for up to 72 h on the last confirmation.

#4. server.cfg

Start BlackShield right after oxmysql, before your scripts (so it sees every resource starting):

server.cfg
ensure oxmysql
ensure blackshield

# staff access (framework admin groups also get in)
add_ace group.admin blackshield allow

Also add the recommended convars — BlackShield warns in the console if any is missing.

#5. First start

Restart the server. The console shows a box with:

text
BlackShield v1.x
License validated

followed by the missing convars and the backdoor scanner report (suspicious code in your resources).

Tip

First week: turn on Dev Mode (acdev on in the console, or panel → Configuration → General). Nobody is punished: staff get a warning with what would have happened, and you tune the punishments to your server. Then acdev off. See Configuration.

#6. Open the panel

  • In game: /ac command.
  • In the browser: http://server-IP:30120/blackshield/ (your server's port). The exact address is shown in the panel under Admins → Web panel accounts. The first time, create the root account with the code printed in the console.

#7. Test

With an account without staff permissions (or with /actestme, which treats you as a normal player), play for a few minutes and check panel → Logs that normal actions on your server (garages, jobs, script teleports) don't trigger detections.

#Optional

  • screenshot-basic — screenshots before each ban, evidence clips and screenshots from the panel.
  • Safe Events — extra protection for the events of all your resources (adds one line to each fxmanifest.lua). See Safe Events.
  • BlackShield Client (Master plan) — only players with the Windows program open and clean can join. See BlackShield Client.
  • Discord — log and ban webhooks. See Configuration.
Need help?

Something unclear? Open a ticket.

New ticket