config.json reference
This page lists the main configuration sections, with the default value and what each option does. Only options that exist in server/config.lua are listed.
How to edit
Section titled “How to edit”- In
data/config.jsonyou set only what you change, with the same section structure. Apply with/ac reload. - Options with a card in the panel (Configuration > Modules) are edited there, with limits and history. What has no card (for example commands and event lists) is edited by hand.
- Never put webhooks or keys here: they live in
data/secrets.json(Discord webhooks). server/config.luais replaced by updates. Do not edit it: useconfig.json.
{ "general": { "language": "en", "discordInvite": "discord.gg/server" }, "punish": { "kickScore": 70 }, "detections": { "move.speed": { "action": "kick" } }}general
Section titled “general”| Option | Default | What it does |
|---|---|---|
language |
pt |
Server language (pt or en): messages to players, Discord and logs. |
serverTag |
AC |
Prefix on kicks and bans and the name on Discord notices. |
discordInvite |
empty | Shown in the ban message and in the investigation notice. |
observeMode |
true |
Observation mode: logs and warns, does not punish. |
adminAcl |
Admin, Console |
ACL groups of administrators (they use /ac ... and the panel’s admin actions). |
command |
ac |
Name of the administration command. |
staffAcl |
Admin, SuperModerator, Moderator |
ACL groups of staff. |
staffElementData, staffElementMin |
false, 1 |
Staff marked by element data (VRP/MySQL): the key name and the minimum value. The key is protected. |
playerId |
off | Player ID. See Player ID. |
ignoreStaff |
true |
Staff only generate logs, never punishment. |
notifyStaff |
true |
In-game notices for staff. |
announceBans |
true |
Global chat message when someone is banned. |
vip.acl, vip.exemptCodes |
empty | VIP ACL groups and the detections they are exempt from (for example move.jetpack). |
punish (score and ban)
Section titled “punish (score and ban)”| Option | Default | What it does |
|---|---|---|
kickScore |
60 |
Score at which the player is kicked. |
banScore |
100 |
Score at which the player is banned. |
scoreDecayPerMinute |
5 |
How much the score drops per minute. |
scoreMemoryMinutes |
60 |
The score survives reconnects (per serial) for this long. |
banMinutes |
0 |
Duration of automatic bans (0 = permanent). |
evidence |
true |
Takes a screenshot before banning. |
evidenceOnKick |
false |
Also takes a screenshot before kicking. |
evidenceWaitMs, evidenceWidth, evidenceHeight, evidenceQuality |
4000, 1024, 576, 60 |
Maximum wait for the screenshot and its size and quality (JPEG). |
freezeBeforeBan |
true |
Freezes the player while the screenshot is taken. |
detections (one entry per code)
Section titled “detections (one entry per code)”"detections": { "<code>": { ... } }. Each detection accepts:
| Field | What it does |
|---|---|
action |
log (only logs), kick or ban. Without action, it adds weight to the score. |
weight |
Points added to the score (without action). The default entry (weight 20) applies to codes without an entry. |
strikes, window |
Only counts after strikes occurrences within window milliseconds. |
enabled |
false turns off just that detection. |
banMinutes, reason |
The ban duration and reason for that detection. |
The codes and defaults are in the Modules reference.
Policies: banwave, quarantine, investigate
Section titled “Policies: banwave, quarantine, investigate”| Option | Default | What it does |
|---|---|---|
banwave.enabled |
false |
Automatic bans wait in a queue. Exclusive with quarantine. |
banwave.intervalHours |
24 |
How often the queue runs. |
banwave.announce |
true |
Chat message when the ban wave runs. |
banwave.suppressKicks |
true |
Players in the queue are not kicked by other detections. |
banwave.onlyMarked, banwave.modules, banwave.codes |
false, empty |
Only the chosen modules and detections enter the queue. See Detection policies. |
quarantine.enabled |
false |
Automatic bans go through quarantine. |
quarantine.minutes |
5 |
Duration before the kick. |
quarantine.effects |
shake, fade, lag, sound |
Local effects on the player’s client. |
investigate.enabled |
true |
Turns investigations on. |
investigate.timeoutMinutes |
15 |
Mandatory time limit (1 to 120). |
investigate.dimension |
4321 |
Base dimension (each case uses base + n). |
investigate.instructions |
sample text | What the player reads in the full-screen notice. |
investigate.quitBanMinutes |
0 |
Temporary ban for those who leave midway (0 = none, maximum 10080). |
investigate.watchOnQuit |
true |
Players who leave midway are put on the watch list. |
Staff: staffduty, vanish, reports, staffchat, alerts, digest
Section titled “Staff: staffduty, vanish, reports, staffchat, alerts, digest”| Option | Default | What it does |
|---|---|---|
staffduty.enabled |
false |
Staff mode (on duty). |
staffduty.command |
duty |
Command name. |
staffduty.requireForEsp |
true |
ESP only on duty. |
staffduty.elementData |
false |
Element data key that already holds the duty state (RP servers). |
staffduty.stopRp |
true |
Fires ac:staff:duty for your resources. |
staffduty.offDutyCriticalAlerts |
false |
Off duty, only kick and ban alerts. |
vanish.enabled, vanish.command |
true, vanish |
Vanish mode and the command name (/vanishfly handles flying). |
vanish.requireDuty, vanish.adminOnly |
true, false |
On duty only; admins only. |
vanish.noclip, vanish.flySpeed |
true, 1 |
Fly and pass through walls; base speed (0.2 to 5). |
vanish.invulnerable, vanish.hideNametag |
true, true |
No damage; no nametag for others. |
vanish.flyKey |
empty | Optional key for flying (for example x). |
reports.enabled, reports.command |
true, report |
Reports and the command name. |
reports.cooldownSeconds, reports.maxOpenPerPlayer |
60, 3 |
Time between reports and open reports per player. |
reports.reasons |
six reasons | The list in the /report window. |
reports.allowAttachment, reports.attachmentMaxKb |
true, 500 |
Optional screenshot and its maximum size. |
reports.teleportOnClaim, reports.cleanupHour |
true, 4 |
Go to the reporter; hour when closed screenshots are cleaned. |
staffchat.enabled, staffchat.command |
true, sc |
Staff chat. |
staffchat.history, staffchat.discord |
50, false |
Messages kept; copy to Discord. |
alerts.minLevel |
score |
log, score, kick or ban: the minimum that raises an alert. |
alerts.cooldownSeconds, alerts.maxPerMinute |
300, 20 |
One alert per player and code in this interval; maximum per staff member per minute. |
alerts.includeExempt |
false |
Alert on detections from exempt players. |
digest.enabled, digest.hour |
true, 9 |
Daily digest on Discord, at server time. |
Detection: main values
Section titled “Detection: main values”| Section | Main options (default) |
|---|---|
heartbeat |
enabled true, intervalMs 10000, maxMissed 3, loadTimeoutMs 300000, helloTimeoutMs 30000, maxClientEventsPer10s 30 |
join |
enabled true, minClientVersion 1.6.0-9.22790.0, duplicateSerial true, banEvasion true, vpn.enabled false, vpn.cacheHours 24, vpn.whitelistIps empty, staffSerialLock off |
clientinfo |
allowedD3d9Sha256, blockedModIds empty, requireScreenUpload false, requireFullscreen false, screenProbeMinutes 0, checkResources true, mtaAcLogCooldownSeconds 600 |
keys |
list insert, delete, end; screenshot true, screenshotDelayMs 1500, cooldownMinutes 5 |
honeypot |
events: six decoy event names |
events |
dynamic (enabled false, mode log, allow), rules (per-event firewall), globalLimit (enabled false, perSecond 40, burst 80) |
elementdata |
protectedKeys (money, coins, moneycoins, admin, adminLevel, vip, level, job, bank), strict false, allowClientKeys, checkForeign true |
movement |
onFootMaxSpeed 14, vehicleSpeedFactor 1.6, vehicleMinLimit 70, aircraftMinLimit 120, teleportOnFoot 60, teleportVehicle 160, flySamples 5, carFly true, carFlySamples 5, graceMs 4000, jetpackAllowedAcl |
combat |
weaponBlacklist (weapons 34 to 38), removeBlacklisted true, maxShotsPerSecond per weapon, rangeTolerance 1.35, originTolerance 6, headshotMinShots 40, headshotRatio 0.65, godmodeHits 8, godmodeMinShooters 1, godmodeIgnoreInteriors true, godmodeExemptData, godmodeAllowedAcl |
vehicles |
blacklist (425, 432, 520, 577, 592), destroyBlacklisted true, enterMaxDistance 15, maxHealth 1000 |
explosions |
blacklistTypes (0 and 10), maxPer10s 8, maxDistance 250 |
economy |
monitor true, maxTransaction 1000000, maxTxPer30s 15, maxGainPerMinute 500000, allowedResources empty |
identity |
spoofSerials 2, spoofWindowDays 30, accountMaxSerials 3, accountSerialDays 30 |
correlation |
windowMinutes 10, rules (injection, movement, combat, identity) |
clipboard |
indicators: nine Lua code signals |
watchlist |
enabled true, intervalMinutes 5 |
afk |
enabled false, warnMinutes 12, kickMinutes 15, ignoreStaff true, minPlayers 0 |
beta |
Everything off. See Beta modules. |
client |
checkIntervalMs 3000, worldCheck, functionWatch, injectHook and projectileCheck true, injectAllowResources runcode |
The AC’s own protection and data
Section titled “The AC’s own protection and data”| Section | Main options (default) |
|---|---|
staffguard |
blockUnauthorized true, allowedResources admin, admin2, acl, protectedGroups, massBanLimit 5 |
health |
configIntegrity true, safeModeAuto true, safeModeErrors 10 (in 5 minutes) |
resources |
protected empty, restartDelayMs 1500, guard empty (finds it by itself) |
retention |
detectionsDays 90, auditDays 365, evidenceDays 30, banEvidenceDays 180, logsDays 30 |
evidence |
uploadToCentral true, uploadMaxAgeDays 7, deleteLocalAfterUpload false |
diagnostics |
enabled true, retentionDays 30, syncToCentral true, syncMinSeverity WARNING, syncIntervalMinutes 5 |
risk |
medium 25, high 50, critical 75, halfLifeHours 24, windowDays 30, dedupeMinutes 10, topN 10 |
calibration |
minDetections 10, fpRatio 0.2 |
perf |
profiler true, adaptive true, clientProfiler false, maxFactor 3, highLuaCpu 40, criticalLuaCpu 70, highAcCpu 5, criticalAcCpu 10, highPlayers 150 |
Updates, panel and logs
Section titled “Updates, panel and logs”| Option | Default | What it does |
|---|---|---|
updater.autoApply |
false |
Also installs optional updates by itself. |
updater.installHourStart, installHourEnd, installMaxPlayers |
4, 6, 5 |
Low-activity window for mandatory updates. |
updater.rulesUrl, rulesIntervalMinutes |
empty, 60 |
Remote rules (data only). |
panel.enabled, panel.key |
true, F7 |
The panel and the default key. |
panel.docsUrl |
empty | The address of this manual (https://domain, no path): the panel’s Manual page opens it in game. |
panel.refreshMs, panel.maxDetections |
5000, 80 |
Panel refresh and detections kept in memory. |
panel.reasons |
six reasons | Reason templates for the panel’s kick and ban. |
panel.permissions |
see Staff permissions | Who can do each action. |
logging.file, logging.discord, logging.debug |
true, true, false |
Daily file, Discord and debug messages. |
notify |
AC card | Notifications. See Notifications. |
webhooks |
see page | Discord webhooks. |