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 Terrariatshock.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.
Go to Server Files on the Nodecraft Pro panel, then navigate to the "config" folder, select
config.json
, and click the "Edit" buttonEdit the
config.json
file, and change theStorageType
setting inconfig.json
tomysql
(all lowercase). Enter the login credentials shown on the Database tab of the panel on the following 4 lines ofconfig.json
.