DirectAuth

A server-side-only authentication system with Online auto-login and zero configuration required. Protect your offline server with secure hashing and seamlessly migrate player data (inventory, stats) when users switch to Online Mode.

File Details

directauth-1.1.0.jar

  • R
  • May 28, 2026
  • 13.06 MB
  • 85
  • 1.21.1
  • NeoForge

File Name

directauth-1.1.0.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:directauth-1401506:8159577"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

DirectAuth 1.1.0

New features

  • Account management commands: /changepassword, /unregister, and /logout for players.
  • Consolidated admin commands under a single /directauth root (replacing the old separate admin commands).
  • Session grace period: players reconnecting from the same IP within a configurable window skip the login prompt.
  • Anti-bot protection on registration to deter automated account creation.
  • IP tracking stored per account (database is migrated automatically on first run).
  • Configurable session cleanup interval for tuning memory usage on long-running servers.

Improvements

  • Player data migration now also covers death counters and FTB Quests progress.

Fixes

  • Long-duration or permanent status effects (e.g. night vision) are no longer wiped when a player authenticates (#1). Unauthenticated players are now restrained server-side via a mixin that freezes effect ticking, so pre-existing buffs are preserved and the HUD stays clean during the login phase.