9819687e9fcc4469b4e32ec962f17747739ae47d
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.
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
- Install MelonLoader (v0.6+)
- Place
gregCore.dll+gregCore.dllintoGame/Mods/ - 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/
Links
- Primary: git.datacentermods.com/teamGreg
- Discord: discord.gg/greg
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
Description
gregCore — MelonLoader-based modding stack for Data Center: translations, Harmony hooks, event handling, a Rust/native bridge, plugin extensions, and optional tooling.
Languages
C#
95.7%
PowerShell
3.5%
Python
0.6%