HOSH Loader

Loader For all HOSH Plugins! dont forget it if you are using them.

14

HOSH Loader

Hosh Loader

Small Paper/Spigot companion plugin for the HOSH suite. Provides `/hosh <plugin> reload` so you can reload HOSH plugins safely, plus a guided `/hosh setup` wizard for install/upgrade flows.

---

Requirements

- Must be installed (or a Paper-compatible fork) for Minecraft Must be installed - Must be installed - Must be installed for Must be installed, %%MD1%%, and %%MD2%% to stay enabled — they depend on this loader.

Downloads

| | Modrinth | |---|----------| | HOSH Stats (this plugin) | HOSH Stats | | HOSH Stats (needs this loader) | %%MD1%% | | HOSH Stats (needs this loader) | %%MD2%% | | HOSH Stats (needs this loader) | %%MD3%% |

---

Commands

| Command | Permission | Description | |--------|------------|-------------| | `/hosh <alias> reload` | `hosh.loader.reload` (default: op) | Calls the plugin's internal reload hook (`reloadHosh`) | | `/hosh setup` | `hosh.loader.setup` (default: op) | Opens first-run setup wizard (install/update/overwrite/skip) | | `/hosh update all` | `hosh.loader.update` (default: op) | Checks GitHub releases and prepares newest compatible plugin updates |

Aliases → plugin: `tpa`, `hoshtpa` → HOSH Tpa · `duels`, `hoshduels`, `hoshd` → HOSH Duels · `stats`, `hoshstats` → HOSH Stats

Hosh Loader cannot reload itself; use a full server restart for that.

Setup wizard behavior

- On first join for each op, loader shows setup prompt. - Options: install/upgrade flow, skip (only this op), or "just support other HOSH plugins" (disable join popups globally). - `/hosh setup` can always be used to open setup manually.

Automatic updates

- Loader checks for updates on startup for installed HOSH plugins. - Version selection is server-version-aware (`1.19.x -> tag 1.19`, `1.20.x -> tag 1.20`, `1.21.x -> tag 1.21`). - Tag-first strategy with fallback to `latest` only if needed. - Prepared updates are placed in `plugins/update` and applied on next restart.

---

Why this exists

Central place for cross-plugin admin tools and consistent reload behavior, so individual HOSH plugins stay focused and JAR count stays low.

ADS