added name in /time

This commit is contained in:
aviate
2019-09-29 21:59:15 +02:00
parent 80a6362cf4
commit 004a9c7b48
2 changed files with 1 additions and 2 deletions

View File

@@ -1638,7 +1638,7 @@ namespace ReallifeGamemode.Server.Commands
return; return;
} }
string broadcastMsg = $"Serverzeit wurde auf ~g~{hour:D2}:{min:D2}:{sec:D2} ~s~gesetzt!"; string broadcastMsg = $"Serverzeit wurde von ~g~" + player.Name + " ~s~auf ~g~{hour:D2}:{min:D2}:{sec:D2} ~s~gesetzt!";
NAPI.Notification.SendNotificationToAll(broadcastMsg); NAPI.Notification.SendNotificationToAll(broadcastMsg);
TimeManager.PauseTimeManager(); TimeManager.PauseTimeManager();
NAPI.World.SetTime(hour, min, sec); NAPI.World.SetTime(hour, min, sec);

View File

@@ -12,7 +12,6 @@ namespace ReallifeGamemode.Server.Util
public static Dictionary<string, string> CustomJoinMessages = new Dictionary<string, string> public static Dictionary<string, string> CustomJoinMessages = new Dictionary<string, string>
{ {
{ "murcel1337", "I'll remember you all in therapy. (aviate)" },
{ ".MichaPlays.", "Der Echte Ballas Leader ist online (MichaPlays)" }, { ".MichaPlays.", "Der Echte Ballas Leader ist online (MichaPlays)" },
{ "balboistderbeste", "Hurra! Hurra! Der Balbo ist jetzt da! (balbo)" }, { "balboistderbeste", "Hurra! Hurra! Der Balbo ist jetzt da! (balbo)" },
{ "Roachkook", "Niemand, nicht einmal deine Mutter möchte so etwas sehen. (Siga)" }, { "Roachkook", "Niemand, nicht einmal deine Mutter möchte so etwas sehen. (Siga)" },