Shimatsu ProxyFallback
Shimatsu ProxyFallback 是一款轻量且高效的 Velocity 代理插件,旨在即使后端服务器故障时也能保持你的社区在线连接。
? 插件背后的故事
该插件最初是专为我的服务器 Shimatsu Network 开发的。我曾花费大量时间寻找一款简单可靠的回退(fallback)插件以满足我们的特定需求,但未能找到合适的方案。因此我决定自行编写解决方案,并公开分享,以帮助其他正在寻找“即插即用”式回退系统的服务器管理员。
⚡ 主要功能
自动回退:
当玩家当前所在的服务器崩溃或关闭时,无缝地将他们转移至大厅(或任何指定的服务器)。
简易排除系统:
使用基本的字符串匹配来识别不应触发回退的断开连接原因(例如,防止将被封禁的玩家发送回大厅)。
自定义服务器命令:
在配置文件中直接创建带有自定义权限的快捷命令(如 /vanilla 或 /lobby)。
多语言支持:
预配置了英文和捷克语,利用 MiniMessage (Adventure) 实现现代化、易于风格化的格式设置。
选择性回退:
可选择是否为代理上的所有服务器启用回退功能,还是仅针对特定列表中的服务器启用。
⚠️ 重要信息
!IMPORTANT 简易排除系统:excluded-reasons(排除原因)功能是一个基于字符串的过滤器。它会扫描断开连接消息中的特定关键词(例如 “banned”)。这仅作为基础过渡方案。为了保障网络的安全,强烈建议使用专用的惩罚插件(如 LibertyBans 或 AdvancedBans),以便在整个网络中统一处理封禁和踢出操作。
!NOTE 兼容性:本插件专门针对 Velocity 1.21.11 开发并经过测试。预计它也能在 Velocity 1.21.1 及更高版本上正常运行,但在全面部署之前,请务必在你的具体环境中进行充分测试。
⚙️ 配置
该插件设计为高度灵活。你可以在 config.yml 中修改回退逻辑、所有面向玩家的提示信息以及自定义命令。
?️ 命令与权限
自定义命令:
由你在配置文件中定义(默认:/lobby, /vanilla)。
权限:
可以为每个命令分配自定义权限
(例如 proxyfallback.command.lobby)。
Shimatsu ProxyFallback
Shimatsu ProxyFallback is a lightweight and efficient solution for Velocity proxies, designed to keep your community connected even when backend servers fail.
? The Story Behind the Plugin
This plugin was originally developed exclusively for my own server, Shimatsu Network. I spent a lot of time looking for a simple and reliable fallback plugin that met our specific needs, but I couldn't find anything that fit. I decided to write my own solution and share it with the public to help other server owners who are looking for a "plug and play" fallback system.
⚡ Key Features
Automatic Fallback:
Seamlessly moves players to the lobby (or any designated server) if their current server crashes or shuts down.
Simple Exclusion System:
Uses a basic string-check to identify disconnect reasons that should not trigger a fallback (e.g., stopping the proxy from sending banned players back to the lobby).
Custom Server Commands:
Create your own shortcut commands (like /vanilla or /lobby) with custom permissions directly in the configuration.
Multi-language Support:
Pre-configured for English and Czech, utilizing MiniMessage (Adventure) for modern, easy-to-style formatting.
Selective Fallback:
Choose whether to enable fallback for all servers on your proxy or only a specific list.
⚠️ Important Information
!IMPORTANT Simple Exclusion System: The excluded-reasons feature is a simple string-based filter. It scans the disconnect message for specific keywords (e.g., "banned"). This is intended as a basic bridge. For proper network security, it is highly recommended to use a dedicated punishment plugin (such as LibertyBans or AdvancedBans) that handles bans and kicks across the entire network.
!NOTE Compatibility: This plugin was specifically developed and tested on Velocity 1.21.11. While it is expected to function correctly on Velocity 1.21.1 and newer, please test it thoroughly in your specific environment before full deployment.
⚙️ Configuration
The plugin is designed to be highly flexible. You can modify the fallback logic, all player-facing messages, and custom commands in the config.yml.
?️ Commands & Permissions
Custom Commands:
As defined by you in the config (Default: /lobby, /vanilla).
Permissions:
Custom permissions can be assigned to each command
(e.g., proxyfallback.command.lobby).
评论 0
登录后参与评分
还没有评论,来抢沙发吧