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

HUB

This Velocity plugin adds a '/hub' command for quick teleportation to the hub server. It supports customizable messages, configurable hub servers, custom aliases and smart load balancing.

Загрузки
11K
Подписчики
22
Обновлён
23 декабря 2025 г.
Лицензия
All-Rights-Reserved

Опубликован 18 декабря 2023 г.

This project is a Hub Plugin for the Velocity Proxy Server. It automatically connects players to the best available lobby servers based on permissions, server load, and other criteria. The plugin includes advanced debugging features and offers full customization through a configuration file.

Features

  • Automatic Server Selection: Automatically connects players to the best available lobby server.
  • Multiple Lobbies: Supports multiple lobby types with individual permissions and priorities.
  • Customizable Messages: Success messages and system notifications can be fully customized using MiniMessage syntax.
  • Dynamic Commands: Fully customizable commands and permissions for different lobbies.
  • Debugging Mode: Enable debug mode to troubleshoot issues with detailed messages.
  • Placeholder Support: Supports placeholders for server and player information.

Installation

  1. Requirements:

    • Velocity Proxy Server (latest version)
    • Java 21
  2. Plugin Download:

  3. Installation:

    • Place the JAR file in the plugins directory of your Velocity server.
  4. Restart the Server:

    • Restart your Velocity server to load the plugin.

Configuration

After the server's first start, a config.yml file will be generated in the plugin directory. This file allows full customization, including commands, permissions, messages, and server behaviors. You can adjust everything to meet your server's needs.

MiniMessage and Regex Support

The plugin supports MiniMessage syntax for customizing messages. You can easily style your messages using MiniMessage tags like <i>, <b>, and <color>. For a quick preview or to test your MiniMessage strings, visit the MiniMessage web editor.

For custom server filters and other patterns, Regex is supported. Test your expressions easily with a Regex editor.

Example Configuration

messages:
  success-message: <#69d9ff>You are now in the <i>Hub</i>.
  already-connected-message: <#ff614d>You are already on the <i>Hub</i>.
  connection-in-progress-message: <#ff9c59>In Progress...
  server-disconnected-message: <#ff614d>The Lobby Server is Offline...
  connection-cancelled-message: <#ff614d>Transfer cancelled.
system-messages:
  players-only-command-message: <#ff9c59>This Command is only available to Players.
  no-lobby-found-message: <#ff9c59>I'm sorry! I was unable to find a Lobby Server for you.
aliases:
  - lobby
  - leave
base-hub-command: hub
debug:
  enabled: true
  permission: hub.debug
lobbies:
  - name: teamlobby
    filter: (?i)^teamlobby.*
    permission: hub.team
    priority: 2
    commands:
      teamlobby:
        standalone: false
        subcommand: true
    autojoin: false
  - name: premiumlobby
    filter: (?i)^premiumlobby.*
    permission: ''
    priority: 1
    commands:
      premiumlobby:
        standalone: true
        subcommand: false
    autojoin: true
    overwrite-messages:
      success-message: <#69d9ff>You are now in the <b>Premium Hub</b>.
  - name: lobby
    filter: (?i)^lobby.*
    permission: ''
    priority: 0
    commands:
      base:
        standalone: false
        subcommand: true
    autojoin: true
placeholder:
  server:
    enabled: true
  lobby:
    enabled: true
  player:
    enabled: true
auto-select:
  on-join: true
  on-server-kick: true
ping-duration-in-millis: 20
finder:
  start-duration: 20
  increment-duration: 20
  max-duration: 200

You can customize all commands, permissions, and other settings directly in the configuration file to suit your server's requirements.

Ченджлог

2025.12.23aРелиз1.21.9, 1.21.10, 1.21.11 · 23 декабря 2025 г.
2025.12.13Бета1.21.10, 1.21.11 · 13 декабря 2025 г.
  • Added named lobby groups via lobby-groups, letting lobbies reference parent-groups for hierarchical fallbacks (e.g., main, minigame).
  • Parent routing now walks group members in order, skips duplicates, respects permissions, and avoids sending players back to the kicked/current server.
  • Configs refreshed to reflect the new groups and FFA routing; docs/README updated with group-based config examples and clarified /hub behavior.
2025.11.27Релиз1.21.11-pre1, 1.21.11-pre2, 1.21.11-pre3 · 27 ноября 2025 г.

What's Changed

  • Kicked-from-server messages are now optional and configurable: forwarding can be toggled, a MiniMessage prefix/suffix can be applied (default prefix ), and empty kick reasons are no longer sent.

Full Changelog: https://github.com/uebliche/HUB/compare/1.1.1...2025.11.27

2025.10.05Релиз1.21.8, 1.21.9, 1.21.10 · 5 октября 2025 г.
  • v1.1.1 (Apr 08) – Fixed missing chat/config messages that affected players.
  • v1.1.0 (Apr 08) – Major release introducing the new shared/velocity/paper structure and updated docs.
  • Oct 05 – Improved in-game behaviour: smarter lobby fallback after kicks and clearer debug messaging (enabled via HUB_DEBUG/config).
1.1.1-a54ececРелиз1.21.7, 1.21.8, 1.21.9 · 8 апреля 2025 г.

Fixed

  • Missing Messages
1.1.0-c4e6340Релиз1.21.3, 1.21.4, 1.21.5 · 8 апреля 2025 г.

Added

  • Console log for debugging purposes.

Changed

  • /lobby command search now uses a more efficient method to find the perfect lobby.

Improved

  • Server searching
1.0.1-667f6caРелиз1.21.3, 1.21.4, 1.21.5 · 7 декабря 2024 г.

Code Cleanup

1.0.0-f014d5fРелиз1.21.1, 1.21.2, 1.21.3 · 20 сентября 2024 г.

Initial release.

Комментарии

Загружаем…