tiAuth
BungeeCord 授权插件
功能:
- 对话框支持
(1.21.6+)- 带有密码输入字段的交互式窗口
- 正版模式 (Premium mode)
- 允许已验证的玩家通过激活本地
online-mode true跳过密码输入
- 允许已验证的玩家通过激活本地
- 会话支持 (Session support)
- 允许玩家在成功认证后的一段时间内跳过密码输入
- 多种数据库类型支持
- 支持
SQLite,H2,MySQL,PostgreSQL
- 支持
- 虚拟服务器 (Virtual server)
- 由 PicoLimbo 驱动的认证服务器虚拟服务器
命令:
玩家可用:
/register <password> <password>- 注册账号/login <password>- 登录/logout- 销毁会话/changepassword <old password> <new password>- 修改密码/premium- 启用正版模式/unregister <password>- 删除账号
管理员可用:
/tiauth reload- 重载配置- 权限:
tiauth.admin.commands.reload
- 权限:
/tiauth unregister <player>- 删除玩家账号- 权限:
tiauth.admin.commands.unregister
- 权限:
/tiauth changepassword <player> <password>- 修改玩家密码- 权限:
tiauth.admin.commands.changepassword
- 权限:
/tiauth forcelogin <player>- 强制玩家登录- 权限:
tiauth.admin.commands.forcelogin
- 权限:
/tiauth migrate <sourceplugin> <sourcedatabase> [file] [user] [password] [host] [port] [name]- 从其他插件/数据库类型迁移数据- 权限:
tiauth.admin.commands.migrate
- 权限:
/tiauth backup create [name] [compress 0-9]- 创建数据库备份- 权限:
tiauth.admin.commands.backup
- 权限:
/tiauth backup restore <name>- 恢复数据库备份- 权限:
tiauth.admin.commands.backup
- 权限:
迁移
支持的插件
- tiAuth(用于更改数据库类型)
- MCAuth
- LimboAuth
- AuthMe
迁移命令
以下是这些插件默认使用的数据库类型的命令。
如果您使用的是基于文件的数据库(SQLite 或 H2):
- 将数据库文件放入插件文件夹。
- 对于 H2,文件名中不要包含
.mv.db扩展名。 - 如果没有用户名或密码,请将
user和password都设置为empty。
MCAuth SQLite
/tiauth migrate mcauth sqlite auth.db
LimboAuth H2
/tiauth migrate limboauth h2 limboauth-v2 empty empty
AuthMe SQLite
/tiauth migrate authme sqlite authme.db
重要 — LimboAuth H2 迁移
在从 LimboAuth H2(默认使用 H2 作为其数据库)迁移之前:
- 打开你的
config.yml。 - 将
libraries.h-2下的version值更改为 2.1.214。 - 删除 tiAuth 数据库文件(如果你使用的是 H2——它是默认设置)。
- 重启服务器。
这是必需的,因为 LimboAuth 使用的是一个过时的 H2 版本,该版本与 tiAuth 默认使用的较新版本不兼容。
如果跳过这些步骤,插件将在迁移过程中抛出错误。
虚拟服务器转发设置(用于正确的玩家重定向):
- 在插件配置中,设置
servers.use-virtual-server: true并重启服务器。 - 导航到虚拟服务器配置文件:
/plugins/tiAuth/picolimbo/config.toml。 - 在
[forwarding]部分,选择你偏好的method:MODERN—— 适用于 Velocity 或支持现代转发的任何代理。在secret字段中输入你的密钥。BUNGEE_GUARD—— 适用于 BungeeGuard。添加一个tokens字段作为数组,例如:tokens = ["123", "456", "789"]。LEGACY—— 适用于传统转发。
- 重启服务器。
其他配置:
要禁用图纸(schematics)的使用,请在 [world.experimental] 部分设置 schematic_file = ""。如果你想使用自己的图纸,请提供文件路径(注意:文件可能需要进行转换;有关更多详细信息,请参阅 PicoLimbo 文档)。
支持
tiAuth
Authorization plugin for BungeeCord
Features:
- Dialog window support
(1.21.6+)- Interactive window with a password input field
- Premium mode
- Allows licensed players to skip password entry by activating local
online-mode true
- Allows licensed players to skip password entry by activating local
- Session support
- Allows players to skip password entry for a certain period after successful authentication
- Multiple database types support
- Supports
SQLite,H2,MySQL,PostgreSQL
- Supports
- Virtual server
- Virtual server for auth server powered by PicoLimbo
Commands:
For players:
/register <password> <password>- Register an account/login <password>- Log in/logout- Destory session/changepassword <old password> <new password>- Change password/premium- Enable premium mode/unregister<password> - Delete account
For administrators:
/tiauth reload- Reload config- Permission:
tiauth.admin.commands.reload
- Permission:
/tiauth unregister <player>- Delete player account- Permission:
tiauth.admin.commands.unregister
- Permission:
/tiauth changepassword <player> <password>- Change player password- Permission:
tiauth.admin.commands.changepassword
- Permission:
/tiauth forcelogin <player>- Force login player- Permission:
tiauth.admin.commands.forcelogin
- Permission:
/tiauth migrate <sourceplugin> <sourcedatabase> [file] [user] [password] [host] [port] [name]- Migrate database from other plugins/database type- Permission:
tiauth.admin.commands.migrate
- Permission:
/tiauth backup create [name] [compress 0-9]- Create database backup- Permission:
tiauth.admin.commands.backup
- Permission:
/tiauth backup restore <name>- Restore database backup- Permission:
tiauth.admin.commands.backup
- Permission:
Migration
Supported Plugins
- tiAuth (for changing the database type)
- MCAuth
- LimboAuth
- AuthMe
Migration Commands
Below are the commands for the default database types used by these plugins.
If you are using a file-based database (SQLite or H2):
- Place the database file into the plugin folder.
- For H2, do not include the
.mv.dbextension in the filename. - If there is no username or password, set both
userandpasswordtoempty.
MCAuth SQLite
/tiauth migrate mcauth sqlite auth.db
LimboAuth H2
/tiauth migrate limboauth h2 limboauth-v2 empty empty
AuthMe SQLite
/tiauth migrate authme sqlite authme.db
Important — LimboAuth H2 Migration
Before migrating from LimboAuth H2 (which uses H2 as its default database):
- Open your
config.yml. - Change the
versionvalue underlibraries.h-2to 2.1.214. - Delete the tiAuth database file (if you are using H2 — it’s the default).
- Restart your server.
This is required because LimboAuth uses an outdated version of H2 that is incompatible with the newer version used by tiAuth by default.
If you skip these steps, the plugin will throw an error during migration.
Virtual server forwarding setup (required for proper player redirection):
- In the plugin configuration, set
servers.use-virtual-server: trueand restart the server. - Navigate to the virtual server configuration file:
/plugins/tiAuth/picolimbo/config.toml. - In the
[forwarding]section, select your preferredmethod:MODERN— for Velocity or any proxy supporting Modern forwarding. Enter your key in thesecretfield.BUNGEE_GUARD— for BungeeGuard. Add atokensfield as an array, for example:tokens = ["123", "456", "789"].LEGACY— for legacy forwarding.
- Restart the server.
Additional configuration:
To disable the use of schematics, set schematic_file = "" in the [world.experimental] section. If you wish to use your own schematic, provide the file path (note: the file may need to be converted; check the PicoLimbo documentation for more details).
Full documentation for PicoLimbo configuration
Support
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 tiAuth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复工作 MINIMESSAGE
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧