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
/
Tribot
Tribot
open
class
Tribot
Contains methods to obtain information about the tribot environment
Members
Constructors
Tribot
Link copied to clipboard
constructor
(
)
Functions
get
Current
User
Id
Link copied to clipboard
open
fun
getCurrentUserId
(
)
:
Int
get
Directory
Link copied to clipboard
open
fun
getDirectory
(
)
:
File
Gets the TRiBot directory (for example, on windows this will be %appdata%/.tribot).
get
Username
Link copied to clipboard
open
fun
getUsername
(
)
:
String
Determines the username of the user running the script.
is
Tribot
Echo
Link copied to clipboard
open
fun
isTribotEcho
(
)
:
Boolean
is
Tribot
X
Link copied to clipboard
open
fun
isTribotX
(
)
:
Boolean