A client-side Minecraft mod (Forge 1.20.1 and NeoForge 1.21.1) that refreshes your Microsoft/Minecraft session and manages multiple accounts without restarting the game.
Drop the jar into your mods/ folder.
Note: Nightly is built every night, but is not guaranteed to work so use it at your own risk. Breaking changes may be included in the nightly build without warning.
- Forge: Minecraft 1.20.1, Forge 47.x, Java 17
- NeoForge: Minecraft 1.21.1, NeoForge 21.1.x, Java 21
Use the jar matching your loader: authagain-forge-*.jar (1.20.1) or
authagain-neoforge-*.jar (1.21.1).
Open the Multiplayer screen and click the "Open AuthAgain" button in the top-left corner. From there, you can add accounts, reauthenticate, set an account active, or remove accounts.
You can find the configuration file in config/authagain-client.toml, and it offers one option:
persistAccounts(defaulttrue) - save accounts toconfig/authagain/accounts.json. If you would prefer to not save accounts, set this option tofalse.
Accounts are stored as plaintext JSON, which means that anyone who has access to your device and files will have your accounts.
Building requires a JDK 21 toolchain.
./gradlew chiseledBuildAndCollectThis builds every loader/version variant and gathers the jars under
build/libs/<version>/<loader>/. To only build a single variant, use
./gradlew :forge:1.20.1:build or ./gradlew :neoforge:1.21.1:build.
To run the tests for every loader/version variant:
./gradlew chiseledTestTo run for only a single variant: ./gradlew :forge:1.20.1:test or ./gradlew :neoforge:1.21.1:test.
AuthAgain uses Stonecutter for multi-version source processing and Architectury Loom for loader support.