Auth¶
Account registration, password login, pre-login quarantine world (nexus_auth), Mojang premium auto-register/auto-login, Floodgate Bedrock auto-account with a first-join notice, PIN, TOTP, OTP, email recovery, and captcha.
Summary¶
- Plugin:
ZellysNexus - Configuration file:
modules/auth/config.yml - Default
enabledstate:true - Commands:
/zn auth [action],/zn auth register <pw>,/zn auth login <pw> [totp] [pin],/zn auth logout,/zn auth setpassword <pw>,/zn auth changepassword <old> <new>,/zn auth recovery <generate|reset <code> <newPw>>,/zn auth email <add|change|recover ...>,/zn auth totp <setup|confirm|disable>,/zn auth pin <set|verify|reset>,otp,remember,captcha,verification,form,menu,delacc,premium,cracked,freemium,getlogs,admin <reload|purge|forcelogin> - Permissions:
zn.auth.player(everyone),zn.auth.admin(operators) - Interfaces (Menus / Dialogs / Bedrock Forms): Pre-login Paper dialog (
form), Auth user/admin Paper dialogs, Floodgate Bedrock forms, andHollowKraftAuthScreenviazelly:hollowkraftui/v1. - Storage:
modules/auth/config.yml,modules/auth/auth.yml,modules/auth/auth_locations.yml
Limits and verification status¶
Player-only commands (except credential masking in console logs). security-effects.mute-chat and allowed-commands (including multi-word entries alongside /zn auth and /zn help) are enforced pre-login; premium.name-protection YAML default is kick (code fallback password). paper-plugin.yml declares optional floodgate (join-classpath: true) so CumulusDialogBridge resolves Cumulus forms at runtime and reads auth inputs via cursor (asInput()) without label-index offsets. Live Bedrock client rendering and Mojang online-mode joins remain not verified in local headless tests; see the Auth guide.
Configuration keys (modules/auth/config.yml)¶
| Key | Type | Default | Description |
|---|---|---|---|
enabled |
boolean |
true |
Module switch; requires a restart |
session-hours |
integer |
12 |
Session memory duration |
max-accounts-per-ip |
integer |
3 |
Account limit per address |
min-password-length |
integer |
4 |
Minimum password length |
max-password-length |
integer |
64 |
Maximum password length |
max-failed-attempts |
integer |
5 |
Failed attempts before lockout |
lockout-seconds |
integer |
60 |
Lockout duration |
otp-expiry-seconds |
integer |
300 |
One-time password validity |
form-delay-ticks |
integer |
20 |
Delay before the auth form opens |
auto-login-bedrock |
boolean |
true |
Auto-login verified Floodgate Bedrock accounts (requires Geyser auth-type: floodgate, matching key.pem, and send-floodgate-data: true on proxies); offline/unverified clients still require Nexus password |
auto-register-bedrock |
boolean |
true |
Auto-create Nexus accounts on first join for verified Floodgate Bedrock sessions when auto-login-bedrock is enabled |
auto-login-premium |
boolean |
true |
Auto-login verified Mojang premium accounts |
auto-register-premium |
boolean |
true |
Auto-create Nexus accounts on first join for verified online-mode Mojang premium players when auto-login-premium is enabled |
require-password-for-staff |
boolean |
true |
Require manual password authentication for operators (op) and staff (zn.admin, zn.auth.admin) even when Bedrock or Premium auto-login is enabled |
login-timeout-seconds |
integer |
60 |
Seconds before an unauthenticated player is kicked |
security-effects.blindness |
boolean |
true |
Apply blindness while unauthenticated |
security-effects.slowness |
boolean |
true |
Apply slowness while unauthenticated |
security-effects.invulnerability |
boolean |
true |
Protect unauthenticated players from damage |
security-effects.mute-chat |
boolean |
true |
Block chat messages from unauthenticated players before login |
allowed-commands |
list |
[/zn auth, /zn help] |
Command prefixes allowed before login (supports multi-word commands alongside /zn auth and /zn help) |
mojang.timeout-seconds |
integer |
4 |
Premium verification timeout |
mojang.cache-seconds |
integer |
3600 |
Premium verification cache |
mojang.negative-cache-seconds |
integer |
60 |
Negative Mojang lookup cache TTL in seconds |
premium.proxy-trust |
boolean |
true |
Trust forwarded Velocity/BungeeCord UUID verification when configured |
premium.direct-verification |
boolean |
true |
Verify premium accounts directly via Mojang session checks (default kept true pending live Mojang online-mode playtest step 7; requires restart to toggle) |
premium.name-protection |
string |
kick |
Handling for unverified connections using a premium name (kick or password) |
premium.fail-closed |
boolean |
true |
Deny auto-login if premium verification cannot complete |
bedrock.linked-accounts |
boolean |
true |
Allow Floodgate-linked accounts to auto-login via their Bedrock link |
isolated-world.enabled |
boolean |
true |
Confine unauthenticated players in an isolated void auth world |
isolated-world.name |
string |
nexus_auth |
Isolated auth world name (created at boot; not reloaded dynamically on Folia) |