Updated compatibility with NeoForge 21.5.55-beta and Minecraft 1.21.5 Fixed cross-dimensional teleportation using server commands Fixed player effects by updating MobEffects.SLOWNESS implementation
Refactor the code logic of the overloaded part and add MySQL support.
Refactor the code structure. Optimize the code logic. Fix null pointer issues. Change the storage file name to playerdata.json. Optimize the logic for restricting players' actions before logging in. Optimize the loading of configuration items. Improve the password encryption method.
AuthShield - Minecraft Server Authentication Plugin
📝 Introduction
AuthShield is a login verification plugin designed for Minecraft NeoForge servers. It provides a comprehensive player authentication system that effectively protects player accounts and server security.
✨ Features
- 🔐 Complete Registration & Login System
- Basic functions: register, login, password change
- Secure password encryption storage
- Auto-kick on login timeout
- 🛡️ Comprehensive Security Protection
- Behavior restrictions before login
- Unauthorized operation prevention
- Password strength requirements
- 👑 Powerful Administration
- Admin command support
- Player data management
- Initial spawn point setting
- 🎨 Beautiful Visual Effects
- Particle effect feedback
- Title prompt system
- 🌏 Multi-language Support
- English
- Chinese
📥 Installation
- Download the latest version of
AuthShield.jar - Place the file in your server's
modsfolder - Restart the server
- Enjoy secure gaming!
⚙️ Configuration
The plugin will automatically create configuration files on first run:
📁 config/authshield/
├── 📄 config.json - Main configuration
└── 📄 translations.json - Language file
Configuration Details
config.json contains the following main settings:
🌏 Basic Settings
"settings": {
"language": "zh_cn", // Language: zh_cn(Chinese) or en_us(English)
"debug": false // Enable debug mode
}
🕒 Login Settings
"login": {
"timeout": {
"enabled": true, // Enable login timeout
"seconds": 60, // Timeout duration (seconds)
"message": "..." // Timeout message
},
"attempts": {
"max": 3, // Maximum login attempts
"timeout_minutes": 10 // Cooldown after max attempts (minutes)
}
}
🔑 Password Requirements
"password": {
"min_length": 6, // Minimum length
"max_length": 32, // Maximum length
"require_special_char": false, // Require special characters
"require_number": false, // Require numbers
"require_uppercase": false, // Require uppercase letters
"hash_algorithm": "SHA-256" // Password encryption algorithm
}
🛡️ Restrictions
"restrictions": {
"gamemode": "spectator", // Gamemode before login
"effects": [ // Effects applied before login
{
"id": "minecraft:slow_falling",
"amplifier": 255,
"particles": false,
"icon": false
}
],
"allowed_commands": [ // Allowed commands before login
"login", "l", "register", "reg"
]
}
💬 Message Settings
"messages": {
"title": {
"enabled": true, // Enable title
"fade_in": 10, // Fade in duration
"stay": 70, // Stay duration
"fade_out": 20, // Fade out duration
"text": "..." // Title text
},
"subtitle": {
"enabled": true, // Enable subtitle
"text": "..." // Subtitle text
},
"actionbar": {
"enabled": true, // Enable actionbar messages
"interval": 40, // Message display interval
"text": "..." // Message text
}
}
📌 Commands
Player Commands
| Command | Shortcut | Description |
|---|---|---|
/register <password> <confirmPassword> |
/reg |
Register account |
/login <password> |
/l |
Login account |
/changepassword <oldPassword> <newPassword> |
/cp |
Change password |
Admin Commands
| Command | Description |
|---|---|
/authshield help |
Display help information |
/authshield unregister <player> |
Unregister specified player |
/authshield setfirstspawn |
Set initial spawn point for new players |
💬 Support
Need help? We're here for you!
📜 License
This project is licensed under the MIT License.

