Skip to content Nodecraft
Support / Terraria / TShock Configuration Files

TShock Configuration Files

After installing TShock onto your Terraria server, our installer automatically moves the config files for TShock to the "config" folder.

Inside the config folder, you will find all the configuration files for TShock:

  • config.json - The main config for TShock, which replaces the "config.txt" file usually used by vanilla Terraria

  • tshock.sqlite - The default database file used by TShock for storage of information, unless you choose to configure TShock to use a different storage system (See below).

  • sssconfig - The config file for server-side characters plugin

Configure TShock to Use a MySQL Database

All Terraria servers hosted at Nodecraft include a MySQL database entirely free of charge. This database is run on a separate device from your server and uses no resources from your Terraria server.

If you wish to use the MySQL database instead of the SQLite database, please do the following:

  • Go to the Nodecraft Pro panel, click on the Databases tab, and then click the large bright green button Create Database.

A view of Nodecraft Pro's Database tab, creating a MySQL database

  • Go to Server Files on the Nodecraft Pro panel, then navigate to the "config" folder, select config.json, and click the "Edit" button

  • Edit the config.json file, and change the StorageType setting in config.json to mysql (all lowercase). Enter the login credentials shown on the Database tab of the panel on the following 4 lines of config.json.

A view of TShock's config.json file, with the Storage section show, within Nodecraft Pro

Terraria Icon
Create a Terraria Server today!
Start Free Trial

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.