Tribot SDK
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Tribot SDK
script-sdk
/
org.tribot.script.sdk.util
/
AutomationClient
Automation
Client
open
class
AutomationClient
Utilities for interacting with and extending the functionality of the TRiBot automation client
Members
Constructors
Automation
Client
Link copied to clipboard
constructor
(
)
Types
Automation
Exception
Link copied to clipboard
open
class
AutomationException
:
RuntimeException
Functions
send
Message
Link copied to clipboard
open
fun
sendMessage
(
message
:
String
)
Sends a message to the server.
send
Request
Link copied to clipboard
open
fun
<
T
>
sendRequest
(
request
:
String
,
returnType
:
Class
<
T
>
)
:
T
Sends a request to the server and waits for a response.
set
Message
Listener
Link copied to clipboard
open
fun
setMessageListener
(
listener
:
Consumer
<
String
>
)
Sets a custom message listener.
set
Request
Handler
Link copied to clipboard
open
fun
setRequestHandler
(
requestHandler
:
(
String
)
->
Any
)
Sets a custom request handler.