Перейти к содержимому
Mineforgian

AuthShield

neoforge login verification plugin

Загрузки
5K
Подписчики
12
Обновлён
23 апреля 2025 г.
Лицензия
MIT

Опубликован 8 февраля 2025 г.

AuthShield - Minecraft Server Authentication Plugin

Version License

📝 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

  1. Download the latest version of AuthShield.jar
  2. Place the file in your server's mods folder
  3. Restart the server
  4. 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": "en_us",     // 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

📜 License

This project is licensed under the MIT License.

Ченджлог

1.0.5Релиз1.21.5 · 23 апреля 2025 г.

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

1.0.4Релиз1.21.2, 1.21.3, 1.21.4 · 11 февраля 2025 г.

Refactor the code logic of the overloaded part and add MySQL support.

1.0.3Релиз1.21.1 · 9 февраля 2025 г.

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.

1.0.2Релиз1.21.1 · 8 февраля 2025 г.

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

  1. Download the latest version of AuthShield.jar
  2. Place the file in your server's mods folder
  3. Restart the server
  4. 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!

Join our QQ Group

📜 License

This project is licensed under the MIT License.

Комментарии

Загружаем…