mcHub
A branded lobby in minutes: a server selector with live status, join experience, lobby protection, double jump, launch pads, portals, sidebar, tab, boss bar and chat format, with five themes, an optional resource pack, an admin GUI and a developer API.
Quick start
- Put
mcHub-1.0.0.jarinplugins/and start the server. - Stand at your lobby spawn and run
/setspawn. - Open
/mchub admin> Servers, or editplugins/mcHub/servers.yml, to add your server cards. Add each server'saddressfor live status. - Pick a look with
/mchub theme neon(or royal, frost, forest, ember). - Check
join.clear-inventoryandlobby-worldsinconfig.yml, then run/mchub reload. - Give staff
mchub.admin.*. Ops already have it, andmchub.bypasstoo.
Getting started
Install it and get running.
Using it
How every feature works.
Server selector
Players open the selector with the compass join item or /servers . Each card is defined in servers.yml , or in /mchub admin >...
Status and networks
Menus only read the cache, so opening the selector never waits for the network. Pings run on their own threads (...
Join experience
When a player joins, mcHub runs these steps (each configurable under join and spawn ):
Join items
Join items live under join-items.items in config.yml . The six that ship are selector (slot 5), profile (slot 3), hide-players...
Actions
An action is what a join item, a server card or a portal does. They are plain strings.
Lobby protection
Every rule is a switch under protection in config.yml . true means that thing is blocked. The rules apply in the worlds listed...
Spawn
Stand where players should arrive and run /setspawn . The spawn is saved to spawn.yml . Until one is set, the main world's...
Movement toys
All three toys run from player movement events, with no timers in the background. They only work in lobby worlds and each has...
Portals
A portal is a box in a world. Walking into it runs its action.
Holograms
A hologram is floating text, with optional art above it. They are defined in holograms.yml and created in game.
NPCs
An NPC is a clickable character defined in npcs.yml . Create one with /mchub npc create (id) [skin player name] where you...
Parkour
Parkour courses live in parkour.yml . Build the course, then in game:
Lobby arena
A free-for-all arena inside the lobby, defined in arenas.yml .
Player toggles
Three personal switches, saved in players/(uuid).yml . Players reach them from the Lobby Settings menu (the settings join...
Sidebar, tab list, boss bar and chat
The default sidebar, tab list and welcome message include the list of your game modes: a line that is exactly {servers}...
Themes
The theme is one setting: theme: neon in config.yml . Change it there, with /mchub theme (name) , or in /mchub admin > Themes....
Optional resource pack
mcHub carries a generated resource pack, mcHub-pack.zip . It textures three things, in the art of the active shipped theme:
Admin GUI
/mchub admin (permission mchub.admin ) opens the editor. Each section needs its own permission (see Permissions). Everything...
Hooks
No hook is required. Each can be turned off with hooks.(name).enabled .
Reference
Commands, permissions and settings.
Developer API
All methods are for the main thread. The status methods read the cache and never wait for the network. Add mcHub to your...
Events
All events are fired on the main thread.
Commands
Short commands for players, one command for admins. Everything under /mchub tab-completes.
Permissions
mchub.admin.* contains every admin permission.
Placeholders
Two kinds. The {curly} ones work in the sidebar, tab list, boss bar, descriptions, join messages and message: actions without...
Config options
The main options of config.yml . Every key is commented in the file. Texts are in lang.yml .
Help
Fixes, answers and updating.
Performance
The timers that do run: the sidebar ( sidebar.update-ticks ), the tab list ( tab.update-ticks ), the boss bar (once a second),...
FAQ and troubleshooting
That is join.clear-inventory , which is on by default for lobbies. Set it to false , or set lobby-worlds so only the lobby...
Support
If something does not work, run /mchub status and /mchub info , and look at the console for lines starting with [mcHub] . Then...
Stuck on mcHub?
Ask in our Discord. We answer questions, take bug reports and hear your ideas.