UNPKG

@ohd-tools/utils

Version:
49 lines (48 loc) 1.79 kB
export interface IGameIni { RCON_Enabled: boolean; RCON_ListenAddress: string; RCON_ListenPort: number; RCON_Password: string; RCON_MaxActiveConnections: number; RCON_MaxAuthAttempts: number; GameSession_MaxPlayers: number; GameSession_MinPlayers: number; GameSession_ServerName: string; GameSession_Password: string; GameSession_SupportersOnlyWhitelist: boolean; Gamemode_BotAutofill: boolean; Gamemode_WarmupTime: number; Gamemode_RoundTimeLimit: number; Gamemode_RoundScoreLimit: number; Gamemode_TimeBetweenMatches: number; Gamemode_BalanceTeams: boolean; Gamemode_BalanceTimerInterval: number; Gamemode_AutoAssignHumanTeam: number; Gamemode_AllowVoting: boolean; Gamemode_AllowedVoteIssues: string; Gamemode_RandomPlayerTeamBalance: boolean; Voting_BanDuration: number; Voting_PassRatio: number; Voting_Duration: number; Voting_PassedVoteCooldown: number; Voting_FailedVoteCooldown: number; Voting_DenyVACBannedUsersFromVoting: boolean; Voting_DisableVACBanCheckWhileAdminIsOnline: boolean; Voting_OnlyAdminsCanInitiateVote: boolean; Access_DenyVACBannedUsers: boolean; Access_DenyGameBannedUsers: boolean; Access_DenyCommunityBannedUsers: boolean; Access_DenyUsersWithPrivateProfiles: boolean; Access_NumVACBansAllowed: number; Access_NumGameBansAllowed: number; Access_NumBanAgeDaysAllowed: number; Access_MinRequiredAccountAgeDays: number; Access_MinRequiredAccountPlaytimeHours: number; Access_MaxLoginQueryCacheAgeMinutes: number; } export declare class GameINI { Settings: IGameIni; constructor(settings?: Partial<IGameIni> | string); static parse(fileContent: string): GameINI; toString(): string; }