Package com.botwithus.bot.api.event


package com.botwithus.bot.api.event
Event bus infrastructure and game event types. Provides EventBus for publish-subscribe communication between scripts and the runtime, along with GameEvent subclasses representing in-game occurrences.
  • Class
    Description
    Fired after each queued bot action is executed on the game thread.
    Fired when a break countdown completes and the bot resumes.
    Fired when a break begins (logout triggered by fatigue/risk or manual schedule).
    Event fired when a chat message is received in the game.
    Fired when the underlying pipe transport drops mid-session.
    Publish-subscribe event bus for game events.
    Common interface for every typed game event distributed through the EventBus.
    Fired when a key is pressed while the overlay has keyboard focus.
    Fired when the client login state changes (e.g., lobby to logged in).
    Fired when a per-item obj var changes value.
    Fired when a radio-group option is selected, observed on the producer's outbound SendRadioButton packet builder.
    Fired whenever the ReconnectController transitions between ReconnectState variants.
    Fired by the runtime when a script's lifecycle hook throws.
    Fired when the script loader fails to load a JAR (module-info parse error, missing provides clause for BotScript, ServiceLoader instantiation failure, classpath / module-path mismatch, etc.).
    Fired when a new spot animation (graphic) starts playing.
    Fired each game tick when the server tick counter advances.
    Fired when a varbit changes value.
    Fired when a client variable (varc) changes value.
    Fired when a player variable (varp) changes value.
    Fired when the walker reaches its destination.
    Fired when a walk is cancelled (explicitly via walkCancel(), or implicitly when an action interrupts it).
    Fired when a walk fails (pathfinding failure, stuck timeout, context loss, etc.).