SoulFire LogoSoulFire

SoulFireInstance

Public TypeScript members of SoulFireInstance.

Generated from the pinned SDK source. Use the matching installation. Each source link points to this baseline.

Compose Effect operations with yield* inside a scoped workflow. Properties expose sub-clients and state.

fleet

get fleet(): SoulFireFleet

Source

bot

bot(botId: string): SoulFireBot

Source

info

info(
  options?: CallOptions,
): Effect.Effect<InstanceInfo, SoulFireOperationError>

Source

delete

Deletes the instance and its data for good. Its bots are stopped first.

delete(
  options?: CallOptions,
): Effect.Effect<void, SoulFireOperationError>

Source

updateMetadata

updateMetadata(
  request: InstanceScopedRequest<typeof InstanceUpdateMetaRequestSchema>,
  options?: CallOptions,
): Effect.Effect<void, SoulFireOperationError>

Source

setConfigEntry

setConfigEntry(
  request: InstanceScopedRequest<
    typeof InstanceUpdateConfigEntryRequestSchema
  >,
  options?: CallOptions,
): Effect.Effect<void, SoulFireOperationError>

Source

addAccounts

addAccounts(
  accounts: readonly MinecraftAccountProto[],
  options?: CallOptions,
): Effect.Effect<void, SoulFireOperationError>

Source

removeAccounts

removeAccounts(
  profileIds: readonly string[],
  options?: CallOptions,
): Effect.Effect<void, SoulFireOperationError>

Source

addProxies

addProxies(
  proxies: readonly ProxyProto[],
  options?: CallOptions,
): Effect.Effect<void, SoulFireOperationError>

Source

removeProxies

removeProxies(
  addresses: readonly string[],
  options?: CallOptions,
): Effect.Effect<void, SoulFireOperationError>

Source

loginCredentials

loginCredentials(
  request: InstanceScopedRequest<typeof CredentialsAuthRequestSchema>,
  options?: CallOptions,
): Stream.Stream<CredentialsAuthResponse, SoulFireOperationError>

Source

loginDeviceCode

loginDeviceCode(
  request: InstanceScopedRequest<typeof DeviceCodeAuthRequestSchema>,
  options?: CallOptions,
): Stream.Stream<DeviceCodeAuthResponse, SoulFireOperationError>

Source

refreshAccount

refreshAccount(
  request: InstanceScopedRequest<typeof RefreshRequestSchema>,
  options?: CallOptions,
): Effect.Effect<RefreshResponse, SoulFireOperationError>

Source

bots

Every bot of the instance, online or not. Online ones come with their live state, without the inventory.

bots(
  options?: CallOptions,
): Effect.Effect<BotListEntry[], SoulFireOperationError>

Source

watchBotStatuses

A snapshot of every bot's desired and runtime state, then each change.

watchBotStatuses(
  options?: CallOptions,
): Stream.Stream<WatchBotStatusesResponse, SoulFireOperationError>

Source

events

Watches one multiplexed event stream for the selected bots in this instance. The default filter includes every stateful event category while leaving high-volume sounds and particles opt-in.

events(
  filter: MessageInitShape<
    typeof InstanceEventFilterSchema
  > = DEFAULT_INSTANCE_EVENT_FILTER,
  options?: CallOptions,
): Stream.Stream<InstanceEvent, SoulFireOperationError>

Source

start

Marks bots to run; they connect in the background. selection defaults to every bot not marked to run.

start(
  selection?: BotSelection,
  options?: CallOptions,
): Effect.Effect<BotStatus[], SoulFireOperationError>

Source

stop

Marks bots as stopped; they disconnect in the background. selection defaults to every bot marked to run.

stop(
  selection?: BotSelection,
  options?: CallOptions,
): Effect.Effect<BotStatus[], SoulFireOperationError>

Source

restart

Gives bots a fresh connection. selection defaults to every bot marked to run.

restart(
  selection?: BotSelection,
  options?: CallOptions,
): Effect.Effect<BotStatus[], SoulFireOperationError>

Source

How is this page?

Last updated on

On this page