From d0e5c84a794876d0596810a21fd9946a4281b22a Mon Sep 17 00:00:00 2001 From: Sakura Akeno Isayeki Date: Fri, 23 May 2025 15:07:11 +0200 Subject: [PATCH] docs: Add example links for SQLite, MySQL, & Postgres connection strings Provides links to example connection string formats for SQLite, MySQL, and Postgres to assist users in configuring database connections more effectively. --- TShockAPI/Configuration/TShockConfig.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TShockAPI/Configuration/TShockConfig.cs b/TShockAPI/Configuration/TShockConfig.cs index 63fb4cca..83dd6e4e 100644 --- a/TShockAPI/Configuration/TShockConfig.cs +++ b/TShockAPI/Configuration/TShockConfig.cs @@ -536,6 +536,7 @@ namespace TShockAPI.Configuration /// The connection string to use when connecting to a SQLite database. /// /// This property will override the property, if used. + /// Example SQLite connection strings (connectionstrings.com) [Description("The connection string to use when connecting to a SQLite database. This property will override the SqliteDBPath property, if used.")] public string SqliteConnectionString = ""; @@ -553,6 +554,9 @@ namespace TShockAPI.Configuration /// , /// and properties, if used. /// + /// + /// Example MySQL connection strings (connectionstrings.com) + /// [Description("The connection string to use when connecting to a MySQL database. " + "This property will override the MySqlHost, MySqlDbName, MySqlUsername and MySqlPassword properties, if used.")] public string MySqlConnectionString = ""; @@ -583,6 +587,7 @@ namespace TShockAPI.Configuration /// , /// and properties, if used. /// + /// Example Npgsql connection strings (connectionstrings.com) [Description("The connection string to use when connecting to a Postgres database. " + "This property will override the PostgresHost, PostgresDbName, PostgresUsername and PostgresPassword properties, if used.")] public string PostgresConnectionString = "";