player / bot Object
The player or bot object represents a real Minecraft client connected to the test server.
Methods
player.chat(message)
Sends a chat message or command.
The message or command to send.
player.gui(options)
Waits for a GUI to open matching the title and returns a live handle.
Pattern to match GUI title.
Properties
Access the player’s current inventory state.
The randomly generated or assigned name of the bot.
server Object
The server object gives you control over the backend Minecraft server.
Methods
server.execute(command)
Executes a command from the server console.
The console command to execute.