adamant-ModpackFramework icon

ModpackFramework

Reusable modpack framework: discovery, hash, HUD, and UI. Used by modpack coordinators.

Last updated 21 hours ago
Total downloads 10
Total rating 0 
Categories Modpacks
Dependency string adamant-ModpackFramework-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

Hell2Modding-Hell2Modding-1.0.78 icon
Hell2Modding-Hell2Modding

Lua Mod Loader for Hades 2

Preferred version: 1.0.78
LuaENVY-ENVY-1.2.0 icon
LuaENVY-ENVY

A plugin to allow ReturnOfModding plugins greater control of their environment.

Preferred version: 1.2.0
SGG_Modding-ModUtil-4.0.1 icon
SGG_Modding-ModUtil

Utility mod for mod interactions within lua for SGG's games

Preferred version: 4.0.1
adamant-ModpackLib-1.0.0 icon
adamant-ModpackLib

Shared utilities for adamant modpack standalone mods.

Preferred version: 1.0.0

README

adamant-ModpackFramework

Reusable coordinator framework for adamant modpacks.

Framework now owns:

  • module discovery for one packId
  • config hashing and profile load
  • HUD fingerprint rendering
  • the shared coordinator window

Framework does not define module UI shapes anymore. Under the current contract, each discovered coordinated module renders itself through:

  • host.drawTab(ui)
  • optional host.drawQuickContent(ui)

Docs

  • COORDINATOR_GUIDE.md Bootstrap, discovery, and the live coordinator/module contract.
  • QUICK_SETUP.md Current Quick Setup model: coordinator quick content plus module host quick content.
  • HASH_PROFILE_ABI.md Compatibility rules for module ids, storage aliases/defaults, and hash groups.
  • CONTRIBUTING.md Contributor expectations for framework behavior and compatibility-sensitive changes.

Current Framework Contract

Discovery includes modules that expose:

  • definition.modpack = PACK_ID
  • definition.id
  • definition.name
  • definition.storage
  • public host

host.drawQuickContent(...) is optional.

Framework sidebar behavior is now:

  • one top-level tab per discovered module
  • moduleOrder may pin known labels first
  • no category/subgroup grouping
  • no special-module split

Validation

cd adamant-ModpackFramework
lua5.2 tests/all.lua