使用方法
本模组提供了一种更高级的服务器保护方式。它适用于将 online-mode 设置为 false 的服务器,以防止账号被盗和玩家坐标泄露。
工作原理
当玩家尝试连接服务器时,SHAuth 会联系服务器并验证连接的玩家是否提供了与其用户名绑定的有效密钥。如果密钥有效,连接将继续;否则,该玩家将被踢出。

防护内容
- 在将
online-mode设置为false的服务器上,任何人都可以随意选择用户名并冒充其他玩家。SHAuth 阻止攻击者以他人身份加入。 - 大多数登录系统要求你先连接到服务器,然后再进行登录。这个过程允许攻击者获取诸如玩家坐标等信息,这在竞争性服务器中可能会令人沮丧。然而,SHAuth 在授予访问权限之前需要有效的凭据。
如何使用
- 管理员首先通过执行 /shauth authorize <username> 为你的账户创建一个绑定的密钥。
- 玩家在服务器地址下的服务器属性菜单中输入该密钥。

命令
- /shauth authorize <username> - 为玩家分配一个密钥,赋予其访问服务器的权限。
- /shauth unauthorize <username> - 使分配给玩家的密钥失效,撤销其访问服务器的权限。
- /shauth reset <username> - 重新为玩家分配一个密钥,使旧密钥失效(如果密钥泄露,此功能非常有用)。
- /shauth list - 显示已分配密钥的玩家列表。
- /shauth help - 显示包含所有命令的消息。
Usage
This mod provides a more advanced way to protect your server. It is used on servers that have online-mode to false in order to prevent account stealing and player coordinate leakage.
How it works
When a player tries to connect to a server, SHAuth contacts the server and verifies that the connecting player provides a valid key tied to their username. If the key is valid, the connection proceeds, otherwise the player is kicked.

What it safeguards against
- In servers that have online-mode to false, anyone can pick any username and impersonate another player. SHAuth prevents attackers from joining as someone else.
- Most log-in systems require you to first connect to the server and then log-in. This process allows an attacker to access information like the player's cordinates, which can be frustrating in competitive servers. However, SHAuth requires valid credentials before granting access.
How to use it
- An operator first creates a key tied to your account by doing /shauth authorize <username>.
- The player enters the key in in the server's properties menu under the server address.

Commands
- /shauth authorize <username> - Assigns a key to a player which grants them access to the server.
- /shauth unauthorize <username> - Invalidates the key assigned to a player which revokes their access to the server.
- /shauth reset <username> - Reassigns a key to a player, invalidating the old one (useful if the key gets leaked).
- /shauth list - Shows the list of players which have been assigned keys.
- /shauth help - Shows a message containing all the commands.
下载 SHAuth
下载 SHAuth
下载 SHAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SHAuth
下载 SHAuth
下载 SHAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SHAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 添加了自动按键分配系统
- 在客户端添加了按键保存功能,用于自动存储按键设置
- 在客户端添加了提示通知,用于显示有用信息
- 添加了版本检查器
- 修复了用户名相关错误
- 优化了握手逻辑
- 清理了代码
- 支持 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧