SpongeMods-SpongePEAKCore icon

SpongePEAKCore

Shared foundation for Sponge PEAK mods: logging, config, reflection caching and patch hosting. Not a standalone mod.

Last updated 7 hours ago
Total downloads 138
Total rating 0 
Categories
Dependency string SpongeMods-SpongePEAKCore-1.0.0
Dependants 7 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

SpongePEAKCore

Shared foundation for Sponge PEAK mods. This is a library, not a standalone mod — on its own it changes nothing about the game.

r2modman installs it automatically as a dependency. You only need it if something asks for it.

What it provides

Type Purpose
ModLog Logging facade that is safe to call before setup and never throws from the log path
PatchHost Owns a Harmony instance; patch failures are contained rather than propagated
FeatureToggle A config-backed switch, plus whether the feature actually applied
ReflectionCache Cached member lookups, including misses, returning null instead of throwing
GameState Null-safe access to the game's character list and local player

Registers no BepInEx plugin of its own, by design.

Requirements

BepInEx only.

License

Free to use, free to include in modpacks, and free to build against. Writing a mod that references this library requires no permission and no attribution: that is what it is published for, and your mod stays entirely yours.

Attribution is only required if you decompile it and reuse the implementation itself. Please do not reupload it elsewhere.

Full terms in LICENSE.