SimpleHubCommand [Proxy] icon

SimpleHubCommand [Proxy] -----

A simple and advanced plugin that allows you to create a multi-hub system with only one command /hub



Description: A simple and advanced plugin that allows you to create a multi-hub system with only one command /hub
Commands: (The functionality is the same)
  • /hub (You can change it in config.yml)
  • /lobby (You can change it in config.yml)
Attention: You can use the plugin with multiple Hubs, or with just one

Plugin has only one configuration file:
Code (YAML):

#############################
#      SimpleHubCommand     #
#     Made by GameDoctor    #
#           2024            #
#############################

servers
:
  hub1
: # Name of server in proxy
    name
: '&dBeta' # Hub display name
    playersLimit
: 100 # Max player count
    enable
: true
  hub2
:
    name
: '&bGamma'
    playersLimit
: 50
    enable
: false
blacklist
: # Names of servers where /hub will not work
- example1
- example2
- example3
command
:
  name
: hub # Main command name
  alias
: lobby
redirectInAnotherHub
: false # Allows you to move from one hub to another if there are free ones
messages
: # All messages support the following placeholders. To disable the message display, simply type '-'
  alreadyIn
: '&cYou are already in one of the Hubs &7 (&f %name%&8/&e%server%&7)&c. Players in Hub: &e%online%/%max_online% &7(Total: &6%all_online%&7)'
  allFull
: '&cAll Hubs are full at the moment'
  allOtherFull
: '&cAll other Hubs are full at the moment'
  blacklisted
: '&cYou cannot access the Hub from this server'
  success
: '&aYou have been moved to the Hub &f %name% &7(&e%server%&7)&a. Players in Hub: &e%online%/%max_online% &7(Total: &6%all_online%&7)'
 
Code (YAML):

#############################
#      SimpleHubCommand     #
#     Made by GameDoctor    #
#           2024            #
#############################

servers
:
  hub1
: # Название сервера в прокси
    name
: '&dБета' # Отображаемое название Хаба
    playersLimit
: 100 # Максимальное количество игроков
    enable
: true
  hub2
:
    name
: '&bГамма'
    playersLimit
: 50
    enable
: false
blacklist
: # Названия серверов, где /hub не будет работать
- example1
- example2
- example3
command
:
  name
: hub # Название главной команды
  alias
: lobby
redirectInAnotherHub
: false # Позволяет переходить с одного Хаба в другой, если есть свободные
messages
: # Все сообщения поддерживают нижеперечисленные плейсхолдеры. Чтобы отключить отображение сообщения, просто введите '-'
  alreadyIn
: '&cВы уже находитесь в одном из Хабов &7 (&f %name%&8/&e%server%&7)&c. Онлайн Хаба: &e%online%/%max_online% &7(Общий: &6%all_online%&7)'
  allFull
: '&cВсе Хабы переполнены на данный момент'
  allOtherFull
: '&cВсе остальные Хабы переполнены на данный момент'
  blacklisted
: '&cВы не можете попасть в Хаб с этого сервера'
  success
: '&aВы перемещены в Хаб &f %name% &7(&e%server%&7)&a. Онлайн Хаба: &e%online%/%max_online% &7(Общий: &6%all_online%&7)'
 

Placeholders:
All messages support the following placeholders:
  1. %name% - Hub display name
  2. %server% - Hub server name
  3. %online% - Player count in Hub
  4. %max_online% - Max player count in Hub
  5. %all_online% - Player count from entire network
  6. %hubs_online% - Player count from all Hubs
  7. %player% - Player name
Все сообщения поддерживают нижеперечисленные плейсхолдеры:
  1. %name% - Отображаемое название Хаба
  2. %server% - Название сервера Хаба
  3. %online% - Количество игроков в Хабе
  4. %max_online% - Максимальное количество игроков в Хабе
  5. %all_online% - Количество игроков на всех серверах
  6. %hubs_online% - Количество игроков во всех Хабах
  7. %player% - Ник игрока

Demonstation:
en_1.jpg en_2.jpg
ru_1.jpg ru_2.jpg
The HEX color format in the plugin is similar to the one used in the infamous Essentials plugin. For the convenience of generating HEX text gradients, there is a website https://spigot.kosfarix.ru/hex

But keep in mind that variables (%player%, %color%, and so on) cannot be converted to this format.
Формат HEX цветов в плагине похож на тот, что используется в небезызвестном плагине Essentials. Для удобства генерации HEX градиентов текста существует сайт https://spigot.kosfarix.ru/hex

Но имейте в виду, что переменные (%player%, %color% и так далее) нельзя переводить в этот формат.

Note: If you want additional functionality to be added to the plugin, just write about it in the discussion

Installation:
Download, drop it in plugins folder and restart your server
Resource Information
Author:
----------
Total Downloads: 267
First Release: Jan 31, 2024
Last Update: Mar 10, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings