Stellar framework · 2.35.0 · plugin SDK
Build Stellar plugins for Blue Protocol: Star Resonance.
Stellar is a Dalamud-style plugin framework — a read-only C# API over the live game, a native uGUI overlay toolkit, and a launcher that ships your plugin to players. Quality-of-life only; no cheating, by design.
71services on IPluginServices2,345API pages20registry plugins
public sealed class HelloSpec : IStellarPlugin
{
private readonly IPluginServices _s;
public string Name => "Hello Spec";
public HelloSpec(IPluginServices s)
{
_s = s;
_s.CombatEvents.CombatEventOccurred += OnCombat;
}
private void OnCombat(CombatEvent e)
{
// a nearby player's spec, known the moment they appear
if (e is CombatEvent.SpecChanged c)
_s.Log.Info($"spec → {c.NewSubProfessionId}");
}
public void Dispose() =>
_s.CombatEvents.CombatEventOccurred -= OnCombat;
}Start where you are
Three kinds of reader, three front doors
🎮I want to use modsInstall the launcher, pick plugins, play. It installs and auto-updates the framework for you.Getting started →🧩I want to write a pluginReference Stellar.Abstractions, implement IStellarPlugin, and draw UI with HudElement trees.Plugin guide →🛠️I want to extend the frameworkExpose a new wire field or game system. Builds and tests run against committed interop stubs — no game install.Contributor guide →
From pull request to players
Interactive — drag to pan, scroll to zoom, click a box for its source
Ecosystem
What’s new for plugin authors
Generated from the CHANGELOG’s developer notes
Framework 2.35.0
ChatMessage.Hypertext(ChatHypertext?, init):ConfigId,Kind(ChatLinkKind),IsShare, orderedSegments(ChatTextSegment:Kind, sanitisedText,Position,ItemId,ItemQuality,PlayerId),PlainText, rawPlaceholders(ChatPlaceholder,ChatPlaceholderType=zproto.PlaceHolderType). Wire decode (ChatMsgInfofield 7) on the receive thread; segments are laid out inChatService.Drain(main thread) from the live ChatHyperlink template ({*expr*}slots,<link>region) with names fromIGameData+ keyedChatHyperlinkBase/UnionBuildingTableBase/MessageTableBaselookups (cached per id). Empty/missing templates fall back to[Name]/Scene · Line N (x, y, z).ChatMessage.Voice(ChatVoice?, init): untested in game — not announced to players.Seconds, sanitisedTranscript,FileId(ChatMsgInfofield 6).Typeis unchanged (Voice still maps toUnknown, hypertext toItemLink).IChatPositionShare(new base ofIChat, default-implemented):GetSharePosition()→ChatPositionPreview;SharePosition(ChatTarget, string?)→ChatShareResult(WorldShareObjectInChattype 8 in a Lua coroutine; server verdict onIChat.SendResultwith the newChatSendResult.IsPositionShare);TrackPosition(ChatPosition)→ChatShareResult(the game’schat_main.onClickPositionShare). Main thread only; gated onIsWorldActive.WireProtocol.ParseChatMsgInfo/ParseChatHypertext/ParseChatVoice;ChitChatMsgResult.Hypertext/Voice(init).StackLayer.OnEscape(Action?, init): called once on an Esc press while the overlay is shown (layer active,Visible()true, window shown and not soft-parked / background-warmed). One press reaches at most ONE overlay: the frontmost window’s top overlay (registration = draw order). It defers to a focused text field (sampled before the fields tick), an open dropdown / click-away pop-up, and an open on-screenConfirmHostElementconfirm in the same or a front window (that confirm cancels instead). Per render frame from the ticker (WindowInteractionTicker.Escape.cs, pick =LayerStackRules.PickEscapeLayer, unit-tested); zero cost with noOnEscapelayer, else oneGetKeyDownper frame. Not hidden from the game, the same as the confirm’s Esc. Window (WindowBuilder) path only; nothing in the sandbox.- Resize grip (fw #172): the grip mark is now two concentric 1.4 px strokes (white 50 %, round caps) 3.5 px and 7 px inside the window edge that follow the body’s real corner radius (
token.BodyRadius: GlassMenu frame radius, BorderlessBackgroundColorcorner radius, else 0) — 90° arcs on a rounded body, corner brackets on a square one. Baked procedurally once per radius (process-wide cache, no mips, bilinear), drawn 1:1 as a non-raycast child; the 16×16 hit area and placement are unchanged. Pinned byResizeGripGeometryTests.
Reference
Rebuilt from the source on every deploy — it cannot drift
API referenceEvery public interface, record and enum in Stellar.Abstractions — generated from the XML docs.Open →Wire coverageEvery server message field the framework reads: what plugins can use, what still waits for a contributor.Open →Plugin galleryEvery plugin in the registry, with its source and the framework APIs it uses.Open →