Package com.botwithus.bot.api.script
package com.botwithus.bot.api.script
Script lifecycle management and orchestration. Provides
ScriptManager for
loading and controlling scripts, ScriptScheduler and Task for
scheduling work, and ClientOrchestrator for cross-client coordination.-
ClassDescriptionLaunches, stops and watches game clients through the BotWithUs launcher's background service.Cross-client script lifecycle and group management.Result of a script operation on a specific client.A single active schedule pinned to a specific client.Result of a schedule operation.Snapshot of a script's state on a specific client.A client the launcher service manages, as it reported it.What kind of client it is.The host connection that launched a client.A client's licence.A licence's state; see
LaunchedClient.Licence.Who launched it: the launcher's own UI, or a host over automation.Where a launch is.An account the launcher can start a client on.Something the launcher service reported, or a change in the host's link to it.The launcher has a new agent; clients injected before it are now stale.A client's process exited.A client started: a launch reached its first record, or auto-restart replaced the process (thenLaunchedClient.restartOf()is set).A client's launch moved on.Where a data update is.A data update was applied.The state of a data update changed.Events were missed: the service's sequence skipped, or this listener fell too far behind.Why a client exited.The licence link, or one client's licence, changed.The host lost the service.The host has the service again after aLauncherEvent.ServiceLost.The service is shutting down.AClientLaunchercall that failed.A launch the service has queued:ClientLauncher.launch(String, LaunchOptions).Options forClientLauncher.launch(String, LaunchOptions).How aLaunchHandleended.The client was injected and the host attached to it.The service injected the client, but the host could not attach to it: its pipe or its shared memory never appeared.The launch failed before the client was injected, or the client exited first.Context passed toManagementScript.onStart(ManagementContext).Service Provider Interface for independent management scripts.Something aManagementScripthas been told to manage.One script on one client.Every client in a group, and every script on each.Every client on the host, and every script on each.Read-only snapshot of a script's metadata and current state.Per-Connection script lifecycle manager: lists, starts, stops, reloads, and schedules scripts running against oneClient.Schedules scripts to run at a future time or on a recurring interval.A snapshot of one scheduled entry.HowClientLauncher.stop(String, StopMode)ends a client.A discrete unit of work within aTaskScript.Base class for task-based scripts.