Optional resource pack
mcHub carries a generated resource pack, mcHub-pack.zip. It textures three things, in the art of the active shipped theme:
- the server selector background (3 to 6 rows),
- the join item icons (selector, profile, cosmetics, settings, hide players shown and hidden),
- the portal sprite (an animated swirl).
The pack art is drawn in a pixel style for each of the five shipped themes. Everything works without it. A player who has not loaded the pack sees normal items and a normal menu.
| Key | Meaning |
|---|---|
resource-pack.visuals | auto (only players who loaded the pack), on (always) or off |
resource-pack.send-on-join | Send the pack when a player joins (only when a link is available) |
resource-pack.required | Make the pack required |
resource-pack.prompt | The prompt text (MiniMessage) |
resource-pack.url and sha1 | A link to your own copy of plugins/mcHub/resourcepack/mcHub-pack.zip and its 40-character sha1 |
resource-pack.self-host.enabled | Serve the pack from this server with a small built-in web server |
resource-pack.self-host.port | The port (default 8164). Open it in your firewall |
resource-pack.self-host.public-address | Your server's IP or domain as players see it |
Join items given before the pack finished loading get their textures the moment it loads. /mchub pack shows the link and sends the pack to you. A custom theme can use a shipped theme's art with pack-style. The pack textures match the five shipped themes only.
It also contains animated textures for three glazed terracotta blocks (see Movement toys) and a smooth, fast portal sprite.
Your name and logo#
branding:
name: "YOUR SERVER"
logo: logo.png
logo-height: 44
{server_name}is the name, used in the boss bar, the welcome message and as the fallback.{logo}shows your logo image to players who loaded the pack (the join intro title and the tab list use it), and the styled server name to everyone else.{logo-small}is a smaller version (about 60% of the height) sized for the sidebar title, which is the default sidebar title. The default logo is a 3D-style banner you can replace.- Replace
plugins/mcHub/logo.pngwith your own image (a wide banner works best), run/mchub reloadand/mchub pack, and rejoin. Images larger than 256 by 256 pixels are scaled down automatically, because Minecraft draws text glyphs from 256 by 256 pages.
Your own pack art#
Everything in plugins/mcHub/pack/ is added to the pack. cards/(card id).png becomes the picture of that server card in the selector (and can be shown by a hologram). Any other file replaces the pack file at the same path under assets/mchub/, for example textures/item/royal/selector.png for an icon, or textures/font/gui_royal_4.png for the 4-row menu background of a theme. Run /mchub reload and /mchub pack after changes. A README is created in the folder.