1MB-Plugins-Docs assembles several independently maintained documentation sources into one site. It is the sole Starlight builder and GitHub Pages publisher.
Each source project owns exactly one ID and one imported directory:
project-docs/<project-id>/
Generated player pages use the matching ID:
src/content/docs/player-guides/custom-server-plugins/<project-id>/
No project may write to the complete project-docs/ or src/content/docs/ trees. Pull the latest public main before importing and review the resulting namespace-scoped diff before committing.
A source project must contain:
README.md
docs/
plugin-docs.yml
player-guide.md
It may also provide commands, permissions, placeholders, configuration, installation, integrations, and troubleshooting pages.
Minimum manifest:
id: lootbox
name: Lootboxes
category: custom-server-plugin
summary: Collect and open server lootboxes containing configured rewards.
main_command: /lootbox
docs_url: https://docs.1moreblock.com/custom-server-plugins/lootbox/
player_guide: player-guide.md
technical_readme: ../README.md
java_target: "25"
paper_target: "26.2"
official_project: true
repository: mrfdev/1MB-LootboxIDs use lowercase letters, numbers, and single hyphens. The canonical URL must exactly match the category and ID. Build numbers never belong in documentation URLs.
Import or refresh the source:
npm run docs:import -- --source ../1MB-Lootbox
npm run docs:generate
npm run docs:validate
npm run buildAfter the first import, docs-sources.json records the project. Refresh it with:
node scripts/sync-docs.mjs --project lootbox
npm run docs:generateThird-party features are curated directly in this repository rather than copied from vendor wikis:
catalog/other-server-features/<feature-id>/
plugin-docs.yml
player-guide.md
Use category: other-server-feature, the canonical /other-server-features/<id>/ URL, and an official_wiki link. Explain the feature as configured on 1MoreBlock, including enabled commands, restrictions, ranks, worlds, and server-specific differences. Do not reproduce copyrighted wiki pages.
- Verify commands, permissions, placeholders, versions, and behavior from the source project.
- Publish player guidance and public-safe staff administration details only.
- Never publish credentials, private endpoints, paid files, databases, exploit-sensitive values, source code, or internal incident procedures.
- Keep source documentation in its source project; do not hand-edit its mirrored copy.
- Do not hand-edit generated Starlight pages. Change the source guide and regenerate.
- Never force-push the public documentation repository as part of an individual project sync.
- Commit and push the source project's code and documentation.
- Pull the latest
1MB-Plugins-Docs/main. - Import only the changed project namespace.
- Run
npm test. - Run
npm run docs:generate,npm run docs:check, andnpm run docs:validate. - Run
npm run buildand review the complete diff. - Commit and push the public repository separately.
- Confirm the GitHub Pages workflow and live canonical page.