AutomationClient

public class AutomationClient

Utilities for interacting with and extending the functionality of the TRiBot automation client

Types

AutomationException
Link copied to clipboard
public class AutomationException extends RuntimeException

Functions

sendMessage
Link copied to clipboard
static void sendMessage(String message)
Sends a message to the server.
sendRequest
Link copied to clipboard
static T sendRequest<T>(String request, Class<T> returnType)
Sends a request to the server and waits for a response.
setMessageListener
Link copied to clipboard
static void setMessageListener(Consumer<String> listener)
Sets a custom message listener.
setRequestHandler
Link copied to clipboard
static void setRequestHandler(Function<String, Object> requestHandler)
Sets a custom request handler.