Installation ​
Requirements ​
Use OneSync, oxmysql and the np_admin build that supports addon pages and page RPCs. The resource hard-depends on np_admin and oxmysql; an older staff panel without registerPage, registerPageRpc, sendPageMessage, setPageBadge, kick, screenshot and getStaffState will not provide the required host contract. See Addon pages.
ESX and np_inventory are the primary framework/inventory integrations. np_banking, np_net, np_discord and screenshot-basic are optional; screenshot capture requires screenshot-basic. Missing telemetry is reduced coverage, not evidence of cheating.
- Place the resource in your resources directory as
np_anticheat. - Import
sql/np_anticheat.sqlinto your oxmysql database. Boot also attempts idempotent table creation; inspect database errors and verify the tables exist. - Ship the built
web/distfiles. To rebuild from source, runbun installandbun run buildinweb/. - Review
shared/config.luaandshared/config/*.lua, particularly honeypot names and model/weapon limits. - Start your framework and data resources before the anticheat:
set onesync on
ensure oxmysql
ensure es_extended
ensure np_inventory
ensure np_banking
ensure np_net
ensure np_discord
ensure screenshot-basic
ensure np_admin
ensure np_anticheat
Omit optional resources you do not use. Use np_admin's existing owner/group setup, grant the appropriate anticheat.* nodes and go on staff duty. No ACE setup is needed.
First rollout ​
Keep Config.Policy.shadow = true and autoBan = false. Check the Anticheat sidebar, database persistence, permissions, receipt matching and legitimate gameplay. Ensure decoy event names are genuinely unused on your deployment: the guard collision inventory cannot see every raw event registered outside np_guard.
Console command npac status reports profile, detector/player/case counts, observed cost and shadow state. npac profile <name> switches a profile, npac backtest <detector> <days> re-scores stored payloads, and npac purge <identifier> removes that player's stored cases, detections, associated evidence and identity record. Purge is a manual deletion operation.