Sqlite added

BanManager now uses sqlite (imcomplete)
This commit is contained in:
high 2011-07-01 15:54:52 -04:00
parent 91abde27d2
commit c644fcd45c
4 changed files with 84 additions and 86 deletions

View file

@ -67,6 +67,11 @@ namespace TShockAPI
public int MaximumLoginAttempts = 3;
/// <summary>
/// Valid types are "sqlite" and "mysql"
/// </summary>
public string StorageType = "sqlite";
public static ConfigFile Read(string path)
{
if (!File.Exists(path))