Installation
- Put the
sbanticheatfolder in yourresourcesdirectory. - Import
sbanticheat_install.sqlinto your database. You needoxmysqlrunning. - Add this to
server.cfg, after your framework andoxmysql:
Config
ensure sbanticheat- Open
shared/config.luaand set your framework, server name and punishments. - Open
server_config.luaand paste in your Discord webhooks and bot token. - Open
shared/models.luaand add the props, peds and vehicles that fit your server.
⚠️ Keep secrets out of
shared/. Everything inshared/is downloaded by every player who joins, so webhooks and tokens go inserver_config.lua, which only the server loads.
Where the settings live
| File | What it's for |
|---|---|
shared/config.lua |
Main settings: framework, punishments, every detection, anti-spam limits, panel, logging. |
shared/models.lua |
Model lists: blacklisted peds, vehicles, weapons, objects, particles and explosions, plus the object whitelist. |
shared/trustedresource.lua |
Which of your resources may ask for a short detection bypass. |
shared/safeevents.lua |
The list of server events protected from executors. |
server_config.lua |
Discord webhooks, the bot token and the screenshot webhook. |
locale/*.lua |
Ban and kick screen text. Set SB.locale to en, es, de, fr, pt or it. |
See Configuration for the full settings reference.
Last updated 2026-11-08
