这是一个适用于 Spigot/Paper 的 Minecraft 插件,允许服务器管理员在玩家使用已弃用或即将不再支持的客户端版本加入时向其发出警告。
1.0.0 版新增功能:
- 对已弃用的 Minecraft 客户端版本的加入警告
- 在
config.yml 中完全可配置的警告规则
- 支持基于协议的旧版和新版版本匹配
- 带有占位符和颜色代码的自定义警告消息
- 可选的管理员通知功能,当弃用客户端加入时触发
- 控制台日志记录检测到的弃用客户端版本
- 拥有权限的玩家可使用
/vw toggle 自行开关警告
- 无需重启服务器即可重载配置更改的命令
- 用于排查协议检测问题的调试模式
- 支持从 1.17 到 26.2 的 Minecraft 版本
命令:
- /versionwarning reload - 重载插件配置
- /versionwarning check <player> - 检查某玩家的已检测客户端版本
- /versionwarning list - 显示所有已配置的弃用规则
- /versionwarning toggle - 开启或关闭自己的警告
权限:
- versionwarning.admin - 访问管理员命令
- versionwarning.bypass - 允许使用 /vw toggle 开关自己的警告
- versionwarning.notify - 接收关于弃用客户端加入的管理员通知
更新时的重要提示:
如果您是从较旧的构建版本进行更新,请替换旧的 jar 文件并检查您的 config.yml 设置。如有需要,请删除现有配置文件以重新生成最新的默认值。
如果您有任何问题、建议或新插件请求,请通过 Discord 给我发送消息。
This is a Minecraft plugin for Spigot/Paper which allows server administrators to warn players when they join with deprecated or soon unsupported client versions.
New in Version 1.0.0:
- Join warnings for deprecated Minecraft client versions
- Fully configurable warning rules in
config.yml
- Supports protocol-based matching for old and newer versions
- Custom warning messages with placeholders and color codes
- Optional admin notifications when deprecated clients join
- Console logging for detected deprecated client versions
- Self-toggle for players with permission using
/vw toggle
- Reload command for config changes without restarting the server
- Debug mode for troubleshooting protocol detection
- Supports Minecraft versions from 1.17 up to 26.2
Commands:
- /versionwarning reload - Reload the plugin configuration
- /versionwarning check <player> - Check a player's detected client version
- /versionwarning list - Show all configured deprecation rules
- /versionwarning toggle - Toggle your own warnings on or off
Permissions:
- versionwarning.admin - Access to admin commands
- versionwarning.bypass - Allows toggling your own warnings with /vw toggle
- versionwarning.notify - Receive admin notifications for deprecated joins
Important when updating:
If you update from an older build, replace the old jar and review your config.yml settings. If needed, delete the existing config to regenerate the latest default values.
Just send me a message on Discord if you have any questions, suggestions, or requests for new plugins.
评论 0
登录后参与评分
还没有评论,来抢沙发吧