Chatbox

public class Chatbox

Contains methods for inspecting and interacting with the chatbox screen (the box that contains chat messages from players for example)

Types

Tab
Link copied to clipboard
public enum Tab

Functions

acceptTradeRequest
Link copied to clipboard
static boolean acceptTradeRequest()
Accepts the most recent trade request
static boolean acceptTradeRequest(String trader)
Accepts a trade request from the specified trader
hide
Link copied to clipboard
static boolean hide()
Hides the chatbox by clicking switch tab on the currently open tab
isOpen
Link copied to clipboard
static boolean isOpen()
Checks if the chatbox is open (not hidden)