BungeeHub icon

BungeeHub -----

Server grouping /hub and /lobby command



This plugin is preparing to be rewritten and will resolve some known bugs
This plugin is stable, 99.6% of the error feedback comes from your configuration file error, please double check whether the indentation is correct and the placeholder is correct!
Head over to our page to download the latest build: https://www.yistars.net/bungeehub/

This plug-in only needs to be installed in BungeeCord/Waterfall.

There is currently no development plan. I currently update the plug-in according to my own needs. Generally, I will update the plug-in once every 1-2 months to ensure that the plug-in is stable. If you have suggestions, please let me know.

(2021.8.6)I created a Wiki page, and the detailed content can be viewed here.

If you want to report bugs, provide suggestions, or have any questions, you can contact me through Discord.

Introduction:
In the form of grouping, let different sub-servers use the server delivered by /hub and /lobby

Command:
/hub - Hub command (Can be set to enable in the configuration file)
/lobby - Hub command (Can be set to enable in the configuration file)
/bungeehub help - View Help
/bungeehub check - Check Update
/bungeehub reload- Reload Config

Permission:
bungeehub.use - Use /hub (Only when NeedPermission is enabled)
bungeehub.admin - Use /bungeehub reload

Config:
Code (YAML):
# Debug mode
DebugMode
: false

# Update Check
CheckUpdate
: true

# Default server group
DefaultGroup
: lobby

# Need bungeehub.use permission to use /hub
NeedPermission
: false

# Command used to go to the lobby
Commands
:
  hub
: true
  lobby
: false

# Server group
# type: SERVER COMMAND QUEUE
Group
:
  lobby
:
    name
: "%name%"
    type
: COMMAND
    command
:
   - "bungeecommand %player% queue Lobby"
  bw_lobby
:
    name
: "&eBedWars Lobby"
    type
: QUEUE
    server
:
   - bw_1
    - bw_2
    - bw_3
    - bw_4
    queue
: Bw_Lobby
  mm_lobby
:
    name
: "%name% Lobby"
    type
: SERVER
    server
:
   - mm_1
    - mm_2
    - mm_3
    - mm_4
    - mm_5
    - mm_6

Messages:
Code (YAML):
# Plugin
Enabled
: "Enabled successfully."
Loaded
: "Loaded successfully."
Disenabled
: "Disenabled successfully."

# Set to "" not to send messages
# Player
UseHub
: "&aConnecting %group%&a..."
NoPermission
: "&cYou have no permission to do this."

# Admin
Reload
: "&aReload config successfully."
Console
: "This command must be executed in the game."

# Update Check
Checking
: "&7Checking for update..."
NoUpdate
: "&aThe currently used version is already the latest version."
Update
: "&a[BungeeHub] &eNew version &bv%new_version% &edetected, current version: &bv%old_version%"
UpdatePage
: "&aPlugin Page: &e%url%"
UpdateDownload
: "&aDwonload Link: &e%url%"

# Help
HelpTitle
: "&aBungeeHub v%version% Help:"
HelpHelp
: "&a/bungeehub help &8- &7View help"
HelpCheck
: "&a/bungeehub check &8- &7CheckUpdate"
HelpReload
: "&a/bungeehub reload &8- &7Reload Config"

API:
Code (Java):
import java.util.List ;

import cn.yistars.bungeehub.HubHook ;

public class BungeeHubHook implements HubHook {
 
    public static String getGroupName ( String server ) {
        return HubHook. getGroupName (server ) ;
    }
 
    public static String getGroupType ( String groupname ) {
        return HubHook. getGroupType (groupname ) ;
    }
 
    public static String getGroupQueue ( String groupname ) {
        return HubHook. getGroupQueue (groupname ) ;
    }
 
    public static List <String > getGroupCommand ( String groupname ) {
        return HubHook. getGroupCommand (groupname ) ;
    }
 
    public static String getDefaultGroup ( ) {
        return HubHook. getDefaultGroup ( ) ;
    }
}

bStats:
[​IMG]

Note:

  1. It is strictly forbidden to decompile/modify this plugin without my permission.
  2. If you want to distribute this plug-in, please get my consent first.
注意:
  1. 未经我的允许,严禁反编译/修改此插件。
  2. 若想分发此插件,请先征得我的同意。
If you think the plugin is good, please leave your rating, thank you!
Resource Information
Author:
----------
Total Downloads: 4,525
First Release: Mar 7, 2021
Last Update: Aug 9, 2021
Category: ---------------
All-Time Rating:
9 ratings
Find more info at www.yistars.net...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings