plugins/DuneMenus/docs/FLEET-INSTALL.md

3.1 KiB

Verified plugin fleet installation

Use only the installer and JARs emitted together by canonical plugin CI. This installer is for existing servers, not bootstrap provisioning. It never discovers or guesses server paths, assigns plugins to a server, removes unrelated backends, deploys website files, or downloads third-party dependencies.

The coordinator supplies an independently verified inventory JSON. Each servers entry requires id, absolute root, existing serviceUnit, and an explicit list of artifact filenames from release-manifest.json. Do not populate these from historical example paths. DuneMenus requires JARVIS, DunerealmsGUI and the existing MCGUI runtime; DuneNPC is retained.

First run a read-only plan with --artifacts, --inventory, and --expected-source set to the exact CI source SHA. Apply that same inventory with --apply --backup-root only through the authorised host deployment entry point. No SSH implementation is embedded in this tool.

All artifacts, descriptors, installed-file snapshots and backups are verified. Services must be fully stopped before JAR replacement; active services restart afterward, previously stopped services remain stopped. Old filenames are replaced by actual plugin identity. On an installation/start failure, original bytes and filenames are restored after verifying the service is stopped, and a rollback receipt is retained. A rollback that cannot stop the service halts without replacing active JARs. A multi-server failure may leave earlier servers installed; inspect each receipt.

An installed-service-active receipt proves file installation and systemd state only. It does not prove Minecraft finished loading or an NPC interaction worked. Verify server logs, enabled versions, resource-pack publication/configuration, actual GUI/NPC actions and retained progression separately before reporting rollout complete. Resource-pack publication uses the separate built publisher; required menu configuration is verified and managed by this installer as described in MENU-PACK-ROLLOUT.md.

A missing existing MCGUI runtime may be staged privately by the authorised coordinator. Inventory privatePrerequisites.MCGUI requires an absolute path and the reviewed SHA-256 69a454291cc27c36cdbc680bfbde245a90a3913de53cc1591c502a5a49124300; the server entry must explicitly list prerequisites: ["MCGUI"]. The installer verifies plugin name MCGUI, version0.8.6 and main ai.resourcepack.ui.MCGUIPlugin before including those privately staged bytes. They are never added to the public source/release artifact. Unknown private prerequisites or different bytes/identities fail planning. The private runtime's installation and rollback follow the same stopped-service, backup and checksum path as first-party JARs.

For selected DuneMenus, inventory menuPack.url is mandatory and actual public bytes must match the built composite. Owned config bytes are hashed, backed up and restored with JAR rollback; existing unmanaged config fails closed. Per-world server.properties is never written. See MENU-PACK-ROLLOUT.md for the persistent publication and external runtime contract.