namespace Matchmaker.Server; public static class Config { /// /// This allows you to name the server so your game cannot connect to other ones. /// Use the game name here and on the client as well. /// public const string GameId = "My Game Name"; /// /// The version of the matchmaker API. This must match here and on the client for a connection. /// public const string MatchmakerAPIVersion = "1.1.6"; /// /// What version the game is. This must match here and on the client for a connection. /// public const string GameVersion = "0.0.1"; /// /// How many people can be connected to the List server instance at the same time. /// public const ushort ListMaxClients = 512; /// /// The maximum amount of Lobbies. /// public const ushort MaxLobbies = 1024; /// /// What port the server will be on (0-65535). The lobby server will use a port two (2) above this. /// public const ushort Port = 26950; /// /// The display name for the List server instance, if you want to change it. /// public const string ListServerDisplayName = "List Server"; /// /// The display name for the Lobby server instance, if you want to change it. /// public const string LobbyServerDisplayName = "Lobby Server"; /// /// How long generated UUIDs are /// public const int UuidLength = 7; /// /// Sends a response to the Client whenever a message is received. Slow, for debugging. /// public const bool Sync = false; /// /// Whether or not to show LogDebug() text. /// public const bool ShowTerminalDebug = true; /// /// Text that is prepended to a Log() text. /// public const string LogText = " LOG "; /// /// Text that is prepended to a LogDebug() text. /// public const string LogDebugText = " DEBUG "; /// /// Text that is prepended to a LogInfo() text. /// public const string LogInfoText = " CHECK "; /// /// Text that is prepended to a LogWarn() text. /// public const string LogWarningText = "WARNING "; /// /// Text that is prepended to a LogError() text. /// public const string LogErrorText = " ERROR "; /// /// Text that is prepended to a LogSuccess() text. /// public const string LogSuccessText = "SUCCESS "; }