Logo
Explore Help
Sign In
Overlord/ZomboidForge
Watch 1
Star 1 Fork 0
Code Issues Pull Requests Actions Packages Releases 6 Activity
Files
a0d1ec2feb3a8e522fcdba538165d42ce0dea191
ZomboidForge/api/src
T
History
Overlord a0d1ec2feb Introduce event-driven API, modular threading, and enhanced server lifecycle tools
Add `Events` and `EventBus` for mod-driven event handling with support for main-thread and mod-thread execution. Introduce `MainThread` and `AsyncExecutor` for modular threading and background task management. Add `ForgeSettings` to manage global mod configuration through `forge.toml`. Include tests for events, threading, and configuration parsing to improve robustness and maintainability.
2026-10-02 12:58:40 +02:00
..
main/java/dev/overlord/zomboidforge/api
Introduce event-driven API, modular threading, and enhanced server lifecycle tools
2026-10-02 12:58:40 +02:00
test/java/dev/overlord/zomboidforge/api
Move GameVersion and its tests to the api module and add prefix matching (42, 42.21, 42.21.0). Add the abstract Mod base class with ModContext, bound through a ScopedValue while the mod is constructed. Add mod discovery, mod.toml parsing (night-config TOML), validation of API and game versions and dependencies, dependency ordering, and per-mod class loaders in core.mods. Add Forge to load mods and call their lifecycle methods from ServerHooks, and ConsoleLogger for log output. Add tests for versions, descriptors, discovery, resolution, and loading.
2026-10-01 22:31:23 +02:00