diff --git a/TShockAPI/Configuration/TShockConfig.cs b/TShockAPI/Configuration/TShockConfig.cs
index 64fbf77c..63fb4cca 100644
--- a/TShockAPI/Configuration/TShockConfig.cs
+++ b/TShockAPI/Configuration/TShockConfig.cs
@@ -532,10 +532,31 @@ namespace TShockAPI.Configuration
[Description("The type of database to use when storing data (either \"sqlite\", \"mysql\" or \"postgres\").")]
public string StorageType = "sqlite";
+ ///
+ /// The connection string to use when connecting to a SQLite database.
+ ///
+ /// This property will override the property, if used.
+ [Description("The connection string to use when connecting to a SQLite database. This property will override the SqliteDBPath property, if used.")]
+ public string SqliteConnectionString = "";
+
/// The path of sqlite db.
[Description("The path of sqlite db.")]
public string SqliteDBPath = "tshock.sqlite";
+ ///
+ /// The connection string to use when connecting to a MySQL database.
+ ///
+ ///
+ /// This property will override the
+ /// ,
+ /// ,
+ /// ,
+ /// and properties, if used.
+ ///
+ [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 = "";
+
/// The MySQL hostname and port to direct connections to.
[Description("The MySQL hostname and port to direct connections to.")]
public string MySqlHost = "localhost:3306";
@@ -552,6 +573,20 @@ namespace TShockAPI.Configuration
[Description("The password used when connecting to a MySQL database.")]
public string MySqlPassword = "";
+ ///
+ /// The connection string to use when connecting to a Postgres database.
+ ///
+ ///
+ /// This property will override the
+ /// ,
+ /// ,
+ /// ,
+ /// and properties, if used.
+ ///
+ [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 = "";
+
///The Postgres hostname and port to direct connections to.
[Description("The Postgres hostname and port to direct connections to.")]
public string PostgresHost = "";