AuthGuard
PluginMIT

AuthGuard

AuthGuard - Secure Authentication Plugin

98
Downloads
0
Followers
4 months ago
Updated
📦
1
Versions

📖About AuthGuard

logo

🔐 AuthGuard - Secure Authentication Plugin

AuthGuard is a powerful yet lightweight authentication plugin for Minecraft 1.21.1, inspired by AuthMe. Protect your server with a robust login and registration system that keeps your players' accounts secure!


✨ Features

🛡️ Security First

  • Password Hashing: Support for SHA-256 and BCrypt algorithms
  • Customizable Password Requirements: Set minimum and maximum password lengths
  • Session Management: Optional session timeout to keep accounts secure
  • Database Support: Choose between SQLite (file-based) or MySQL (server-based)

🎮 Player Protection

  • Movement Blocking: Players cannot move until authenticated
  • Interaction Blocking: Prevents block breaking, placing, and item usage before login
  • Chat Control: Configurable chat restrictions for unauthenticated players
  • Login Timeout: Automatic kick if players don't authenticate in time

🌍 Player Experience

  • Location Saving: Remember where players were when they logged out
  • Spawn Teleportation: Optional teleport to spawn on join
  • Customizable Messages: Fully translatable message system
  • Fast Login: Quick and efficient authentication process

⚙️ Server Administration

  • Easy Configuration: Simple YAML-based configuration
  • Database Flexibility: SQLite for small servers, MySQL for larger networks
  • Lightweight: Minimal performance impact
  • No Dependencies: Works out of the box

📋 Commands

/register <password> <confirm_password>

  • Description: Register your account on the server
  • Aliases: /reg
  • Example: /register MySecurePass123 MySecurePass123

/login <password>

  • Description: Log in to your account
  • Aliases: /l
  • Example: /login MySecurePass123

/changepassword <old_password> <new_password>

  • Description: Change your current password
  • Aliases: /changepass, /changepw
  • Example: /changepassword MySecurePass123 NewPassword456

🚀 Getting Started

  1. Download the plugin JAR file
  2. Place it in your server's plugins folder
  3. Start your server to generate the default configuration
  4. Configure the plugin in plugins/AuthGuard/config.yml
  5. Restart your server and you're ready to go!

⚙️ Configuration

AuthGuard offers extensive configuration options:

  • Database Settings: Choose between SQLite or MySQL
  • Security Options: Password length, hashing algorithm, session timeout
  • Behavior Settings: Login timeout, spawn teleportation, chat permissions
  • Custom Messages: Fully customizable messages in any language

🗄️ Database Support

SQLite (Default)

Perfect for small to medium servers. No additional setup required!

MySQL

Ideal for larger servers or networks. Simply configure your MySQL credentials in the config file.


🔒 Security Features

  • BCrypt Support: Industry-standard password hashing
  • SHA-256 Fallback: Fast and secure alternative
  • Salt & Pepper: Passwords are properly salted for maximum security
  • No Plain Text: Passwords are never stored in plain text

📊 Technical Details

  • Minecraft Version: 1.21.1
  • Server Software: Spigot, Paper, and compatible forks
  • Java Version: 17 or higher
  • Dependencies: None

🐛 Support & Issues

Found a bug or have a suggestion? Feel free to report it on the issues page!


💖 Credits

Developed with ❤️ for the Minecraft community.


Protect your server today with AuthGuard!