using Robust.Shared.Configuration; namespace Content.Shared.CCVar; public sealed partial class CCVars { /* * Server */ /// /// Change this to have the changelog and rules "last seen" date stored separately. /// public static readonly CVarDef ServerId = CVarDef.Create("server.id", "unknown_server_id", CVar.REPLICATED | CVar.SERVER); /// /// Guide Entry Prototype ID to be displayed as the server rules. /// public static readonly CVarDef RulesFile = CVarDef.Create("server.rules_file", "DefaultRuleset", CVar.REPLICATED | CVar.SERVER); /// /// Guide entry that is displayed by default when a guide is opened. /// public static readonly CVarDef DefaultGuide = CVarDef.Create("server.default_guide", "NewPlayer", CVar.REPLICATED | CVar.SERVER); /// /// If greater than 0, automatically restart the server after this many minutes of uptime. /// /// /// /// This is intended to work around various bugs and performance issues caused by long continuous server uptime. /// /// /// This uses the same non-disruptive logic as update restarts, /// i.e. the game will only restart at round end or when there is nobody connected. /// /// public static readonly CVarDef ServerUptimeRestartMinutes = CVarDef.Create("server.uptime_restart_minutes", 0, CVar.SERVERONLY); /// /// This will be the title shown in the lobby /// If empty, the title will be {ui-lobby-title} + the server's full name from the hub /// public static readonly CVarDef ServerLobbyName = CVarDef.Create("server.lobby_name", "", CVar.REPLICATED | CVar.SERVER); /// /// The width of the right side (chat) panel in the lobby /// public static readonly CVarDef ServerLobbyRightPanelWidth = CVarDef.Create("server.lobby_right_panel_width", 650, CVar.REPLICATED | CVar.SERVER); }