Documentation
Everything needed to get protected in minutes.
Installation
- 1
Download the resource
Grab lexuac_resource from the Download page and unzip it into your server's resources/ folder.
- 2
Add your license key
Open lexuac/config.lua and paste the key you redeemed in the portal into Config.LicenseKey.
- 3
Ensure the resource first
Add ensure lexuac at the very top of server.cfg so it loads before other resources.
- 4
Restart and verify
Restart the server and confirm the dashboard shows the protection banner as active.
Exports
exports.lexuac:banPlayer(source, reason)Issues a permanent ban and syncs it to the ban network.
exports.lexuac:isTrusted(source)Returns true when the player passed all integrity checks.
exports.lexuac:getThreatScore(source)Returns a 0-100 heuristic score for the player.
exports.lexuac:whitelistResource(name)Exempts a resource from client tamper checks.
exports.lexuac:reportDetection(source, tag)Feeds a custom detection from your own scripts.
Convars
| Convar | Default | Description |
|---|---|---|
| lexuac_autoban | true | Automatically ban on critical severity detections. |
| lexuac_kick_threshold | 70 | Threat score at which a player is kicked. |
| lexuac_webhook | "" | Discord webhook URL for detection alerts. |
| lexuac_scanner | true | Enable client memory and module scanning. |
| lexuac_log_level | info | One of: debug, info, warn, error. |