Skip to content

Safe Mode and security health

The panel’s Security page and the /ac health command show whether the AC is well configured and protected. This page explains what each thing means and what to do.

It starts at 100 and drops for every problem found, according to severity:

Severity Deducts
Critical 30
High 15
Medium 8
Low 3

What the AC checks:

Problem Severity What to do
Safe Mode active Critical See below.
resource.* or user.* in an ACL staff or admin group Critical Remove that entry: every resource (or user) gets those rights.
A configuration file changed outside the panel High See Integrity alerts.
Missing ACL rights (kickPlayer, banPlayer, addDebugHook, takePlayerScreenShot, fetchRemote, startResource) High aclrequest allow ac_core all (with your folder name).
The watchdog (ac_guard) is not running High Start it. See Resource names if you renamed them.
runcode running High Whoever has access runs code on the server. Stop it when you do not need it.
Heartbeat off High Whoever stops the AC on the client is no longer caught. Turn heartbeat.enabled back on.
An AC command (/ac, /report, /reports, /duty, /vanish, /sc) repeated in another resource Medium See Registered commands.
Observation mode on Medium Normal at the start. See Rolling out in phases.
Essential module off (events, element data, movement or combat) Medium Turn it back on in Configuration > Modules.
No default webhook Low See Discord webhooks.
Event firewall without rules Low Set events.rules for your most sensitive events.
No protected resource Low Set resources.protected.
Bans without a screenshot as proof Low Turn on punish.evidence.

The page also shows cards for the state of Safe Mode, Configuration integrity, Staff Guard, Money Monitoring and Automatic Safe Mode, and the list of recent Security events.

Safe Mode is a brake: while it is active, no automatic punishment is applied. Everything is still detected and logged, but only as “log”. It exists so that an error in the AC itself can never mass-ban players.

When it starts

  • By itself, when the AC has health.safeModeErrors internal errors in 5 minutes (10 by default) and health.safeModeAuto is on.
  • By hand, with /ac safemode on.

What happens

  • It shows as a critical problem in Security health and raises an alert for staff and Discord.
  • Automatic kicks, bans, ban wave and quarantine become “log only”. Manual bans by staff keep working.

How to leave

  1. See what failed: /ac diag list (or Analytics > AC diagnostics).
  2. Fix the cause (for example a resource that generates errors, or a failed update) and, if you cannot, contact support with the output of /ac diag list.
  3. Leave with /ac safemode off, or in Security with the Leave Safe Mode button (config permission).

If the problem persists, Safe Mode may turn on again.

The AC keeps the fingerprint (SHA-256) of data/config.json, data/secrets.json, meta.xml and server/config.lua and checks them at startup and every two minutes. If one changes outside the panel, an alert appears (for example “meta.xml was changed outside the panel”) until an admin confirms.

  • What does not raise an alert: changes made through the panel, and new files that came from a signed update (or from an ac_guard rollback).
  • What does raise an alert: editing config.json or secrets.json by hand, and copying a new version over ac_core (meta.xml and server/config.lua change).

How to confirm: in Security, the Confirm changes button (config permission), or /ac integrity ok. Do this only after checking the change was yours. If it was not, someone or some resource touched the files: change your FTP and server panel passwords and review the ACL.

You can turn the check off with health.configIntegrity (not recommended).

The AC logs its own errors and warnings grouped (the same repeated error counts as one). See them with /ac diag list, /ac diag and Analytics > AC diagnostics. The data is stripped of webhooks, keys, IPs and hashes before saving, and is kept for diagnostics.retentionDays days (30 by default). See Resource errors.