FragLand / terracord

:evergreen_tree: A Discord <-> Terraria bridge plugin for TShock
GNU General Public License v3.0
33 stars 14 forks source link

Put Terracord config and log file into a folder #56

Closed moisterrific closed 4 years ago

moisterrific commented 4 years ago

Put terracord.xml and terracord.txt into a tshock\Terracord folder

not a big deal but it would help better organize things for servers that have a lot of plugin configs/logs/database files, etc.

at least according to one of the lead TShock devs image

moisterrific commented 4 years ago

What some of these other plugins do is public static string ConfigPath = Path.Combine(TShock.SavePath, "Plugin", "PluginConfig.json");

ldilley commented 4 years ago

This was actually the original intent at the project's inception as I was testing read/write paths relative to Terracord.dll. The current behavior simply remained after it was discovered that the path relative to TerrariaServer.exe worked as intended for configuration file parsing and logging.

This change will require maintainers of existing installations to relocate their configuration file and, optionally, the log file (if they want to append to an extant log). This would additionally necessitate updating the installation instructions in README.md.