Instant Auth
其他插件通常要等到你因无效会话被踢出后才处理。Instant Auth 会在你加入服务器之前、以及单人世界加载之前刷新会话。
它保留你启动 Minecraft 时使用的账户。只有当你选择另一个账户时才会切换。如果你愿意,仍然可以添加额外的微软账户。仅限客户端使用。令牌保存在你的电脑(加密)上的 .minecraft/instantauth/ 目录下。
功能
- 加入前/世界加载前自动重新认证
- 多人游戏界面上的账户徽章(头像 + 名称,可拖拽移动)
- 在游戏内添加、切换和移除微软账户
- 浏览器登录(或设备代码登录)
- 加密的本地令牌
- 可选的 Mod Menu 设置支持
- 可选的身份验证代理(高级),在设置中提供开/关、测试和状态显示
使用方法
打开多人游戏列表,那里有一个小徽章,这就是 Instant Auth。
- 点击徽章以打开账户管理界面
- 如果它遮挡了内容或你想调整位置,可以拖拽它
- LED 指示灯显示自动重新认证状态。绿色表示开启。可在设置中更改
账户
单击某行以选中它。
- 使用账户或双击已保存的账户即可切换到该账户
- 强制登录可打开微软登录界面/刷新会话
- 添加账户可添加另一个微软账户。如果你想调用账户选择器(而不是直接登录浏览器中已登录的账户),请按住 Ctrl 键点击“添加账户”
- 移除 / 设置 / 完成位于底部一行
即使切换仍在进行中,你也可以按“完成”。加入(和世界加载)会等待切换完成。如果发生错误,原因会在此处显示。
仍然被踢出?断开连接屏幕上有账户按钮。
LAUNCHER 不是已保存的账户
LAUNCHER 行仅表示“Minecraft 启动时所基于的那个账户”。在你将其保存之前,Instant Auth 无法刷新该账户。
选中 LAUNCHER,点击强制登录,并使用相同的微软账户登录。之后它就成为一个普通的已保存账户,自动重新认证就能正常工作了。
设置
从账户界面进入,或通过 Mod Menu(如果你安装了的话):登录方式、自动重新认证、启动时刷新启动账户(不会切换到不同的配置文件)、始终显示选择器、徽章位置、语言、回调端口、可选的加密密码。
设置下还有身份验证代理设置(旁边会显示开/关状态)。这是高级选项。除非在没有代理的情况下 Instant Auth 无法连接到微软,否则请保持关闭。当代理关闭时,主机和端口会被保存。Instant Auth 不会自动复制你的启动器代理设置。
登录
保持登录界面打开,直到浏览器(或设备代码页面)完成操作。对于设备代码,打开链接并输入黄色代码。

更多截图请在画廊中查看。
Fabric,Minecraft 1.20 至 26.3。请使用与你的版本匹配的文件。未与 Mojang 或 Microsoft 建立关联。
由 Eloxad 创建。项目页面和下载。采用 MIT 许可证。
Instant Auth
Other plugins usually wait until you already got kicked with Invalid Session. Instant Auth refreshes before you join a server, and before a singleplayer world loads.
It keeps the account you started Minecraft with. It only switches when you pick a different one. You can still add extra Microsoft accounts if you want. Client-only. Tokens stay on your PC (encrypted) under .minecraft/instantauth/.
Features
- Auto-reauth before join / world load
- Account badge on the multiplayer screen (head + name, drag to move)
- Add, switch, and remove Microsoft accounts in-game
- Browser login (or device code)
- Encrypted local tokens
- Optional Mod Menu support for settings
- Optional auth proxy (advanced) with on/off, test, and status in Settings
How to use
Open the multiplayer list, there you find a small badge, this is Instant Auth.
- Click the badge to open Accounts
- Drag it if it's covering something or you like another position
- The LED shows auto-reauth status. Green = on. Change it in Settings
Accounts
Click a row to highlight it.
- Use account or double-click a saved account to switch to it
- Force login opens Microsoft login / refresh the session
- Add account adds another Microsoft account. Ctrl-click Add account if you want the account picker (instead of signing into whatever account you signed in, in browser)
- Remove / Settings / Done are on the bottom row
You can press Done while a switch is still running. Join (and world load) wait until it's finished. If something fails, the reason shows up here.
Kicked anyway? The disconnect screen has an Accounts button.
LAUNCHER is not a saved account
The LAUNCHER row is only "whatever Minecraft started as". Instant Auth cannot refresh that until you save it.
Select LAUNCHER, hit Force login, and sign in with the same Microsoft account. After that it's a normal saved account and auto-reauth can do its job.
Settings
From Accounts, or from Mod Menu if you have it: login method, auto-reauth, refresh the launch account on start (never swaps in a different profile), always show the picker, badge position, language, callback port, optional encryption password.
There is also Auth proxy settings under Settings (it shows on/off next to it). That is advanced. Leave it off unless Instant Auth cannot reach Microsoft without it. Host and port stay saved when it is off. Instant Auth does not copy your launcher proxy on its own.
Logging in
Keep the login screen open until the browser (or device-code page) is done. With device code, open the link and type in the yellow code.

More screenshots are in the gallery.
Fabric, Minecraft 1.20 through 26.3. Use the file that matches your version. Not affiliated with Mojang or Microsoft.
Created by Eloxad. Project page and downloads. Licensed under MIT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧