Files
gregWiki/getting-started.md

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

Create a mod from the template

  1. Copy templates/mod/ to a new folder (or start from Templates/ scaffolds).
  2. Edit fmf/hooks.json and add sources under src/.
  3. For a pilot layout (Workshop VDF + hooks metadata), see HexMod/; shipped mod examples live under mods/ (e.g. mods/FMF.Mod.HexLabelMod/).

Documentation site

  • Content: docs/
  • Docusaurus app: wiki/npm install and npm run start (dev) or npm run build (static output).

Docker

  • Dev server with hot reload: docker compose up docs (port 3000, mounts ./wiki and ./docs).
  • Static wiki + MCP in one container: docker compose up docs-mcp — see reference/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.