PrivBot API 1.2.0
Start at PrivContext and PrivTaskContext (ctx.inventory, ctx.npcs, ctx.widgets). One-liners return true when dispatch is accepted.
Start at
privbot.context.PrivContext
and
privbot.task.PrivTaskContext
(ctx.inventory, ctx.npcs, ctx.widgets).
One-liners return true when dispatch is accepted; confirm the game-state change.
Packages
Package
Description
Worker-polled proof that a dispatched action took effect:
ActionTracker (from
ctx.actions.createTracker()), the ActionHandle it returns per action, and
ActionStatus, which ctx.travel.exactStep(...) also reports.The PrivBot plugin API boundary: what is supported, and which version of it a runtime provides.
Pacing for player-visible automation:
Human, reached as ctx.human from a node's
execute() on the script worker.Plugin settings helpers:
ConfigMigration, the versioned migration a plugin runs first in
startUp whenever it changes a config default or the meaning of a key.Plugin-scoped runtime:
PrivContext and
GameThread.Plugin-owned effect timers:
EffectTracker (from ctx.effects.createTracker()) and the
EffectObservation it answers with.ctx.* facades: inventory, bank, NPCs, widgets, and the other one-liners.Bank session internals used by
ctx.bank.Inventory and bank container slot reads.
Shop interface helpers used by
ctx.shop.Pure game-mechanic rules shared by plugins on every server: the same name and meaning on Impact, Elorin, Orion,
SpawnPK and Roat Pkz.
Travel types that appear in
ctx.travel signatures: NavigationSession,
NavigationOptions and SceneReachability.Fluent queries behind
ctx.npcs.query(), objects, ground items, and widgets.Restock and loot helpers shared by plugins:
RestockRunner with its
RestockRoute, RestockCycle and RestockHost,
plus GroundLoot and LootNames.The Swing half of the PrivBot UI kit: the plugin sidebar, the shared theme and a few widgets.
The settings studio: a JavaFX window hosted in Swing, shared by every plugin.
The in-game overlay kit: HUD panels and scene drawing that work the same on every server.
PrivNPC, PrivObject, PrivItem, PrivPlayer, PrivGroundItem.