Skip to content

Repository files navigation

🛡️ Auto-Login Mod

A client-side Fabric utility that automatically authenticates you on Minecraft servers using /login or /register.

How it works

  1. Configure a global password or a per-server password once.
  2. Join the server normally.
  3. Auto-Login waits for the server's authentication prompt.
  4. It detects whether the server asks for /login or /register.
  5. After the configured delay, the command is sent automatically.
  6. Duplicate chat/GUI detections are coordinated so one authentication attempt is sent at a time.

If Smart Mode is disabled, Auto-Login falls back to the older join-time login behavior for servers that do not send a detectable prompt.

Security

  • Stored credentials use PBKDF2-HMAC-SHA256 key derivation and AES-GCM encryption.
  • A Master Password is optional.
  • If you enable a Master Password, a successful unlock is remembered on that device by default, so restarting Minecraft does not turn Auto Login back into a manual login step.
  • The remembered unlock is wrapped with a random per-device key stored locally in config/alm-device.key.
  • You can disable Remember Unlock in the settings screen if you prefer to enter the Master Password each session.

Device unlock is a convenience feature. Anyone who can fully read your Minecraft config directory may be able to access both the encrypted credentials and the local device key.

Features

  • Prompt-driven automatic /login and /register
  • Per-server credentials
  • Optional global credential
  • Custom authentication triggers
  • Chat and GUI prompt detection
  • Duplicate-attempt protection
  • Configurable randomized delay
  • Optional Master Password
  • Remembered device unlock
  • Thai and English prompt detection
  • F9 settings shortcut

Commands

Command Description
/alm or /alm gui Open settings
/alm set <password> Set the global login password
/alm add <ip> <password> Store a password for one server
/alm remove <ip> Remove one server entry
/alm list Show stored configuration
/alm trigger add <word> Add a custom prompt trigger
/alm trigger remove <word> Remove a custom prompt trigger
/alm trigger list List custom prompt triggers

Upgrade note for 2.1.0

If you already used a Master Password before 2.1.0, Auto-Login cannot recover that password from its hash. Enter it one final time after upgrading; the mod will then remember the unlock on that device for future launches.

Version 2.1.0 also fixes the F9 keybinding, respects the configured minimum/maximum delay, and avoids duplicate login sends from JOIN + chat/GUI detection.


Created by CyoriaSMP Team / namnarak

About

Client mod for automatic entering login commands on servers that require them.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages