CurseForge · Minecraft mod
Turnstile
Automatic player authentication for offline servers via subdomain tokens. No commands needed!
Quick answer
Which Turnstile release should I use?
turnstile-0.1.0-beta.1.jar targets 26.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is Turnstile required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does turnstile-0.1.0-beta.1.jar need?
turnstile-0.1.0-beta.1.jar. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Turnstile without breaking your instance.
Built for turnstile-0.1.0-beta.1.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use turnstile-0.1.0-beta.1.jar. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside turnstile-0.1.0-beta.1.jar. It opens that exact file at the source.
About this project
What does Turnstile add?
Turnstile
Turnstile is a server-side Fabric mod that adds token-based authentication to offline-mode Minecraft servers. Players authenticate by connecting through a server address with a personal token as its first subdomain, so no in-game login command is required.
Turnstile is intended for offline-mode servers. It does not replace Mojang/Microsoft account authentication and is not needed on servers with online mode enabled.
Requirements
- Fabric Loader
0.19.3or compatible - Fabric API
0.153.0+26.2or compatible
Configure a wildcard DNS record such as *.mc.example.com pointing to your server or proxy. This mod is not suitable for servers without a domain name.
How it works
- A player connects using their personal token as the bottom-level domain:
TOKEN.mc.example.com
- Turnstile verifies the token against the player's offline-mode UUID.
- If valid, the player may join. The token remains valid until it is regenerated or revoked.
Token generation
A connected client must request a token by executing the command /turnstile token generate or interacting with prompts.
For security reasons, a server operator cannot generate a token for another player. Because of this, a one-time pass must be granted to players before a token request can be made. The token is not logged on the server and is hashed before being stored.
Generating a new token replaces the previous one for that player.
One-time passes
Server moderators can grant one-time passes to let a player join without their token. After joining with a pass, the player is prompted to generate a new token. When a player successfully authenticates with their token, their passes are reset.
Commands
| Command | Permission | Description |
|---|---|---|
/turnstile token generate |
Any player | Generates a new token for yourself. |
/turnstile token revoke <player> |
Moderator | Revokes a player's token. |
/turnstile passes get |
Any player | Shows your remaining one-time passes. |
/turnstile passes get <player> |
Moderator | Shows a player's remaining one-time passes. |
/turnstile passes set <player> <amount> |
Moderator | Sets a player's one-time pass count. Use 0 to remove all passes. |
Configuration
Server domain
When providing a token to a player, the server has the option of returning a full address instead of just the token. For that, the server domain must be written in config/turnstile.txt. If the server wishes to display just the token, the file should not exist.
For example, a file with the contents mc.example.com would display TOKEN.mc.example.com to a player.
Game rule
Authentication can be enabled or disabled at runtime:
/gamerule turnstile:enable true
It is enabled by default. Disabling it restores the server's usual offline-mode login behavior.
Security concerns
Since tokens are exposed in the hostname, they are visible to DNS providers and proxies, and may be recorded in logs. Use a software stack that you have control over, and only share server infrastructure with people you trust. Always keep backups of your server.
The mod is currently in beta and may contain other vulnerabilities. Other approaches to authentication, security features, and changes to the interface are expected to be introduced in future versions.
Project description from CurseForge.
Pick your setup
Turnstile by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Turnstile versions and loaders
turnstile-0.1.0-beta.1.jar
23 Jul 2026
0.1.0-beta.1
turnstile-0.1.0-beta.1.jar
20 Jul 2026
Looking for an older file? The official CurseForge project page is in Resources.