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

Resource name

Name the folder whatever you like — nothing saying "blackshield" is visible to players.

The resource can have any name. Events, the guard line in your other resources and the web panel all use the folder name, and fxmanifest.lua doesn't say it's an anticheat. A mod menu looking for "blackshield" in the resource list won't find it.

#Renaming

With the server stopped:

  1. Rename the folder, for example from blackshield to core.
  2. In server.cfg, replace ensure blackshield with ensure core.
  3. Run the guard installer again from inside the renamed folder (core/tools/instalar-guard.bat on Windows, sh core/tools/instalar-guard.sh on Linux) and choose 1) Install.

The installer reads the name of the folder it is in and swaps the old line for the new one in every resource:

fxmanifest.lua (in each resource)
shared_script '@core/lib/shared.lua' -- core lib

Start the server and check with acguard status that no resource was left without the guard.

Warning

If you rename the folder and don't run the installer, your other resources point to a folder that no longer exists: they show errors in the console and stay unprotected.

#What stays the same

  • Permissions: the ACEs are still blackshield, blackshield.view, blackshield.ban, … (players never see them).
  • Database: the bs_* tables, bans and configuration stay as they were.
  • License: the same key, in the same server_config.lua.

#What changes

  • Web panel: moves to http://server-IP:30120/<name>/.
  • Exports: call them by the new name:
server.lua
exports['core']:AllowTeleport(src, 5000)

Or, to keep the name out of your scripts, use the sv_libres convar (the anticheat sets it to its own name on startup):

server.lua
local ac = GetConvar('sv_libres', 'blackshield')
exports[ac]:AllowTeleport(src, 5000)

Tip

DRS scripts (Admin, Advanced Ambulance) already use sv_libres: they work with any name.

Need help?

Something unclear? Open a ticket.

New ticket