Minecraft session tokens expire after 24 hours. When that happens, joining any server greets you with "Invalid session" and the only fix is restarting your entire launcher. Every time. Forever.
DRYL fixes that.
──────────────────────────────────────────────────────────────────
██████╗ ██████╗ ██╗ ██╗██╗
██╔══██╗██╔══██╗╚██╗ ██╔╝██║
██║ ██║██████╔╝ ╚████╔╝ ██║
██║ ██║██╔══██╗ ╚██╔╝ ██║
██████╔╝██║ ██║ ██║ ███████╗
╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝
Don't Restart Your Launcher
──────────────────────────────────────────────────────────────────
A Fabric mod that automatically refreshes your Minecraft session tokens in the background — so you never have to restart your launcher again.
- 🔄 Automatic refresh — silently refreshes on disconnect and multiplayer open
- 🔐 Secure storage — AES-encrypted session file tied to your machine's hardware
- 👤 Account UI — login, logout and switch accounts from the title screen
- 🚀 Zero interruptions — works entirely in the background
- 📦 Lightweight — no bloat, no config files, no nonsense
- Install Fabric Loader for Minecraft 1.21.1
- Install Fabric API
- Drop the DRYL jar into your
modsfolder - Launch — you'll be prompted to log in on first run
┌──────────────────────────────────────────────────────┐
│ FIRST LAUNCH │
│ │
│ 1. Click "Open Login Page" │
│ └─ Opens microsoft.com/devicelogin │
│ │
│ 2. Click "Copy Code" │
│ └─ Copies your one-time device code │
│ │
│ 3. Paste it in the browser and sign in │
│ └─ Uses your own Microsoft account │
│ │
│ 4. Done. Never again. │
└──────────────────────────────────────────────────────┘
The DRYL button in the top-left corner of the title screen lets you change the account you use, so you don't actually need to touch your launcher ever again like an account switcher
╔════════════════════════════════════════╗
║ SECURITY ║
╠════════════════════════════════════════╣
║ Storage │ AES-128 encrypted ║
║ Key │ Derived from MAC address ║
║ Scope │ This machine only ║
║ Network │ Microsoft OAuth only ║
╚════════════════════════════════════════╝
Your session is encrypted with a key derived from your machine's hardware — the session file is useless on any other computer.
git clone https://github.com/WanetsCode/DRYL
cd DRYL
.\gradlew buildOutput: build/libs/dryl-1.0.0.jar
| Dependency | Version |
|---|---|
| Minecraft | 1.21.1~26.1 |
| Fabric Loader | ≥ 0.19.2 |
| Fabric API | Any |
| Java | ≥ 21 |
──────────────────────────────────────────────────────────────────
Made with frustration by Wanets after restarting the launcher for the last time.
⭐ Star it if it saved you a restart.
Thanks to Anthropic's Claude for writing the README
──────────────────────────────────────────────────────────────────
CC0 1.0 — do whatever you want with it.