tgstation-server
The /tg/station 13 server suite
GeneralConfiguration.cs
Go to the documentation of this file.
1 using Newtonsoft.Json;
2 using Newtonsoft.Json.Converters;
3 
4 namespace Tgstation.Server.Host.Configuration
5 {
9  public sealed class GeneralConfiguration
10  {
14  public const string Section = "General";
15 
19  const uint DefaultMinimumPasswordLength = 15;
20 
24  const int DefaultByondTopicTimeout = 5000;
25 
29  public uint MinimumPasswordLength { get; set; } = DefaultMinimumPasswordLength;
30 
34  public string GitHubAccessToken { get; set; }
35 
39  [JsonConverter(typeof(StringEnumConverter))]
40  public SetupWizardMode SetupWizardMode { get; set; }
41 
45  public int ByondTopicTimeout { get; set; } = DefaultByondTopicTimeout;
46  }
47 }
SetupWizardMode
Determines if the Core.ISetupWizard will run