Skip to main content
Corvus Connection

IRpgAdminApi

Interface
TheOmenDen.StreamPulse.Scripting.IRpgAdminApiThe Rookery activation admin from a script (ctx.Rpg.Admin, spec 070): the first admin actions surfaced to scripts/nodes. Turn the game on in one shot, re-post the join invite, or pause the announcer, dispatching the same Mediator handlers the !rpg chat verbs and the rpg.start/announce/stop nodes run. Failure-safe: a blocked gate or unavailable store yields the method's "no result" fallback (null / false), never a throw. The broadcaster is always resolved server-side. Reset is intentionally absent, since a destructive wipe stays a human act (chat two-step + desktop).

Members

3
  • AnnounceAsync
    method
    ValueTask<bool> AnnounceAsync(CancellationToken cancellationToken = default)
    Posts the join invite now. Returns whether it posted (false when suppressed by the re-announce min-gap, or on failure).
  • StartAsync
    method
    ValueTask<RpgActivationInfo> StartAsync(CancellationToken cancellationToken = default)
    The one-shot activation: seed the starter pack, start a persistent season if none is active, turn the announcer on, and post the invite. Returns the outcome, or null when the gate is blocked or the store is unavailable.
  • StopAsync
    method
    ValueTask<bool> StopAsync(CancellationToken cancellationToken = default)
    Pauses the recurring announcer (the game stays live). Returns whether it applied.