StatusCommand
/rspm status — operator-facing diagnostic dump.
The intent is "show me everything an operator could plausibly need when something's broken, in one shot." Specifically:
- Plugin meta — version, deploy mode (standalone vs network backend), network key
- Java pack state — mixed/not, file size, sha1, output path
- Bedrock pack state — generated/not, file size, Geyser mappings present, Geyser folder
- Hosting state — which delivery path is active (self-host vs remote vs neither), the actual URL clients will see, the resolved external host (raw + auto-detected public IP)
- Config flags — all the knobs that control the above so the operator doesn't have to open config.yml in another window
- Integration sanity — Floodgate and Geyser plugin presence, autoHost flag
Output is rendered with MagmaCore's color-tag syntax (&-prefixed); the client renders this in the chat / console as legacy section-symbol formatting. Sections are visually separated by blank lines for readability in the chat log.
Threading: all values read here are either volatile accessors or simple static config fields populated at boot. No network I/O — in particular currentResolvedHost never runs the public-IP probe — so calling this command must not slow down the main thread.
Permission:resourcepackmanager.* (same as reload, since the output reveals internal-state details that aren't useful to non-admins).