
Server Switcher Bungee
A lightweight BungeeCord plugin that adds customizable short commands like /smp or /lobby to instantly send players to servers.
Список изменений
Major Additions
-
Priority Queue Tiers Implemented ranked queue positions based on permissions (staff/VIP/etc.).
-
Queue Status Actionbar Updates Players now receive periodic actionbar updates showing queue position and players ahead.
-
Auto-Route on Join New players can be automatically routed to a default short command on login.
-
Smart Server Selection (Least Players) Commands can now intelligently route to the least-populated server from a group of candidates.
-
Maintenance Mode / Command Disable Each command can be toggled on/off and show a customizable “maintenance” message.
-
Per-Command MOTD + Access Permission Each short command supports:
motd:message on joinallow-permission:for gated access
-
Confirmation Click for Selected Commands High-risk servers (e.g., hardcore) now require a click-to-confirm join.
-
Multi-Language Support (EN & NL) Added
messages_en.ymlandmessages_nl.yml, with automatic language selection via permissions. -
Queue Grace System Players who disconnect keep their queue position for a configurable grace period.
✅ Technical Fixes & Improvements
Non-Deprecated Hover Event API
Updated ConfirmManager.java to use the modern:
new HoverEvent(HoverEvent.Action.SHOW_TEXT, new Text("..."))
instead of deprecated BaseComponent[] constructors.
Java 8 Compatibility
Replaced all var usages with explicit types
(e.g., ServerInfo info = ...) to maintain BungeeCord’s Java 8 requirement.
New Managers Added
- ConfirmManager – handles click-to-confirm
- LangManager – loads and selects language files
- QueueManager – upgraded for priority, smart select, and grace periods
- ProxyJoinListener – handles auto-routing logic
🧩 New Config Options
Added support for:
-
queue.tiers -
queue.status -
queue.grace-seconds -
auto-route.* -
smart-select.* -
confirm.* -
lang.* -
Per-command:
enabledmotdallow-permission
Full updated config example included in documentation.
