AtHomeSimOnly - Should the @home system only care if the sim is correct (True|False) AtHomeSimPosMaxRange - if (False) How far away can the bot get before it teleports (in M example: 10.0) Also renames a config value to be less tash. - Please note updated docker file -
44 lines
1.4 KiB
C#
44 lines
1.4 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; }
|
|
|
|
// 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 bool HttpRequireSigned { get; set; }
|
|
public string HttpHost { get; set; }
|
|
public bool HttpAsCnC { get; set; }
|
|
}
|
|
|
|
}
|