DVmods Anticheat
Anticheat exports for FiveM developers
Your own scripts and tools can use the same punishment and whitelist system as the anticheat, in game with exports and outside it with the REST API.
A stable name
Exports work as exports.dvac even if the resource folder is renamed. Errors are returned as values, so the calling script never crashes. Available exports include banPlayer, kickPlayer, warnPlayer, removeBan, getBans, tempWhitelistPlayer, isPlayerWhitelisted and screenshotPlayer.
Events
The local server events dvac:playerBanned, dvac:playerKicked, dvac:playerWarned and dvac:playerDetected tell your other resources what happened.
Public REST API
Your own tools, such as a Discord bot or a whitelist application, use api.dvmods.site/public/v1. Create a key on the panel's API page and choose its permissions: servers, players, detections, punishments, issuing punishments and ban checks. An OpenAPI 3.1 description is available for generating a client library.
Security
A key is shown only once, and only a hash of it is stored. A key can only get permissions its creator has. The API never returns IP addresses or hardware identifiers, and every punishment issued with a key appears in the audit log under the key's name.
Features
-
Exports
Readyexports.dvac: ban, kick, warn, whitelist and screenshot from your own scripts.
Read more: Exports -
Public API
BetaA REST API for your own tools and bots: players, detections, punishments and ban checks with per-key permissions. OpenAPI description included.
Read more: Public API
Ready to protect your server?
Purchases, support, updates and beta testing all happen on Discord.