Перейти к содержимому
Mineforgian

Server Switcher Bungee

A lightweight BungeeCord plugin that adds customizable short commands like /smp or /lobby to instantly send players to servers.

Загрузки
262
Подписчики
2
Обновлён
22 ноября 2025 г.
Лицензия
MIT

Опубликован 22 ноября 2025 г.


🌀 Server Switcher Bungee The Ultimate Server Switcher for BungeeCord Networks Fast. Powerful. Fully Customizable.


✨ What Is This?

Server Switcher Bungee lets you create clean, simple commands like /smp, /lobby, /hub, /creative that instantly send players to different servers — without ever typing:

/server smp

And now, with v3+, it goes far beyond simple shortcuts.


🚀 Major Features

🔹 Short Commands → Real Server Transfers

Create unlimited commands like:

/smp → smp
/lobby → lobby
/hardcore → hardcore

All with aliases, permissions, MOTD, maintenance, and confirmation.


🔹 Smart Server Selection (Least Players)

Perfect for multi-instance servers:

  • /smp → chooses between smp, smp2, smp3
  • Picks the least populated server
  • Automatically avoids nearly-full servers
  • Fully configurable

🔹 Advanced Queue System

When a server is full:

  • Players enter a queue
  • Supports priority tiers (staff > VIP > default)
  • Shows queue position via actionbar
  • Grace period keeps queue spot after disconnect
  • /leavequeue to exit
  • Auto-requeue if failover also full

🔹 Maintenance Mode (Per Command)

Disable a command temporarily:

enabled: false
motd: "&cSMP is under maintenance."
allow-permission: "shortswitch.smp.admin"

🔹 Clickable Confirmation

Great for risky servers (hardcore, events):

confirm:
  commands: ["hardcore", "event"]

Players get a clickable confirmation message.


🔹 Auto-Routing On Join

Automatically redirect players when they join the proxy:

auto-route:
  default-command: "lobby"

🔹 Multi-Language Support

Supports files like:

  • messages_en.yml
  • messages_nl.yml

Permission-based language override:

shortswitch.lang.nl

🔹 MOTD on Switch

Show a message before sending a player:

motd: "&aWelcome to SMP!"

🔹 Full Permission Control

Includes:

  • Global permission
  • Auto-generated per-command perms
  • Maintenance bypass
  • Queue priority
  • Rate-limit bypass
  • Cooldown bypass

🔹 Hot Reload Support

Reload everything:

/switcher reload

🧠 Feature Summary

Feature Description
Custom short commands Create /smp, /lobby, etc.
Unlimited aliases /sb, /skyblock, /sky → skyblock
Global + per-command perms Fully configurable
Maintenance mode Lock commands with MOTD
Auto-permissions Auto-generate perms like shortswitch.smp
Confirmation click Prevent accidental switching
Smart selection Load-balanced routing
Priority queue Staff > VIP > default
Actionbar queue updates Live positions
Grace period Keep queue spot after disconnect
Auto-route on join Send players to lobby automatically
Multi-language English/Dutch message files
Live MOTDs Custom message per command
Reload without restart /switcher reload
Full Bungee Support Bungee, Waterfall, FlexPipe, FlameCord, etc.

📦 Configuration Preview

Click to open config.yml
auto-register: true
global-permission: "shortswitch.use"

auto-permissions:
  enabled: true
  prefix: "shortswitch."

cooldowns:
  enabled: true
  bypass-permission: "shortswitch.bypass.cooldown"
  per-command:
    smp: 3

rate-limit:
  enabled: true
  max-switches: 5
  per-seconds: 10

queue:
  enabled: true
  grace-seconds: 120
  tiers:
    staff:
      permission: "shortswitch.queue.staff"
      priority: 100
    vip:
      permission: "shortswitch.queue.vip"
      priority: 50

smart-select:
  enabled: true
  mode: "least-players"
  candidates:
    smp: ["smp", "smp2", "smp3"]

confirm:
  enabled: true
  commands: ["hardcore"]

auto-route:
  enabled: true
  default-command: "lobby"

commands:
  smp:
    server: "smp"
    aliases: ["survival", "s"]
    motd: "&aWelcome to SMP!"

  lobby:
    server: "lobby"
    aliases: ["hub"]

🔐 Permissions Overview

Permission Description
shortswitch.use Global permission
shortswitch.<cmd> Auto-generated per command
shortswitch.queue.staff Priority queue tier
shortswitch.queue.vip Priority queue tier
shortswitch.bypass.full Join full servers
shortswitch.bypass.ratelimit Ignore rate limit
shortswitch.bypass.cooldown Ignore cooldown
shortswitch.bypass.autoroute Skip auto-route
shortswitch.lang.nl Use Dutch messages

🛠 Installation

  1. Download the .jar
  2. Place it into your proxy’s plugins/ folder
  3. Restart
  4. Edit config.yml
  5. Reload anytime:
/switcher reload

✔ Compatibility

  • BungeeCord
  • Waterfall
  • FlexPipe
  • FlameCord
  • All Bungee-based forks

❤️ Need More?

Have ideas? Want analytics, Velocity support, or a web-based queue viewer? Message me — I love adding new features.


Ченджлог

1.3Релиз1.21.8, 1.21.9, 1.21.10 · 22 ноября 2025 г.

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 join
    • allow-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.yml and messages_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:

    • enabled
    • motd
    • allow-permission

Full updated config example included in documentation.

1.2Релиз1.21.8, 1.21.9, 1.21.10 · 22 ноября 2025 г.

Details

  • Added per-command cooldown system with bypass permissions
  • Implemented rate limiting + automatic temporary blocking
  • Added failover server support (priority server lists)
  • Implemented full-server detection with optional queue system
  • Added /leavequeue command
  • Added automatic permission generation for commands
  • Added admin permissions and /switcher reload improvements
  • Replaced /send console dispatch with direct player connection
  • Ensured Java 8 compatibility (removed var, added explicit ServerInfo)
  • Updated config.yml to include all new features
  • Added QueueManager, RateLimiter, TextUtil, and LeaveQueueCommand classes
  • Major refactor of ServerSwitchCommand for new logic fc032c9 build.gradle
1.1Релиз1.21.8, 1.21.9, 1.21.10 · 22 ноября 2025 г.

Fixed the "Summoned to by CONSOLE

Комментарии

Загружаем…