Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
Alexander Freeman edited this page Dec 22, 2015 · 3 revisions

Welcome to the terrabot wiki!

Terrabot is a library designed to make the development of Terraria server bots easier by providing a framework. Note that the library is still under development and can be changed!

How does it work

Events

Functions and methods can be bound to specific events, like for instance NewPlayer, ItemDropped and TileUpdate. The full list can be found on the page Events or in the source code. The wiki page also describes the various pieces of data that are passed around.

Data

The bot also keeps an few data-classes up to date while parsing packets, like Player and World. These contain information about the current state, like NPCs, dropped items and tiles. See the page Data for more information or check the source code.

Interacting with the server

Besides listening to the server, you probably also want to be able to interface with the server. This functionality is still under development.

Clone this wiki locally