
ModsJava
DG Login
Secure login & register with anti-bot captcha, TOTP 2FA, Mojang premium verification, and per-player settings GUI.
⬇ Download on ModrinthDGlogin
The last authentication plugin you'll ever need.
A modern, secure, feature-packed authentication plugin for offline-mode Minecraft servers. Built from scratch with modern Java, modern Minecraft, and modern expectations.
Questions? Join our DISCORD SERVER
✨ Features
| Feature | Description |
|---|---|
| 🛡 Anti-Bot Captcha | Multi-step number code GUI - bots can't trivially bypass it |
| 🔐 2FA (TOTP) | Google Authenticator, Authy, Microsoft Authenticator |
| ⭐ Premium Auto-Login | Verified live with Mojang's session servers |
| 🔒 Total Lockdown | No movement, chat, commands, or interactions before login |
| ⏰ Smart Sessions | Per-player toggle from in-game GUI |
| 👤 Duplicate Name Protection | Existing players stay connected - no hijacks |
| 🎮 Settings GUI | Full interactive menu via /account |
| 📖 Login History | View your last 10 login events with IP and timestamp |
| 📋 Whitelist Mode | Control who can register accounts |
| 👋 Welcome Messages | Customizable greetings with placeholders |
| 🔌 PlaceholderAPI | 10 placeholders for scoreboards, tab, etc. |
| 🗄 MySQL & SQLite | Works on single servers and networks |
🔐 Security
- BCrypt password hashing (12 rounds) - industry standard
- Constant-time hash comparison (no timing attacks)
- Console password censoring - passwords never leak to logs
- Tab-completion blocked on password commands
- IP change alerts + max accounts per IP
- Kick on too many attempts - never temp-ban (prevents account lockout trolling)
📋 Player Commands
/register <password> <password>
/login <password>
/changepassword <old> <new>
/unregister <password>
/account (also: /dgl, /myaccount, /loginsettings)
🔧 Admin Commands
/dglogin reload | info
/dglogin forcelogin <player>
/dglogin forceregister <player> <password>
/dglogin resetpassword <player> <password>
/dglogin lookup <player>
/dglogin unregister <player>
/dglogin whitelist <add | remove | list | on | off>
📦 Installation
- Drop DGlogin.jar into your
plugins/folder - Restart the server
- Edit
plugins/DGlogin/config.ymlto your taste /dglogin reload- done
📌 Requirements
- Minecraft: 1.20.x, 1.21.x, or 26.1.x
- Java: 21+
- Server: Spigot, Paper, Purpur, or any fork
- Soft-dependency: PlaceholderAPI (optional)
Built with care. Free forever. If it helps your server, consider leaving a review - it means more than you think.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as DGlogin-1.2.4.jar — drop this file into the mods folder
- Download size: 412 KB
- Download link checked 19 Aug 2026 — working
These come from our own check of the pack file, not from the source page.