Skip to content
Version 2.35.0
↓ Get the launcher
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
HelloSpec.cs
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

From pull request to players

Interactive — drag to pan, scroll to zoom, click a box for its source
All diagrams →
Ecosystem

What’s new for plugin authors

Generated from the CHANGELOG’s developer notes
Full changelog →
Framework 2.35.02026-11-23
  • ChatMessage.Hypertext (ChatHypertext?, init): ConfigId, Kind (ChatLinkKind), IsShare, ordered Segments (ChatTextSegment: Kind, sanitised Text, Position, ItemId, ItemQuality, PlayerId), PlainText, raw Placeholders (ChatPlaceholder, ChatPlaceholderType = zproto.PlaceHolderType). Wire decode (ChatMsgInfo field 7) on the receive thread; segments are laid out in ChatService.Drain (main thread) from the live ChatHyperlink template ({*expr*} slots, <link> region) with names from IGameData + keyed ChatHyperlinkBase / UnionBuildingTableBase / MessageTableBase lookups (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, sanitised Transcript, FileId (ChatMsgInfo field 6). Type is unchanged (Voice still maps to Unknown, hypertext to ItemLink).
  • IChatPositionShare (new base of IChat, default-implemented): GetSharePosition() → ChatPositionPreview; SharePosition(ChatTarget, string?) → ChatShareResult (World ShareObjectInChat type 8 in a Lua coroutine; server verdict on IChat.SendResult with the new ChatSendResult.IsPositionShare); TrackPosition(ChatPosition) → ChatShareResult (the game’s chat_main.onClickPositionShare). Main thread only; gated on IsWorldActive.
  • 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-screen ConfirmHostElement confirm 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 no OnEscape layer, else one GetKeyDown per 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, Borderless BackgroundColor corner 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 by ResizeGripGeometryTests.

Reference

Rebuilt from the source on every deploy — it cannot drift