SafeAuth
你是否曾在 Minecraft 聊天栏中输入密码,然后立刻想到“等等,这在直播/屏幕录制/背后的人眼里不是看得一清二楚吗?”SafeAuth 就是为了解决这个问题。它是一个小型的客户端模组,在你输入 /login 或 /register 的同时隐藏密码部分,这样你的屏幕上就永远不会明文显示密码供他人窥视。
它并不是专门的“直播工具”——它只是隐藏你的密码。无论你是正在 Discord 直播、录制视频、共享屏幕以提交技术支持工单,还是有人从你的显示器旁走过,密码都会以同样的方式被遮盖。
纯客户端运行。没有服务器插件,没有服务端组件,完全不需要在服务器上安装任何东西。SafeAuth 仅更改你自己屏幕上渲染的内容——它不会触碰、延迟、记录或修改任何实际通过网络发送的数据。它的原理是查看你本地的聊天输入框,并在你输入时覆盖其中的一部分;这就是全部机制。
功能
仅模糊密码,其他内容不受影响。 许多“简单地将文本字段涂黑”的方法最终会覆盖整行,包括 /login 部分,或者在你尚未输入任何内容时就模糊一个空框,这看起来不仅破损,反而比隐藏本身更引人注目。SafeAuth 实际上会解析你输入的内容,精确找出密码开始的位置(紧跟在 /login 或 /register 之后),并仅覆盖该部分。命令本身在整个过程中始终保持完全可读。
模糊效果是动态噪点,而非纯色矩形。 实心黑色或灰色方块很容易通过上下文重建,并且在某些编码器或截图中,纯色甚至可能略微渗透。相反,SafeAuth 会在密码上绘制不断变化的静态/噪点图案,每一帧都在变化,因此即使是在暂停的视频回放或单张截图中,也没有任何一致的特征可供人眯眼辨认。
尽力而为的聊天记录清理。 在某些服务器上,你输入的内容会被回显到聊天日志中(例如,如果服务器未取消该消息而是向所有人展示,或作为确认将其回显给你)。在模组加载器的 API 允许拦截的情况下,SafeAuth 还会尝试捕获这些回显的行,并在其渲染到你的聊天历史记录之前取消/隐藏它们,这样它们就不会留在滚动历史中以供日后查看。
一键切换,随处可用。 开启和关闭整个功能只需绑定一个按键。即使在使用聊天界面或其他 GUI 时也能正常工作——你不需要先关闭任何窗口,它即可直接使用。
计划中
键盘布局指示器。 在模糊密码旁边显示一个小标签,标明你当前输入的键盘布局——EN(英语)、RU(俄语)、UA(乌克兰语)、BY(白俄罗斯语)或 KZ(哈萨克语)。如果你在不注意的情况下切换了布局(使用多种语言时经常发生这种情况),否则你可能会发送包含乱码字符的密码,却不知道为什么登录失败。这将让你在执行回车键前一眼就能发现问题。
大写锁定警告。 当 Caps Lock 开启时,模糊区域旁边会立即亮起红色的 CAPS 标签。这与布局指示器的思路相同——密码通常区分大小写,而因误开大写锁定输入密码是导致“为什么不起作用”的最常见原因之一。这将使问题立即显现,而不是在三次登录失败后才意识到。
按住以揭示按钮。 目前它是全有或全无的模式——模式要么在整个会话期间开启,要么关闭。我们计划添加一个单独的按键,当密码字段处于焦点时按住它可以临时解除对该字段的模糊,以便你仔细检查实际输入的内容,松开后再次模糊。无需为了核对密码而反复开关整个模式。
自动更新。 SafeAuth 将在启动时检查是否有新版本可用,如果有,则静默下载至你的 mods 文件夹,以便在下一次启动游戏时就绪——无需手动检查 Modrinth 或自行重新下载 jar 文件。它只接触自己的文件,绝不触碰 mods 文件夹中的任何其他内容;此外还将提供一个配置选项来禁用此功能,以便你选择手动更新。
已知问题
将切换键绑定为字母键可能会泄露你的密码。 切换热键在任何地方都有效,包括在聊天框内输入时——因此,如果你将其绑定为字母键(Z 是常见选择,因为它紧邻 WASD),且该字母出现在你的密码中的任何位置,那么在输入密码中途按下该键会触发切换,关闭流媒体模式,并瞬间暴露你到目前为止输入的所有内容。这是一个真实存在的已确认 bug,我们知道它很严重。我们目前还没有修复方案,但这是当前的最高优先级,我们正在全力尽快修补它。在此修复之前,请避免将切换键绑定为字母键。
使用方法
- 在
选项 → 控制设置 → 键位绑定下的 SafeAuth 类别中绑定一次切换键(默认未绑定)。 - 当你希望密码被遮盖时按下它。模糊效果在启用时会自动激活——像往常一样输入
/login或/register即可。 - 该键位绑定适用于任何屏幕,包括聊天框本身。
- 你的选择在模组的配置文件中跨会话保存,因此无需每次启动游戏时重新启用。
支持版本
以下每个文件都是针对该版本真实的官方游戏映射编译并验证过的——不仅仅是猜测的兼容范围。如果一个文件涵盖多个 Minecraft 版本,则该跨度是通过针对每个版本的映射单独编译完全相同的代码来确认的。
| 加载器 | 版本 |
|---|---|
| Forge | 1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.4–1.20.6, 1.21.1, 1.21.11, 26.2 |
| NeoForge | 1.20.4, 1.20.6–1.21.1, 1.21.11, 26.2 |
| Fabric | 1.17.1–1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.4–1.21.1, 1.21.11 |
| Quilt | 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.4–1.20.6 |
不可用:Minecraft 1.14.4 / 1.15.2(仅提供了旧的 MCP 映射)、Fabric on 1.16.5(Loom 映射解析问题,无已知解决方案),以及 Fabric/Quilt on 26.2(Mojang 尚未发布此版本的官方 Java 映射——这完全取决于 Mojang,一旦他们发布即可解决)。
配置
- Forge / NeoForge:
config/authstreamerblur-client.toml—streamerMode(boolean) - Fabric / Quilt:
config/authstreamerblur.properties—streamerMode(boolean)
许可证
MIT
SafeAuth
Ever typed your password into Minecraft chat and immediately thought "wait, was that visible on stream / in my screen recording / to the person standing behind me"? That's what SafeAuth fixes. It's a small client-side mod that hides the password part of /login and /register right as you type it, so it's never sitting there in plain text on your screen for anyone else to read.
It's not a "streaming tool" specifically — it just hides your password. Doesn't matter if you're live on Discord, recording a video, sharing your screen for a support ticket, or someone's just walking past your monitor, the password is covered the same way either time.
Purely client-side. There's no server plugin, no server-side component, nothing to install on the server at all. SafeAuth only changes what gets drawn on your own screen — it doesn't touch, delay, log, or modify anything that actually gets sent over the network. It works by looking at your own local chat input box and covering up part of it while you type; that's the whole trick.
Features
Blurs only the password, nothing else. A lot of "just black out the text field" approaches end up covering the whole line, including the /login part, or blur an empty box before you've even typed anything, which looks broken and draws more attention than it hides. SafeAuth actually parses what you're typing, figures out exactly where the password starts (right after /login or /register ), and only covers that part. The command itself stays fully readable the whole time.
Blur is animated noise, not a flat rectangle. A solid black or gray box is easy to reconstruct from context, and on some encoders/screenshots a flat color can even bleed through slightly. Instead SafeAuth draws a shifting static/noise pattern over the password that keeps changing every frame, so there's nothing consistent for anyone to squint at even off a paused recording or a single screenshot.
Best-effort chat scrubbing. On some servers, whatever you type gets echoed back into the chat log (for example if the server doesn't cancel the message and just shows it to everyone, or shows it back to you as confirmation). On Minecraft versions where the mod loader's API actually allows intercepting that, SafeAuth also tries to catch that echoed line and cancel/hide it before it renders in your chat history, so it doesn't sit there in the scrollback for later either.
One keybind, works from anywhere. Toggling the whole thing on and off is a single key you bind once. It keeps working even while a chat screen or some other GUI is open — you don't need to close anything first, it just works.
Planned
Keyboard layout indicator. A small tag next to the blurred password showing whatever keyboard layout you're currently typing in — EN, RU, UA, BY, or KZ. If you swap layouts without noticing (which happens constantly if you use more than one language) you'd otherwise send a password full of garbage characters and have no idea why login failed. This will let you catch it at a glance before you hit enter.
Caps Lock warning. A red CAPS label that lights up next to the blur the moment Caps Lock is on. Same idea as the layout indicator — passwords are usually case-sensitive, and typing one with Caps Lock on by accident is one of the most common "why isn't this working" moments. This will make it visible immediately instead of after three failed login attempts.
Hold-to-reveal button. Right now it's all-or-nothing — the mode is either on for the whole session or off. We want to add a separate key you can hold down while a password field is focused that temporarily lifts the blur on just that one field so you can double check what you actually typed, then blurs again the second you let go. No need to flip the whole mode off and back on just to sanity-check a password.
Self-updating. SafeAuth will check on launch whether a newer version is available and, if so, quietly download it into your mods folder so it's ready to go the next time you start the game — no manually checking Modrinth or re-downloading a jar yourself. It only ever touches its own file, never anything else in your mods folder, and there'll be a config option to turn it off if you'd rather update manually.
Known issues
Binding the toggle to a letter key can reveal your password. The toggle hotkey works everywhere, including while you're typing inside the chat box itself — so if you've bound it to a letter (Z is a common pick since it's right next to WASD) and that same letter shows up anywhere in your password, typing it mid-password fires the toggle, turns streamer mode off, and reveals everything you've typed so far, instantly. This is a real, confirmed bug and we know it's a serious one. We don't have a fix ready yet, but it's the top priority right now and we're working to get it patched as fast as we possibly can. Until this is fixed, avoid binding the toggle to letter keys.
How to use
- Bind the toggle key once in
Options → Controls → Key Binds, under the SafeAuth category (unbound by default). - Press it whenever you want your password covered. The blur activates automatically the moment it's on — just type
/loginor/registeras usual. - The keybind works from any screen, including the chat box itself.
- Your choice is saved between sessions in the mod's config file, so you don't need to re-enable it every launch.
Supported versions
Every file below was compiled and verified against that version's real, official game mappings — not just a guessed compatibility range. Where one file covers several Minecraft versions, that span was confirmed by compiling the exact same code against each version's mappings individually.
| Loader | Versions |
|---|---|
| Forge | 1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.4–1.20.6, 1.21.1, 1.21.11, 26.2 |
| NeoForge | 1.20.4, 1.20.6–1.21.1, 1.21.11, 26.2 |
| Fabric | 1.17.1–1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.4–1.21.1, 1.21.11 |
| Quilt | 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.4–1.20.6 |
Not available: Minecraft 1.14.4 / 1.15.2 (Forge only shipped legacy MCP mappings for these), Fabric on 1.16.5 (a Loom mapping-resolution issue with no known workaround), and Fabric/Quilt on 26.2 (Mojang has not published official Java mappings for this version yet — this is entirely on Mojang's end and gets picked up the moment they do).
Configuration
- Forge / NeoForge:
config/authstreamerblur-client.toml—streamerMode(boolean) - Fabric / Quilt:
config/authstreamerblur.properties—streamerMode(boolean)
License
MIT
下载 SafeAuth
下载 SafeAuth
下载 SafeAuth
下载 SafeAuth
下载 SafeAuth
下载 SafeAuth
下载 SafeAuth
下载 SafeAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SafeAuth
下载 SafeAuth
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧