SpawnAuth
身份验证等待区与位置还原插件
» 简介
在玩家登录或注册之前,将其隔离在主世界之外。系统会在将玩家移至等待点之前保存其原始位置,并在成功通过身份验证后恢复该位置。
旨在替代认证插件内置的出生点/等待区处理功能,防止出现诸如玩家卡在出生点、死亡后生成到错误位置或其他与身份验证相关的边缘情况等问题。
建议在使用此插件时,禁用你的认证插件中相应的出生点/等待区功能。
» 支持的认证插件
- AuthMe
- nLogin
- OpeNLogin
- LoginSecurity
- LoginTo
至少需要安装一个受支持的认证插件。
» 等待模式
vanilla
将玩家保留在主世界的服务器出生点附近。
fixed
将玩家移动至配置好的固定位置,通常位于专用的虚空世界。
disabled
在玩家未通过身份验证期间,不移动玩家。
成功通过身份验证后,玩家始终会被返回至被移动前的位置。
» 存储
SpawnAuth 支持三种存储模式:
- SQLite — 本地持久化存储
- MySQL — 外部持久化存储
- Memory — 仅临时内存存储
也可以在与数据库配合的同时启用内存缓存。如果数据库不可用,当设置 database.cache: true 时,SpawnAuth 可以回退到缓存;否则,持久化功能将被禁用。
» 注意事项
- 所有维度均使用同一配置的等待世界
- 使用 SpawnAuth 时,请禁用认证插件内置的出生点/等待区处理功能
祝使用愉快!
SpawnAuth
Authentication limbo and location restoration plugin
» About
Keeps unauthenticated players away from the main world until they log in or register. Their original location is saved before they are moved to a waiting spot and restored after successful authentication.
Designed to replace the built-in spawn/limbo handling of authentication plugins, preventing issues such as players getting stuck at spawn, spawning in the wrong location after death, or other authentication-related edge cases.
It is recommended to disable the corresponding spawn/limbo features in your authentication plugin when using this plugin.
» Supported Authentication Plugins
- AuthMe
- nLogin
- OpeNLogin
- LoginSecurity
- LoginTo
At least one supported authentication plugin is required.
» Waiting Modes
vanilla
Keeps the player near the server spawn in the overworld.
fixed
Moves the player to a configured fixed location, typically in a dedicated void world.
disabled
Does not move the player while they are unauthenticated.
After successful authentication, the player is always returned to the location they had before being moved.
» Storage
SpawnAuth supports three storage modes:
- SQLite — local persistent storage
- MySQL — external persistent storage
- Memory — temporary in-memory storage only
The in-memory cache can also be enabled alongside a database. If the database becomes unavailable, SpawnAuth can fall back to the cache when database.cache: true; otherwise, persistence is disabled.
» Notes
- The same configured world is used for all dimensions
- Disable the authentication plugin's built-in spawn/limbo handling when using SpawnAuth
Enjoy SpawnAuth!
评论 0
登录后参与评分
还没有评论,来抢沙发吧