print server status messages to the console
This commit is contained in:
@@ -450,6 +450,9 @@ namespace OpenRA.Server
|
||||
public void SendMessage(string text)
|
||||
{
|
||||
DispatchOrdersToClients(null, 0, new ServerOrder("Message", text).Serialize());
|
||||
|
||||
if (Settings.Dedicated)
|
||||
Console.WriteLine("[{0}] {1}".F(DateTime.Now.ToString(Settings.TimestampFormat), text));
|
||||
}
|
||||
|
||||
void InterpretServerOrder(Connection conn, ServerOrder so)
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace OpenRA
|
||||
public bool DedicatedLoop = true;
|
||||
public bool LockBots = false;
|
||||
public bool AllowVersionMismatch = false;
|
||||
public string TimestampFormat = "HH:mm";
|
||||
|
||||
public ServerSettings() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user