StatusCore
Developer API for authoritative timed player statuses, synchronization, and native HUD presentation.
By ArceDev
| Date uploaded | 4 hours ago |
| Version | 0.2.0 |
| Download link | ArceDev-StatusCore-0.2.0.zip |
| Downloads | 18 |
| Dependency string | ArceDev-StatusCore-0.2.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305ArceDev-NativeStatusUI
Developer library for adding timed status icons that match How to Fish's native vitals UI.
Preferred version: 0.2.2README
Status Core
Status Core is a developer library for registering and applying authoritative timed player statuses. It owns duration, refresh, expiration, server ticks, owner synchronization, and integration with Native Status UI. It does not add gameplay statuses by itself.
Developer API
Register a StatusDefinition once, then apply it from authoritative server code with StatusApi.Apply(...). Reapplying the same status to the same player refreshes its duration and replaces its source. Providers implement status-specific behavior through callbacks or by querying StatusApi.IsActive(...) from their game hooks.
StatusApi.Register(new StatusDefinition(
id: "YourTeam.YourMod.Bleeding",
displayName: "Bleeding",
iconPng: iconBytes,
color: new Color(0.5f, 0.08f, 0.18f),
tickInterval: 1f,
onTick: context => Damage(context.Target, context.Source)));
// Call from validated server-authoritative gameplay code.
StatusApi.Apply(victim, "YourTeam.YourMod.Bleeding", 6f, attacker);
An application may optionally override the definition's tick interval, which is useful when a gameplay context supplies different balance values:
StatusApi.Apply(victim, "YourTeam.YourMod.Bleeding", 8f, attacker, tickInterval: 0.75f);
StatusApi.Remove(...), IsActive(...), and TryGet(...) provide lifecycle and query access. Status Core synchronizes only presentation and timing to the affected player's client; gameplay callbacks execute on the server. Native Status UI remains the rendering layer.
In multiplayer, every participant using a dependent status provider must install Status Core, Native Status UI, and that provider. Status IDs and definitions must match across the lobby.
The initial API intentionally supports one active instance per player and status. Stack and charge policies are deferred until a real status requires them.
Installation
Status Core is a library and adds nothing by itself. Install a mod that uses it with a Thunderstore-compatible mod manager such as r2modman; it installs Status Core and Native Status UI automatically. For a manual install, place ArceDev.StatusCore.dll and ArceDev.NativeStatusUI.dll in BepInEx/plugins together with BepInEx 5.
Support
Join DevArce Mods on Discord for questions, feedback, and bug reports.
AI Disclosure
This mod was developed with assistance from generative AI for programming, documentation, and promotional artwork. The author reviewed, tested, and approved the final implementation and assets.
CHANGELOG
Changelog
[0.2.0] - 2026-11-23
Added
- Optional per-application tick intervals so an upgrade context can tune a status without registering a duplicate definition.
[0.1.0] - 2026-09-04
Added
- Public registration and application API for authoritative timed player statuses.
- Duration refresh, expiration, optional server ticks, source tracking, owner synchronization, and automatic Native Status UI presentation.