Class ConsolePreferences
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
The two console colours the user can change, app-wide.
public static class ConsolePreferences
- Inheritance
-
ConsolePreferences
- Inherited Members
Remarks
App-wide state set once at startup from AppSettings and updated when the settings dialog
is accepted — the same shape as Global, and for the same
reason: every server draws its console the same way, so threading one more service through every
view model to say so would be ceremony with no decision in it.
Only these two live here. Errors, warnings and the app's own messages take their colour from the notification settings, which are already per-server capable; these are not.
Properties
ChatColor
Colour for player chat.
public static string ChatColor { get; set; }
Property Value
PlayersColor
Colour for joins, leaves and deaths.
public static string PlayersColor { get; set; }