This is made for the raspberry pi 5 and most likely will not work on other platforms. However, this is free to be used and changed for your own needs.
- Set up your own bot at https://discord.com/developers. You can find many a helpful walkthroughs online.
- Create a file called key.env in the same folder as the ServerManager.py file.
- Include in the file two lines:
- TOKEN="Your Bot's Token"
- GUILD="Your Discord Server's ID"
- Use the Raspberry Pi Terraria Server Install Guide and move the files needed into the same folder as used for this repo (So the software can stay up to date).
- Move the terrariad file to /usr/local/bin and replace YOURUSERNAME with your username.
- Move the terraria.service file to /etc/systemd/system after replacing all the important uppercase blocks with the relative information.
- Run the discord bot and type /sync in the discord server.
- Type /start in the discord server and now the Terraria Server should be running.