Merge Docusaurus site: all content under docs/, align with gregFramework split layout

- Move markdown and wiki-import tree into docs/; keep app shell at repo root
- Point docusaurus docs path to docs/; edit links to mleem97/gregWiki
- Sync and i18n scripts use gregWiki root and ../.wiki under gregFramework
- Sidebars: workspace layout from root docs ids; plugins under mods/extensions
- Fix redirects, module catalog URLs, release note paths, and wiki-import category keys
- Update repo inventory for split repos; Dockerfile for single-repo context

Made-with: Cursor
This commit is contained in:
Marvin
2026-04-09 23:39:32 +02:00
parent 33636fde00
commit e2839584f4
320 changed files with 38803 additions and 97 deletions

98
docs/fmf-hooks.mdx Normal file
View File

@@ -0,0 +1,98 @@
---
id: fmf-hooks
title: FMF Hook Reference
sidebar_label: FMF Hook Reference
description: Auto-generated from FrikaModFramework/fmf_hooks.json — run tools/fmf-hook-scanner.
---
:::info
This page is generated by `tools/fmf-hook-scanner`. Do not edit by hand.
:::
# FMF Hook Reference
## EMPLOYEE
### FMF.EMPLOYEE.Hired
**Description:** An employee was hired into the roster.
**Payload:**
- `employeeId` (string)
- `role` (string)
**Example (C#)**
```csharp
FmfApi.On("FMF.EMPLOYEE.Hired", payload => { });
```
## GAMEPLAY
### FMF.GAMEPLAY.JobCompleted
**Description:** Emitted when a job has been fully processed.
**Payload:**
- `jobId` (string)
- `durationSeconds` (number)
- `revenue` (number)
**Example (C#)**
```csharp
FmfApi.On("FMF.GAMEPLAY.JobCompleted", payload => { });
```
## PLAYER
### FMF.PLAYER.LevelUp
**Description:** Player progression level increased.
**Payload:**
- `newLevel` (number)
- `previousLevel` (number)
**Example (C#)**
```csharp
FmfApi.On("FMF.PLAYER.LevelUp", payload => { });
```
## RACK
### FMF.RACK.PowerLimitExceeded
**Description:** Power draw or allocation for a rack exceeded configured limits.
**Payload:**
- `rackId` (string)
- `watts` (number)
**Example (C#)**
```csharp
FmfApi.On("FMF.RACK.PowerLimitExceeded", payload => { });
```
## SERVER
### FMF.SERVER.RackOverheated
**Description:** Server rack exceeded a critical temperature threshold.
**Payload:**
- `rackId` (string)
- `temperature` (number)
**Example (C#)**
```csharp
FmfApi.On("FMF.SERVER.RackOverheated", payload => { });
```