12 releases, newest first.
npcs/ and holograms/ folders; the config keys are engines.snnpcs and engines.snholograms.hologram-engine naming an old plugin falls back to auto with one warning, and revisions pushed by 1.x are still applied, without the old engines' files.%placeholders% were created with the DISABLE_UPDATING flag, which in DecentHolograms also stops a line edit from being sent, so a change (opening date, maintenance, countdown, players) only showed after the card rendered again for the player (walking away and back, or rejoining). The flag is no longer set; DecentHolograms only re-sends a line whose text changed./dh reload. The reload destroys every hologram DecentHolograms holds, and a card whose lines did not change was never spawned again. The engine-reload handler now forgets the drawn record so every card is respawned.line-heights list: the height of each hologram line by position, like a DecentHolograms line height. The default layout ships [0.3, 0.3, 0.4, 0.4, 0.3], so a preset card matches a hand-made DecentHolograms card exactly. FancyHolograms and SnLib draw one text block and ignore it.layouts section is yours and is not merged, so add line-heights to your existing layouts by hand.npcs.yml or FancyHolograms holograms.yml holds no shared entry is no longer treated as carrying that engine. Before, a fresh install wrote an empty npcs.yml on its first forced save, and a push from that hub removed every NPC on the other hubs. Now a single file counts only when it holds at least one entry that is not local-only. Otherwise the engine's objects are copied forward from the latest revision, as the 1.5.0 notes already described.network.shared-config.engines.enabled: true were affected. The option is off by default.API: no API impact (API_VERSION unchanged).
modalities.yml, /snhub modality): define a modality once (name, color, versions, player source, max players, opening date) and SnHub draws its card hologram. The open layout shows the players and a progress bar; before the opening date a countdown is shown, and it switches to the open layout on its own. There is also a maintenance layout and a NEW badge for the first new-days. Layouts are editable line lists with tokens.settings.hologram-engine: auto). FancyNpcs, DecentHolograms and FancyHolograms are optional soft dependencies.network.shared-config.engines, off by default): FancyNpcs npcs.yml, DecentHolograms holograms/ and FancyHolograms holograms.yml travel with the shared-config revisions (push, auto-push, pull). A pull reloads only the engines whose content changed. local-only names stay per hub. An engine a hub has off, not installed or empty is copied forward from the latest revision, never dropped.%snhub_modality_<id>_state|players|max|bar|countdown|opening|name% placeholders; /snhub network status shows the display sync.snhub.admin.modality (child of snhub.admin).modalities.yml, which a 1.4.x hub skips with a WARN.API: no API impact (API_VERSION unchanged).
/build [player] and /setspawn: shortcuts of /snhub build and /snhub setspawn, with the same permissions. Toggles: command.shortcuts.build, command.shortcuts.setspawn./gmc, /gms, /gma, /gmsp [player]: game mode commands for hubs without Essentials. Permissions snhub.gamemode.<mode> and snhub.gamemode.others (default op). Toggle: command.gamemode. Refused while the player is in PvP mode; PvP mode now needs survival or adventure.network.shared-config.auto-push (per hub, default false): /snhub reload publishes the shared configuration when it changed (SHA-256 fingerprint kept in data.yml). Other hubs apply it with auto-pull and reload. The reload a pull triggers never publishes back, and a hub that has not applied a newer revision from another hub publishes nothing. Admins online with snhub.admin.network and the console get auto-push and auto-pull notices./build, /setspawn and /gm* from other plugins while their toggles are on; the toggles are read on startup.API: no API impact (API_VERSION unchanged).
/fly command: toggles your flight in the hub worlds (NORMAL mode, survival or adventure). Permission snhub.fly (default OP, give it to a rank)./fly <player> toggles another player's flight. Permission snhub.fly.others (includes snhub.fly)./fly share the flight flag cleanly: a flying player has no double jump, and turning flight off gives it back.fly.enabled and lang keys messages.fly.* (merged automatically on boot).API: no API impact (API_VERSION 1.0.0).
stale-seconds. Heartbeats are now only sent while the registry runs and tracked until they settle; on stop the hub waits for them before deleting its row.hotbar.clear-on-apply now empties the whole inventory on join only. Entering a hub world, respawning and leaving PvP or build mode replace the hub items and keep every other item.messages.hotbar.inventory-full) and gets the item as soon as a slot is free. The item that held the slot is moved, never removed.New lang key messages.hotbar.inventory-full (added automatically). API: no API impact (API_VERSION stays 1.0.0).
LuckPerms group sync no longer loses a change, and no longer swallows a genuine one.
Changes
plugins/SnHub/lp-outbox.db (local SQLite). It survives a database outage, a restart, a full buffer and a reload that turns the sync off, and is deleted only once the network database confirms the write.network.poll-interval-seconds up to the new network.retry-max-seconds, default 60), one probe at a time while the database keeps failing. A stored change keeps its original time, so it never overwrites a newer change another hub wrote./snhub reload did): one warning when it goes down, one info line when it is back./snhub network status shows how many LuckPerms changes are still unsent.default nor context nodes; a group is only removed by a newer removal; import stays additive; only what LuckPerms observed is written.Config and lang (merged automatically on boot)
config.yml: new network.retry-max-seconds (5-3600, default 60).lang/messages_en.yml: new messages.network.status-outbox; new default text for messages.network.status-reason-down (an existing value is kept).Known limitations
API: no API impact (API_VERSION stays 1.0.0).
Requirements unchanged: Java 21+, Paper 1.20.x or 1.21.x, SnLib.jar 1.41.0 or newer, a Sn bundle license key.
Adds a public developer API (API_VERSION 1.0.0) so other plugins can integrate with SnHub.
API (API_VERSION 1.0.0)
SnHubAPI, resolved through the Bukkit ServicesManager or SnHubProvider (resolve it when needed, do not cache it).PvpModeEnterEvent, HubItemUseEvent (Ender Butt, Bow Teleport and the hide-players toggle), PlayerVisibilityToggleEvent.api-events.enabled in config.yml switches event dispatch off; queries stay available.Known limitations
HubItemUseEvent does not fire for items that only run items.yml actions (selector, hubs, rules and custom items): SnLib runs those clicks itself with no veto hook.Requirements unchanged: Java 21+, Paper 1.20.x or 1.21.x, SnLib.jar 1.41.0 or newer, a Sn bundle license key.
First stable release of SnHub, the all-in-one hub plugin.
Features
/spawn.legacy (1.8) or modern (1.9+) combat style./snhub build bypass.Requirements: Java 21+, Paper 1.20.x or 1.21.x, SnLib.jar 1.41.0 or newer, a Sn bundle license key. A Velocity/BungeeCord proxy for server switching, counts and the network.
Known limitations
network.server-id: auto the server id comes from the proxy's GetServer reply; set network.server-id explicitly on each hub to skip auto-detection./gamerule.