BungeeHub 2.7

Server grouping /hub command

  1. Bing_Yanchi
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Contributors:
    Bing_Yanchi
    Languages Supported:
    Simplified Chinese, English
    I'm very sorry, because my negligence caused such an error, please use 2.5 and 2.6 users to update lastest version!

    This plug-in only needs to be installed in BungeeCord/Waterfall.
    There is no new development plan, if you have new suggestions, I will continue to update.

    Introduction:

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

    Command:
    /hub - Hub command
    /bungeehub - Reload Config

    Permission:
    bungeehub.admin - Use /bungeehub

    Config:
    Code (YAML):
    # Debug mode
    debug_mode
    : true

    # Default server group
    default_group
    : lobby

    # Server group
    # type: SERVER COMMAND QUEUE
    group
    :
      lobby
    :
        type
    : COMMAND
        command
    :
       - "bungeecommand %player% queue Lobby"
      bw_lobby
    :
        type
    : QUEUE
        server
    :
       - bw_1
        - bw_2
        - bw_3
        - bw_4
        queue
    : Bw_Lobby
      mm_lobby
    :
        type
    : SERVER
        server
    :
       - mm_1
        - mm_2
        - mm_3
        - mm_4
        - mm_5
        - mm_6
    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();
        }
    }

    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!
    TWME_TW likes this.

Recent Updates

  1. Sorry! Fix major bugs
  2. New API Type
  3. Performance improvement