
Gatekeeper
A Fabric mod for Minecraft that replaces username/password login with cryptographic key authentication.
Screenshots



About this Mod
Gatekeeper replaces username/password login on offline-mode servers with cryptographic key authentication. Every player holds a unique digital key that the server recognises — no password to guess, share, or steal.
Designed for small offline-mode servers where the operator personally knows every player.
How it works
When you connect to a Gatekeeper server for the first time, the mod silently generates a unique key pair for that server and stores it on your computer. Every subsequent connection your game proves — cryptographically — that it holds the right key, without ever transmitting it over the network. The server checks your key against its approved list and lets you in.
No passwords. No shared secrets. Nothing to forget or leak.
Requirements
- The Fabric mod loader
- Fabric API
- Both the server and every connecting client must have the mod installed
Installation
Server
- Install Fabric and Fabric API.
- Drop
gatekeeper-<version>.jarinto themods/folder. - Set
online-mode=falseinserver.properties. - Start the server — a
config/mcgatekeeper/directory is created automatically.
Important:
online-mode=falsewithout Gatekeeper means anyone who knows a player's username can impersonate them. Gatekeeper eliminates that risk, but it means you must approve every new player before they can join.
Client
- Install Fabric and Fabric API.
- Drop
gatekeeper-<version>.jarinto yourmods/folder. - That's it — keys are generated and stored automatically.
First connection
The first time a player connects:
- A key pair is generated for that server in the background.
- The connection screen shows a message saying the server is waiting for admin approval.
- An operator (level 3+) runs
/gate allow <username> <label>to approve the player and register their key.
The player is let in immediately and their key is remembered for all future connections from that device.
Admin commands
| Command | What it does |
|---|---|
/gate allow <player> <label> |
Approves a waiting player and registers their key |
/gate list <player> |
Lists all registered keys for a player with fingerprints |
/gate reset <player> |
Removes all keys for a player |
/gate reset <player> <label> |
Removes a single key (e.g. a lost device) |
Tab-complete on /gate allow suggests players currently awaiting approval.
Key management
You can view and manage your stored keys via Mods → Gatekeeper → Manage Keys (requires Mod Menu). Each entry shows the server address the key was last used with, plus short fingerprints for both the server and client keys.
For full technical documentation, the security model, and source code, see the GitHub repository.
Available Versions
How to Install Gatekeeper on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Gatekeeper". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Gatekeeper server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Gatekeeper compatible with fabric?
Gatekeeper officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Gatekeeper – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Gatekeeper consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Gatekeeper with just one click on your server.