mirror of
https://github.com/mleem97/gregWiki.git
synced 2026-04-11 03:29:19 +02:00
2.8 KiB
2.8 KiB
title, sidebar_label, description
| title | sidebar_label | description |
|---|---|---|
| Monorepo — Getting started | Monorepo getting started | Target layout (FrikaModFramework, templates, tools) and how it maps to this repo today. |
Monorepo — Getting started
The goal is a clear split between the framework (FrikaModFramework/ registry + planned bindings), the live MelonLoader code (framework/), gameplay mods (mods/), FFM plugins (plugins/), templates (templates/ / Templates/), and tooling (tools/). Migration is incremental: production C# still lives under framework/.
Clone and build the framework
dotnet build framework/FrikaMF.csproj
Or open FrikaMF.sln in Visual Studio / Rider.
Hook naming
- Target convention:
FMF.<DOMAIN>.<Event>(seeCONTRIBUTING.md). - Registry:
FrikaModFramework/fmf_hooks.json. - Legacy runtime strings may still use
FFM.*inHookNamesuntil migrated.
Create a mod from the template
- Copy
templates/mod/to a new folder (or start fromTemplates/scaffolds). - Edit
fmf/hooks.jsonand add sources undersrc/. - For a pilot layout (Workshop VDF + hooks metadata), see
HexMod/; shipped mod examples live undermods/(e.g.mods/FMF.Mod.HexLabelMod/).
Documentation site
- Content:
docs/ - Docusaurus app:
wiki/—npm installandnpm run start(dev) ornpm run build(static output).
Docker
- Dev server with hot reload:
docker compose up docs(port 3000, mounts./wikiand./docs). - Static wiki + MCP in one container:
docker compose up docs-mcp— seereference/mcp-server.
Assistants / MCP
The repo includes mcp-server/ for Model Context Protocol (search docs, read fmf_hooks.json, CONTRIBUTING). Use stdio locally or the HTTP endpoint bundled with the docs-mcp Docker image — details in docs/reference/mcp-server.md.