SecondBot/BSBshared/Json/JsonConfig.cs
Madpeter 5ee76f3517 New config value "AllowFunds" [Default: True]
allows all L$ fund functions/commands to be disabled for the bot.
2020-05-06 17:34:18 +01:00

47 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace BetterSecondBotShared.Json
{
public class JsonConfig
{
// Required
public string userName { get; set; }
public string password { get; set; }
public string master { get; set; }
public string code { get; set; }
// Security
public bool AllowFunds { get; set; }
// Mixed
public bool allowRLV { get; set; }
public string DefaultSitUUID { get; set; }
public bool CommandsToConsole { get; set; }
public int MaxCommandHistory { get; set; }
public string RelayImToAvatar { get; set; }
// Discord
public string discordWebhookURL { get; set; }
public string discordGroupTarget { get; set; }
public bool DiscordFullServer { get; set; }
public string DiscordClientToken { get; set; }
public ulong DiscordServerID { get; set; }
public int DiscordServerImHistoryHours { get; set; }
// @home
public string[] homeRegion { get; set; }
public bool AtHomeSimOnly { get; set; }
public float AtHomeSimPosMaxRange { get; set; }
// HTTP interface
public bool EnableHttp { get; set; }
public int Httpport { get; set; }
public string Httpkey { get; set; }
public string HttpHost { get; set; }
public bool HttpAsCnC { get; set; }
public string HttpPublicUrlBase { get; set; }
}
}