Headless Client is a 3rd party client for Terraria, meant to be similar to a Discord bot.
HeadlessClient HeadlessClient = new HeadlessClient();
// Random client UUID
HeadlessClient.clientUUID = Guid.NewGuid().ToString();
// World
HeadlessClient.World = new ClientWorld();
// Player name
HeadlessClient.LocalPlayer.name = "Example Client";
// Softcore player, Default appearence, and Default inventory
HeadlessClient.LocalPlayer.LoadDefaultPlayer();
// Connect to the server
await HeadlessClient.Connect("127.0.0.1", 7777);
- Connecting to TShock and Vanilla Terraria servers
- Sending and receiving chat messages
- Sending and receiving tile manipulation, such as placing and breaking blocks
- Events
- World Data Recieved
- Finished Connecting to Server
- Client Connection Completed
- Chat Message Received
- Tile Manipulation Message Recieved
- Net Message Received
- Net Message Sent
- NPC data
- Projectile data
- Writing to signs
- Using chests
- Mass wiring operations
- Improving async/await experience
To contribute, open a pull request and I will review it and accept the PR if it suitable.
Open an issue.