A client-side mod which lets you log into your Minecraft account in the IDE using device-code or password-based authentication.
This is a very simple Minecraft mod designed for developers wanting to simplify the process of logging into a Minecraft account for testing in the IDE. All code and libraries used are open source, so it's highly transparent what data is used and where it is going.
Support for saving session tokens is also included, meaning when your auth token expires, the mod will refresh the token if possible, saving you from having to log back in every time. If you wish to disable this feature, simply add --saveToken false
to your program arguments.
Usage
- Simply download this mod and place it in the
mods
folder in the runtime directory for your mod - Upon starting the client, the mod will prompt you with a login window on Microsoft's websote for device-based authentication. This is the default (and safest) way to log into your account.
- Upon a successful login, the client will resume it's startup process and you will be logged into the account once the game starts up
Password-based authentication
While not as recommended as device-code based auth, this option exists as well. In your program arguments, simply specify the --username
and --password
options for your username and password. This will skip the device-code authentication flow and log you into your account using just your username and password.
Links
- Donate: https://patreon.com/redned
- Issues: Open an issue
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+