Installation
On this page(4)
- Download the latest
snhub-v*release from Sn-Releases. - Place the
.jarfile into your server'splugins/folder, together withSnLib.jar. - Start the server once. The plugin creates
plugins/.Sn-License/license.yml. - Paste your Sn license key into that file.
- Restart the server. The plugin validates the key at startup.
Requires SnLib installed (depend: [SnLib]), version 1.41.0 or later.
SnHub uses bundle licensing. plugins/.Sn-License/license.yml is one shared file per server. A single bundle key unlocks every Sn bundle plugin on it. The plugin refuses to enable without a valid key.
Every server start needs online authorization, so keep outbound HTTPS access to the license service open. While the server runs, SnHub checks the license asynchronously every 15 to 17 minutes. A temporary connection failure keeps the plugin running for up to 24 hours after the last successful check. The license expiry still applies. A revoked or expired license disables the plugin.
Requirements
| Java | 21 or newer |
| Server | Paper 1.20.x or 1.21.x |
| Required | SnLib.jar (SnLib 1.41.0 or newer) |
| Optional | PlaceholderAPI, LuckPerms |
| Proxy | Velocity or BungeeCord, for the server selector, live player counts and the multi-hub network |
| Database | SQLite (default, no setup) or MySQL (needed only for the multi-hub network) |
| License | Yes - SnHub is part of the licensed bundle |
There is no proxy-side plugin to install. On Velocity, set bungee-plugin-message-channel = true (the default) so the proxy forwards the channel SnHub uses.
Do not run SnHub next to SnJoinItem on the same hub server. Both pin hotbar slots and fight over the same items.
Dependencies
| Plugin | Required |
|---|---|
| SnLib | Yes |
| PlaceholderAPI | No |
| LuckPerms | No |
First steps after installing
- Stand where players should arrive and run
/snhub setspawn. - Open
plugins/SnHub/config.ymland list your hub worlds underworlds. An empty list makes every world a hub world. - Open
plugins/SnHub/guis/selector.ymland point each button at a server name from your proxy config. - List the same server names under
servers.listinconfig.ymlto see live player counts in the menu. - Run
/snhub reloadafter every edit.
Notes
- On Paper 1.20.5 and newer, hidden players stay in the TAB list. On 1.20.0 to 1.20.4 they also leave TAB, and SnHub logs one warning.
- SnHub switches the
doDaylightCycle,doWeatherCycleanddoMobSpawninggame rules off in hub worlds. They stay off after you remove the plugin, so run/gameruleto restore them. - With SQLite (the default) every local feature works and the network module stays off.