๐ค Commands
verifyall
Run this from your server console or txAdmin after installing FCS, and again whenever you add a new resource:
verifyallIt writes the FCS shield into the top of every other resource's fxmanifest.lua:
server_script '@FCS/inject/shield.lua'
client_script '@FCS/inject/shield.lua'The lines go above fx_version, ahead of the resource's own scripts. That
ordering is the point: the shield wraps the event and native surface inside that
resource's Lua state, and a wrapper only helps if it is installed before the code
it is meant to watch runs.
Why it matters: every FiveM resource gets its own isolated Lua state, so FCS's
own detections can only see FCS's state. A menu injected into ox_lib, monitor
or your framework resource โ which is what the current generation of menus does โ
is invisible without the shield living inside those resources.
verifyall is safe to re-run:
- resources that already have both lines are skipped,
- each manifest is backed up to
fxmanifest.lua.fcsbakbefore its first edit, and an existing backup is never overwritten, - FCS itself, cfx internals, stream-only resources and anything in Settings โธ System โธ Ignored Scripts are left alone.
Restart the server afterwards so the new manifest lines take effect.
You can also run it from the web panel (it is the run_installer action, owner
only) instead of opening the console. In-game it requires the fcs.admin ACE or
the panel's configuration permission.
Other commands
fcs uninstall
fcs ban <serverId> <optional:reason>
fcs unban <banId> <optional:reason>
fcs unban all
fcs reload (reload the anti-cheat configuration without restarting the server)
fcs clear <peds/vehicles/objects/all>You can change the command prefix in the configuration panel, under the settings
tab. verifyall keeps its name regardless of the prefix, so it is the same
command on every server.
Last updated