MCLogin
Running an offline-mode Minecraft server is a common choice for small communities, friend groups, and testing environments. The trade-off has always been security: without Mojang authentication, anyone can join under any username. MCLogin solves that problem by adding a simple but effective authentication layer directly to your server. It is a fork of the classic Login mod, and its key improvement is that player passwords are encrypted before they are written to disk, rather than stored in plain text.
Because MCLogin is a server-side mod, your players do not need to install anything on their clients. You set it up once on the server, and everyone who connects is protected by the login system automatically. This makes it one of the easiest ways to secure an offline-mode world without asking your community to change their setup.
What MCLogin Does for Your Server
The core idea is straightforward: every player must authenticate before they can do anything meaningful in the world. Until a player logs in or registers, the mod keeps them in a restricted state. This prevents impersonation, griefing, and inventory theft on servers that cannot rely on Mojang's session servers.
- Players are invulnerable until they log in, so they cannot be killed while typing credentials.
- Players cannot interact with the world, including breaking or placing blocks, until authenticated.
- Movement is locked, preventing players from wandering off before logging in.
- Chat and most commands are blocked, with only /login and /register available.
- Passwords are encrypted before being saved to ./registered-players.json.
Why Encryption Matters
The original Login mod stored credentials in a readable format, which meant anyone with file access could see every player's password. MCLogin changes that by encrypting passwords before saving them. For server owners who share hosting panels, work with staff members, or simply want to follow better security practices, this is a meaningful upgrade. It also discourages the bad habit of password reuse, since leaked files no longer expose raw credentials.
Supported Versions and Loaders
MCLogin is built for Minecraft: Java Edition and runs on the Fabric loader. It has been updated to work with Minecraft 1.17.1 and related releases in that era, making it a solid pick for servers running modern Fabric-based setups. Because it is server-side only, version matching is mainly about your server jar and Fabric API rather than what your players have installed. If you run a Fabric server in the 1.17 range, MCLogin fits in cleanly without disrupting your existing mod list.
For administrators who prefer a smoother setup process, the foxygame.net launcher can handle MCLogin installation in a single click, pulling the correct build for your server version and keeping it current through automatic updates. That removes the usual guesswork of matching files and dependencies by hand.
Commands You Need to Know
The command set is intentionally minimal, which keeps things fast and easy to remember for your players.
- /register newPassword confirmPassword — creates a new account and stores the encrypted password.
- /login password — authenticates an existing player and lifts all restrictions.
New players are guided toward /register first, while returning players use /login. Since chat and other commands stay locked until authentication succeeds, there is no window for troublemakers to spam or interfere.
How to Install MCLogin on a Fabric Server
If you are wondering how to install the mod, the process is familiar to anyone who has worked with Fabric before. Place the MCLogin jar into your server's mods folder, make sure Fabric API is present, and restart the server. On first run, the mod creates the registered-players.json file where encrypted credentials will live. From that point on, every connecting player is subject to the login flow. Back up that file regularly, since it holds all account data for your community.
Final Thoughts
MCLogin fills a real gap for offline-mode servers that still want proper protection. By combining a familiar login and register system with encrypted password storage and support for Minecraft 1.17.1 on Fabric, it offers a practical balance of security and simplicity. If you are ready to secure your world, download MCLogin, drop it into your mods folder, and give your players a safer way to connect.