added name in /time
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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)" },
|
||||||
|
|||||||
Reference in New Issue
Block a user