AuthCore

AuthCore is an authentication mod for Fabric 1.21.1 servers. It provides SQLite-backed accounts, BCrypt password hashing, session timeouts, configurable Spanish messages, and pre-authentication action blocking.

AuthCore

AuthCore is a secure authentication mod for Fabric 1.21.1 servers. It is designed to replace unstable login systems by providing player registration, login, local SQLite storage, and BCrypt password hashing.

It is a server-side-only mod: players do not need to install it on their clients.

Features

  • Player account registration.
  • Secure login system.
  • Password changes.
  • BCrypt password hashing.
  • Local SQLite database.
  • Configurable login timeout.
  • Safe disconnection after the timeout expires.
  • ActionBar instructions and countdown.
  • Configurable Spanish messages.
  • Blocks movement, interactions, items, attacks, blocks, and damage before login.
  • Administrator commands.
  • Compatible with Fabric 1.21.1 and Java 21.

Player Commands

Command Description
/register <password> <confirmation> Creates an account and authenticates the player.
/login <password> Logs into a registered account.
/changepassword <current> <new> <confirmation> Changes the password of an authenticated account.


Example:

/register MySecurePassword MySecurePassword
/login MySecurePassword
/changepassword MySecurePassword AnotherSecurePassword AnotherSecurePassword

Administrator Commands

These commands require permission level 4. For now, the target player must be online.

Command Description
/auth reload Reloads the configuration and messages.
/auth unregister <player> Deletes a player's account.
/auth resetpassword <player> <password> Resets a player's password.
/auth force <player> Forces authentication for an online player.


Configuration

On its first server start, AuthCore creates:

config/authcore.properties
config/authcore.db

authcore.properties lets you configure the login timeout and all Spanish messages. The authcore.db database stores registered accounts and their BCrypt password hashes.

Example:

login.timeout-seconds=60
messages.login-prompt=Inicia sesion con /login <contrasena>. Tiempo: {seconds}s
messages.register-prompt=Registrate con /register <contrasena> <confirmacion>. Tiempo: {seconds}s

After editing the configuration, restart the server or run:

/auth reload

Installation

  1. Install Fabric Loader for Minecraft 1.21.1.
  2. Install a Fabric API version compatible with 1.21.1.
  3. Use Java 21.
  4. Copy authcore-0.1.0.jar into the server's mods folder.
  5. Remove any other authentication mod that may conflict with AuthCore.
  6. Start the server.

AuthCore was built to provide a stable, secure, and extensible authentication foundation for Fabric servers.

The AuthCore Team

profile avatar
  • 3
    Projects
  • 127
    Downloads
Donate

More from juanxxo_