|
简化授权 (Simplified Auth)Github |相关wiki |源站链接支持: fabric为更好的冒险(Better Than Adventure)提供授权功能的服务器端巴布裡克(Babric)修改,允许使用游戏内命令,如`register` 或 `login` 进行授权。
设置
1. 为使模组工作,需要在服务器中安装 Babric BTA 服务器实例([点击此处获取](链接)),并安装 halplibe (默认包含在 BTA 实例中)。
2. 不要忘记在服务器目录和配置文件指定的任何其他目录上设置读/写权限(默认情况下应该对服务器可用,但有时可能会发生变化)。
客户端问题
如果您使用 babric v7.1-pre1a 和 babric v7.1-pre2a 版本运行服务器,则玩家也应使用相同的 babric 版本。
配置
目前的配置只允许设置以下内容:
DatabaseManager- 指定用于存储玩家数据的数据库引擎(目前仅支持 JSON 文件)。Address- 当指定为 JSON 数据库管理器时,Address 将指向存储\"数据库\"文件的目录。Schema- 当指定为 JSON 数据库管理器时,它将指向存储用户名和加密密码的 JSON 文件的名称。SessionLife- 会话的寿命(以小时为单位,默认为 48)。以整数的形式提供。如果指定为 -1,则会话时间将不受限制(不建议使用)。
JSON 管理器模式下的修改应默认创建所需的路径和文件。
截图:

来自Modrinth所有游戏版本b1.7.3所有类型fabricSimplified Auth (BTA) 7.3-1.0simplifiedAuth-7.3-1.0.jar下载7.3-1.0#ReleasesimplifiedAuth-7.3-1.0-sources.jar下载7.3-1.0#Release* Added LoginKickTimeout config property by [solignomiki](https://github.com/solignomiki)* Added ResetUserCommand (deletes user from database, so they can set new password) by [solignomiki](https://github.com/solignomiki)* Ported to 7.3 pre3 by [solignomiki](https://github.com/solignomiki)展开版本: 7.3-1.0支持游戏: b1.7.3类型:FabricRelease下载次数: 186Simplified Auth 1.7.7.0-3.0simplifiedAuth-1.7.7.0-3.0.jar下载1.7.7.0-3.0#ReleasesimplifiedAuth-1.7.7.0-3.0-sources.jar下载1.7.7.0-3.0#ReleaseBackport of [7.1-3.0](https://modrinth.com/mod/simplifiedauth-bta/version/7.1-3.0) for BTA 1.7.7.0_02展开版本: 1.7.7.0-3.0支持游戏: b1.7.3类型:FabricRelease下载次数: 295Simplified Auth 7.1-3.0simplifiedAuth-7.1-3.0.jar下载7.1-3.0#ReleasesimplifiedAuth-7.1-3.0-sources.jar下载7.1-3.0#Release# What\'s Changed- Security: now, the password entered by the user is not displayed in the server logs.- Removed: command `/version` to avoid conflicts with other mods.- Added: command `/simplifiedauth` (alias `/as`), performs the same function as the above command.- Changed: player see only \"Use /register...\", when they aren\'t registered. The registered user does not see the message that he needs to register, only the login.展开版本: 7.1-3.0支持游戏: b1.7.3类型:FabricRelease下载次数: 132全部版本
文章类型:收录layui.use([\'form\'], function(){
var form = layui.form;
});
简化授权 |
楼主
2025-8-10 19:19:09
回复(0)
收起回复
|