promotional bannermobile promotional banner
premium banner
A flexible hybrid authentication plugin for Hytale featuring both sqlite and mysql databases

Description

🛡️ HyAuth - Native Authentication for Hytale

HyAuth is a modern authentication plugin developed specifically for Hytale servers. Unlike old plugins that rely on chat commands, HyAuth utilizes Hytale's Native User Interface (UI) to offer a secure, immersive, and professional login experience.


✨ Key Features

🖥️ Native Login Interface (GUI)

Forget about /login <password>. HyAuth presents a custom login screen as soon as the player joins the server.

  • Immersive: The login window is part of the game.
  • Secure: The password field visually protects characters.
  • Movement Blocking: The player cannot close the window or play until authenticated

⏱️ Smart Timeout System

To prevent players from occupying server slots without logging in:

  • The plugin features a configurable timer.
  • If the player does not log in within the stipulated time (e.g., 30 or 60 seconds), they are automatically disconnected with the message: "Authentication time expired".

🔒 Validation and Security

  • Visual Feedback: Error messages (like "Invalid password" or internal errors) appear directly in the interface, without cluttering the chat.
  • Interactive Buttons: Fully functional "Login" and "Cancel" buttons. The Cancel button voluntarily disconnects the player.
  • UUID Integration: The system verifies authentication based on the player's unique UUID.

⚙️ Configuration

HyAuth is designed to be easy to configure.

{
  "ConnectionString": Only for DatabaseType = "mysql",
  "DatabaseType": sqlite or mysql,
  "LoginTimeout": Time in seconds to auth a player, if this time expires the game will disconnect the player
}