A Fabric Mod that automatically logs in when entering a server with authentication.
-
Manually modify the configuration file located at
.minecraft/config/autologin.json, for example:{ "mainToggle": true, "serverAddresses": "play.xxx.net,play.yyy.com,mc.xxx.cn", "password": "your password", "promptRequireLogin": "login", "promptRequireRegister": "register", "loginCommand": "/l %p", "registerCommand": "/reg %p %p" } -
Find and modify AutoLogin in the 'Mods' option.
-
mainToggle: Whether to enable AutoLogin -
serverAddresses: The server addresses that enable auto login, use ',' to separate multiple addresses -
password: Password -
promptRequireLogin: The keywords of the system message sent by the server when the player needs to log in, such as 'login required', use ',' to separate multiple keywords -
promptRequireRegister: The keywords of the system message sent by the server when the player needs to register, such as 'register required', use ',' to separate multiple keywords -
loginCommand: Login command, use '%p' to replace the password -
registerCommand: Register command, use '%p' to replace the password
- This Mod depends on Fabric API, Cloth-Conf
- This Mod has only been tested on Minecraft 1.20.2 version, other versions have not been tested
This project uses GPLv3 license, please refer to LICENSE file for details.
