RootMC Network

Wiki / Plugins / API

Update & APIs

How Root-Core keeps jars current, how license bind works, and where public RootMC HTTP APIs live. No secrets belong in this page — use the developer portal for keys.

Plugin manifest

GET https://rootmc.net/plugins/manifest.json

JSON object keyed by plugin id. Each entry:

{
  "root-core": {
    "version": "1.8.0",
    "filename": "root-core-1.8.0.jar",
    "url": "https://rootmc.net/plugins/root-core-1.8.0.jar"
  }
}
  • versionYEAR.MONTH.BUILD compared by Root-Core
  • filename — jar name written under plugins/
  • url — HTTPS download (CDN / Pages)

Human catalog UI: rootmc.net/plugins.

Root-Core updater

Configured in plugins/RootMC/root-core.yml. Manifest URL: updater.manifest-url (blank → site.plugins-manifest). See Cloudflare / edge URLs.

updater:
  enabled: true
  manifest-url: ""
  interval-hours: 1
  only-installed: true
  restart-after-update: true

site:
  plugins-manifest: "https://rootmc.net/plugins/manifest.json"
  • Polls the manifest on an interval and on /rootcore update
  • Downloads newer jars; keeps the currently loaded jar until restart (avoids zip-closed crashes)
  • Prunes older same-plugin jars after the new file is on disk
  • Can schedule Root-Restart / countdown when maintenance rules allow

Full walkthrough: Root-Core → Suite updater.

License bind & presence

Default base: https://api.rootmc.net via license.api-base (no silent remap to local-edge). Secrets land in cloud.yml.

Discord: Paper JDA uses cloud.yml discord.*; Worker posts use wrangler DISCORD_ROOTMC_* channel vars. See Root-Core → Discord.

MethodPathPurpose
POST /api/rootmc/license/bind Root-Core binds product key → server id / secret (fills blank cloud fields)
POST /api/rootmc/license/presence Periodic presence so My Servers shows online
Never commit product keys or server-secret. Generate keys only in the developer portal.

Developer portal APIs

Authenticated operator flows (Discord login) for account keys and My Servers live under the developer portal. Overview concepts are in the portal UI and Web Files/rootmc-web/public/developer/README.md in the repo (not public HTML).

Public data APIs (index)

Player- and site-facing JSON used by rootmc.net (and linked apps). Explore from the live site; base host https://api.rootmc.net unless noted.

AreaExamplesUI
Economy / treasury /api/rootmc/treasury/…, reserve summaries /economy/, /list/
List totals /api/rootmc/list /list/
Players / leaderboards player + leaderboard routes /player/, /leaderboard/
Market / resources shop & resource endpoints /market/, /resources/
Times status Root-Times cloud status push targets /time/ (systems) · /time/old/ (live)
Health public health checks /health/

This is an index for operators — not a full OpenAPI dump. Plugin install remains the primary path to run a RootMC-powered Paper host.