This is a major release featuring a complete overhaul of the core architecture and full support for the modern Velocity API.
ConfigurationNode dependency with a faster, custom-built SimpleYamlConfig parser.PlayerLoginEvent.disallow, etc.) while maintaining full compatibility from Minecraft 1.8 to 1.21.TextComponent constructors, reducing console clutter.NullPointerException when loading empty configuration nodes in the Velocity module.SimpleYamlConfig and legacy configuration nodes.This is a crucial stability update that significantly improves how the plugin handles unstable database connections.
com.mysql.cj.jdbc.Driver first and falls back to com.mysql.jdbc.Driver if not found. This resolves startup issues on older Minecraft versions (e.g., 1.8.8).Updated for latest Velocity API: Replaced deprecated ServerConnectEvent with modern ServerPreConnectEvent for full compatibility with current Velocity versions.
Improved target server detection: The final destination server is now correctly identified before connection, even when redirects occur.
Pre-join blacklist and limit checks: Players are now blocked before switching servers, preventing unnecessary connections.
Stability improvements: Minor internal optimizations and improved logging for better maintainability.

ServerSwitch is a versatile plugin for BungeeCord and Spigot servers, offering comprehensive server switch logging and serving as an alternative to OnlyProxyJoin. MYSQL is required.