About TrueUUID
From ModrinthTrueUUID lets premium and offline-mode Minecraft players play together on the same server. Premium players keep their real Minecraft UUID and skin, while offline players can still join normally.
English | 简体中文
TrueUUID adds account verification to modded Minecraft servers that run in offline mode. A premium player's access token stays on their own computer; the server receives only the login proof needed to verify their UUID and skin.
The same TrueUUID JAR must be installed on the client and server. Always choose the JAR made for your exact Minecraft version and loader.
> [!IMPORTANT] > Version 1.2.0 publishes only the 36 exact targets approved in the > target matrix. Omitted Minecraft > patches are not implicitly supported.
Quick start
- Download or build the JAR for your exact loader and Minecraft version.
- Put that same JAR in the client's and server's
modsfolders. - Set the server to offline mode:
online-mode=false
- Start the server once to generate the TrueUUID configuration.
- Join with a matching modded client. The HUD shows green for a verified
premium login and red when the server accepts offline fallback.
Do not expose a development server created by run-dev-target.sh to the internet. It deliberately binds to localhost and uses offline mode for testing.
What TrueUUID does
- Verifies Mojang sessions without sending the player's access token to the
server.
- Uses the verified UUID, username casing, and signed skin properties during
login.
- Can allow offline players while blocking offline reuse of names that were
previously verified.
- Stores known verified names in
trueuuid-registry.json. - Shows localized login feedback and a small premium/offline status badge.
- Supports bounded login timeouts, response limits, HTTPS validation, public
address checks, and redirect refusal.
- Supports configured Yggdrasil/authlib-injector services on adapters that list
that feature in the target matrix.
All 36 currently declared adapters include offline-to-verified data migration, admin commands, and the addon API. Every exact target passed the premium, offline fallback, confirmed migration, and known-name denial installed-JAR matrix. Consult the target matrix instead of assuming every implemented feature or an omitted adjacent Minecraft patch was exercised.
How login verification works
- The offline-mode server sends the client a one-time login challenge.
- The client uses its local session to answer the challenge through Mojang's
joinServer call. Its access token never leaves the client.
- The server checks the result with Mojang's
hasJoinedendpoint. - A successful login receives the verified UUID and signed skin properties.
- A failed or timed-out check is either rejected or handled by the configured
offline-fallback policy.
For an allowed Yggdrasil provider, the same flow uses its HTTPS session endpoint. Custom endpoints are disabled until their host is explicitly allowlisted.
Installation
Server
- Install the loader and Minecraft version matching the TrueUUID filename.
- Copy the JAR into the server's
modsdirectory. - Set
online-mode=falseinserver.properties. - Keep the server behind a firewall while configuring and testing it.
Prism Launcher
- Open the instance matching the JAR's Minecraft version and loader.
- Select Edit → Mods → Add file.
- Select the built TrueUUID JAR from the target's
build/libsdirectory. - Install the same JAR on the server.
Do not use a Forge JAR in NeoForge, or a JAR built for another Minecraft patch. For Fabric, use the remapped JAR in build/libs, never the development JAR in build/devlibs.
Configuration
Forge and NeoForge generate:
config/trueuuid-common.toml
Fabric generates:
config/trueuuid.json
Forge and NeoForge use the TOML keys below. Fabric stores the matching login policy settings in the JSON auth object; the target matrix lists any adapter-specific gaps.
The main policy options are:
auth.timeoutMs = 30000
auth.allowOfflineOnTimeout = false
auth.allowOfflineOnFailure = true
auth.knownPremiumDenyOffline = true
auth.allowOfflineForUnknownOnly = true
auth.recentIpGrace.enabled = true
auth.recentIpGrace.ttlSeconds = 10
auth.showJoinFeedback = true
auth.showJoinTitle = false
auth.showAccountOverlay = true
The recommended defaults allow an unknown offline name but stop that name from falling back to offline mode after it has completed a verified login.
All three loaders can position the account badge. Forge and NeoForge use TOML; Fabric uses the matching keys inside the JSON auth object:
auth.overlayCorner = "bottom_right"
auth.overlayOffsetX = 0
auth.overlayOffsetY = 0
auth.overlayScale = 1.25
For Yggdrasil/authlib-injector providers, add only hosts you trust:
auth.yggdrasil.apiRootWhitelist = ["littleskin.cn"]
An empty allowlist keeps Mojang as the only accepted session service.
Migration and admin commands
TrueUUID can back up and move same-name offline player data to a verified UUID. Migration requires confirmation and preserves both the old offline data and any existing destination data before changing files.
Available admin commands:
/trueuuid cleanupuuid <name>
/trueuuid migrateuuid <name>
Both commands require permission level 4. The target matrix identifies which adapters currently include migration.
Addon API
The server-side API exposes cn.alini.trueuuid.api.TrueuuidApi. Other mods can query whether a player joined as premium or through offline fallback:
AccountStatus status = TrueuuidApi.getStatus(serverPlayer);
if (status.isOffline()) {
// Apply your server's offline-player policy.
}
The API also provides a login callback and access to the verified-name registry. Check the target matrix before depending on it.
Highlights
From source dataGame versions
Supports 18 Minecraft versions, the newest being 1.21.11.
Loaders
Runs on Fabric, Forge, NeoForge, Paper and Spigot.
Footprint
Rated a light load on a server.
What kind of mod it is
From the catalogCosmetics, visuals & audio
Skins, textures, shaders, models and sound — how the game looks and sounds.
Runs on your server
From source side supportModrinth lists TrueUUID as required on the server. Check its Modrinth page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- FabricForgeNeoForgePaperSpigot
- Runs on
- Serverrequired on the server
- Game versions
- 1.21.11 and 17 earlier
Verified at the source
- ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
- ✓AuthorYuWan030, as published on Modrinth
- ✓LicenseLGPL-3.0-onlyFree









