LANCommander/LANCommander.SDK/Models/Settings/Settings.cs
Pat Hartl f87756243e Add support for defining PowerShell modules
Adds a new section "Scripting" in the server UI where PowerShell modules can be defined. These can be used for defining a library of functions that can be used in any script. These modules are automatically synced to the launcher and imported upon script execution.
2026-06-28 23:02:35 -05:00

23 lines
No EOL
992 B
C#

namespace LANCommander.SDK.Models;
public class Settings
{
public const string DEFAULT_GAME_USERNAME = "Player";
public const string SETTINGS_FILE_NAME = "Settings.yml";
public const string SQLITE_DEFAULT_DB_NAME = "LANCommander.db";
public ArchiveSettings Archives { get; set; } = new();
public AuthenticationSettings Authentication { get; set; } = new();
public LauncherSettings Launcher { get; set; } = new();
public LibrarySettings Library { get; set; } = new();
public GameSettings Games { get; set; } = new();
public ToolSettings Tools { get; set; } = new();
public MediaSettings Media { get; set; } = new();
public ModuleSettings Modules { get; set; } = new();
public DebugSettings Debug { get; set; } = new();
public UpdateSettings Updates { get; set; } = new();
public IPXRelaySettings IPXRelay { get; set; } = new();
public SteamSettings Steam { get; set; } = new();
public string Culture { get; set; } = "en-US";
}