Описание
# 🌟 NewLogin
**NewLogin** is a powerful yet easy-to-use authentication plugin for Minecraft servers. Originally designed for simplicity, version 4.0 brings advanced security features while maintaining its lightweight and user-friendly approach.
---
## 🔧 Commands
### Player Commands
| Command | Description |
|---------|-------------|
| `/register ` | Create a new account |
| `/login ` | Log in to your account |
| `/logout` | Log out from your account |
| `/changepassword ` | Change your password |
| `/email` | Manage email for password recovery |
### Admin Commands
| Command | Description |
|---------|-------------|
| `/resetpassword ` | Reset a player's password |
| `/unregister ` | Remove a player's registration |
| `/newlogin reload` | Reload plugin configuration |
| `/newlogin info ` | View player information |
| `/newlogin list` | List all registered players |
| `/newlogin stats` | View plugin statistics |
| `/newlogin forcelogin ` | Force a player to login |
| `/newlogin forcelogout ` | Force a player to logout |
| `/newlogin setspawn` | Set the login spawn location |
---
## ✨ Features
- 🔐 **Secure Authentication** — SHA-256 password hashing with salt
- 🕐 **Session System** — Auto-login for returning players
- 🛡️ **Full Protection** — Block movement, damage, interactions before login
- 👻 **Invisibility Mode** — Hide unlogged players from others
- 📍 **Login Spawn** — Teleport players to a safe location until login
- 📧 **Email Recovery** — Password recovery via email (optional)
- 🔒 **Brute-Force Protection** — Account lockout after failed attempts
- 📊 **Statistics** — Track logins, registrations, and player data
- ⚡ **Lightweight** — Minimal server impact (~57KB)
- 🎨 **Customizable** — All messages and settings configurable
---
## 🎯 Best suited for:
- ✅ Small to medium-sized servers
- ✅ Users who prefer simplicity with powerful features
- ✅ Offline/cracked servers needing authentication
- ✅ Servers wanting lightweight security without complex setup
---
## 📋 Requirements
- **Minecraft:** 1.21+
- **Server:** Paper, Spigot, or compatible forks
- **Java:** 21 or higher