Marvin 9819687e9f docs: add hook API tutorials for Lua, Python, Go, and Rust
Add comprehensive documentation for mod developers using the gregCore Hook API. The tutorials cover subscribing to and firing hooks for each supported language (Lua, Python, Go, and Rust), including code examples and troubleshooting guidance.
2026-04-20 14:50:38 +02:00
2026-04-13 23:33:18 +02:00

gregCore - Framework Core

The heart of the gregFramework modding ecosystem for Data Center.

Author: MLeeM97 (teamGreg) | License: MIT | Framework: gregCore


Features

  • GregSaveService - Persistent mod data storage
  • GregUIBuilder - FixedTableUI, Panel System, Canvas Management
  • GregPersistenceService - Centralized UserData/gregCore/Data/ storage
  • GregMCPServer - Embedded HTTP MCP server (Port 10420) for external tooling
  • GregMultiplayerService - WebSocket relay-based multiplayer
  • Harmony Patches - MainMenu, MODS Button injection
  • IL2CPP Compatibility - InputSystem, Coroutines, Il2CppTMPro
  • MoonSharp Lua - Embedded scripting engine

Installation

  1. Install MelonLoader (v0.6+)
  2. Place gregCore.dll + gregCore.dll into Game/Mods/
  3. Start the game and press Framework auto-initializes on game start

Dependencies

  • None (this IS the core)

Building from Source

cd gregFramework/gregCore
dotnet build -c Release
# Output: bin/Release/net6.0/gregCore.dll

Or build everything at once:

cd gregFramework/deploy
./build-all.ps1
# Output: gregFramework/BuiltModsForGame/

Contributors & Thanks

Discord Community

Thanks to:

  • Noootry
  • TheSlickers
  • Jarvis
  • Kirei
  • TeamWaseku (ModernSamurai, GamerFrankstar, Ultra, Zyn)

...for keeping the community alive!

Code & Testing

Special thanks:

  • Joniii & mochimus - Code + Tests
  • Baker, Sharpy1o1, MachineFreak - Testing + Modeling

Sponsors

  • @tobiasreichel - Haupt-Sponsor
  • SQ8 - Infrastructure Hosting

gregFramework - Powered by the Community!

Contributors

  • @mleem97
  • @Joniii11
S
Description
gregCore — MelonLoader-based modding stack for Data Center: translations, Harmony hooks, event handling, a Rust/native bridge, plugin extensions, and optional tooling.
Readme 125 MiB
Languages
C# 95.7%
PowerShell 3.5%
Python 0.6%