Using it

The join gate

When a player joins, the gate holds them for at most join-gate.hold-ms (1500) in a safe state: invulnerable, invisible, frozen in place, no chat, no interaction. It releases as soon as the brand, the settings packet and the channel list have arrived and stopped changing. While held, the player's packets are not run through the movement checks.

What it reads#

  • The client brand (vanilla, fabric, forge, lunarclient...).
  • The plugin channels the client registers (Fabric API channels, fml: and neoforge: channels, mod channels such as xaerominimap:main or wdl:init).
  • Whether the client sent its settings packet (every real client does).
  • The join rate of the address (join-gate.max-joins-per-ip-per-minute).
  • Optionally the translation probe (experimental, see below).

Signatures#

Signals are matched against the signature list: a built-in starter list plus your signatures.json (edit it in the panel under Client gate, or with /ac sig). Each entry has a type (brand, channel, any, name, translation), a match (exact, contains, prefix, namespace, regex), a category, a confidence (low, medium, high), a score and an action (flag, block, allow). namespace matches the part of a channel before the colon, or a whole brand. A built-in entry is switched off by saving a disabled copy with the same id.

/ac sig add channel namespace meteor-client 100 block

Risk score and decision#

The scores of all matched signals (except allow ones) are added up to a risk score of at most 100. Then:

ResultIn observe modeIn enforce mode
Below flag-score (30)RecordedAdmitted
From flag-scoreStaff alertAlert, the player goes on monitor
From restrict-score (60)Staff alertMonitor, and every check fills its buffer faster
From kick-score (90), or any matched block signatureStaff alertThe action set in join-gate.punishment: kick, ban, tempban 3d or wave

Brand or channels that arrive after the hold are checked once a second and can still raise the result. ClientFlaggedEvent can be cancelled to admit a player anyway.

Allow-list mode#

With join-gate.allow-list-mode: true (enforce mode) only the brands in allowed-brands and the channels in allowed-channels may join. Use it for modpack servers.

Signed signature updates#

join-gate.remote-update (off) downloads a list: HTTPS only, a SHA-256 checksum of the signatures and an Ed25519 signature checked against public-key (X.509, base64). Without a key, or if either check fails, the file is thrown away. Run it with /ac sig update or the panel.