diff --git a/OpenRA.Game/Server/Server.cs b/OpenRA.Game/Server/Server.cs index 2d0f117e81..9970f1339a 100644 --- a/OpenRA.Game/Server/Server.cs +++ b/OpenRA.Game/Server/Server.cs @@ -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) diff --git a/OpenRA.Game/Settings.cs b/OpenRA.Game/Settings.cs index cc2a4c7889..c2de62e201 100644 --- a/OpenRA.Game/Settings.cs +++ b/OpenRA.Game/Settings.cs @@ -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() { }