4fe23b041f800c1c8eafc06945937e095fae6ddb
- Added GregEventDispatcher class for managing event subscriptions and emissions. - Integrated event bus functionality for mod communication. feat: Introduce GregCoreConfig for configuration management - Created GregCoreConfig class to manage application-wide settings, including debug mode. feat: Develop WallRack mod with initialization and logging - Implemented Main class for WallRack mod with initialization and shutdown logging. - Integrated logging functionality for various mod events. feat: Enhance logging capabilities with GregLogger and GregModLogger - Developed GregLogger for general logging and GregModLogger for mod-specific logging. - Added structured logging methods for different log levels and actions. feat: Create WallRack integration for wall management - Implemented GregWallRegistry for managing wall grids and devices. - Developed GregWallGrid and GregWallSlot for grid and slot management. - Added GregWallDevice for device representation and mounting logic. feat: Implement undo/redo functionality for wall actions - Created GregWallUndoRedoService to manage undo and redo actions for wall modifications. - Defined action records for mounting, unmounting, and swapping devices. feat: Integrate wall placement controller for user interactions - Developed GregWallPlacementController to handle wall build mode and user interactions. - Implemented methods for mounting, unmounting, and swapping devices in the wall grid. feat: Add save/load functionality for wall state - Implemented WallSaveIntegration for saving and loading wall states using LiteDB. - Created data models for wall and mounted device states. feat: Enhance UI settings for WallRack mod - Developed GregSettingsHubWallRackTab for managing mod settings and user preferences. - Integrated feature guards to disable settings based on game state. fix: Address various bugs and improve stability - Fixed issues related to device mounting and grid management. - Improved error handling and logging for better debugging.
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%