Tribot

public class Tribot

Contains methods to obtain information about the tribot environment

Functions

getCurrentUserId
Link copied to clipboard
static int getCurrentUserId()
getDirectory
Link copied to clipboard
static File getDirectory()
Gets the TRiBot directory (for example, on windows this will be %appdata%/.tribot).
getUsername
Link copied to clipboard
static String getUsername()
Determines the username of the user running the script.