From 3acd2b88d082317c1b851f2a3c95036aa4b80a9f Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 9 May 2021 04:12:50 +0200 Subject: [PATCH] /tog nochmal angepasst --- .../Commands/AdminCommands.cs | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 3b482972..ae5d38fc 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -187,12 +187,12 @@ namespace ReallifeGamemode.Server.Commands if (player.HasData("togip")) { player.ResetData("togip"); - player.SendNotification("Die IP-Adressen sind nun ~r~deaktiviert~s~."); + player.SendNotification("IP-Adressen ~r~deaktiviert"); } else { player.SetData("togip", true); - player.SendNotification("Die IP-Adressen sind nun ~g~aktiviert~s~."); + player.SendNotification("IP-Adressen ~g~aktiviert"); } break; @@ -200,12 +200,12 @@ namespace ReallifeGamemode.Server.Commands if (player.HasData("togdeath")) { player.ResetData("togdeath"); - player.SendNotification("Du hast die Todesbenachrichtigungen ~r~deaktiviert~s~."); + player.SendNotification("Todesbenachrichtigungen ~r~deaktiviert"); } else { player.SetData("togdeath", true); - player.SendNotification("Du hast die Todesbenachrichtigungen ~g~aktiviert~s~."); + player.SendNotification("Todesbenachrichtigungen ~g~aktiviert"); } break; @@ -213,12 +213,12 @@ namespace ReallifeGamemode.Server.Commands if (player.HasData("toglc")) { player.ResetData("toglc"); - player.SendNotification("Du hast den /lc-Chat ~r~deaktiviert~s~."); + player.SendNotification("/lc-Chat ~r~deaktiviert"); } else { player.SetData("toglc", true); - player.SendNotification("Du hast den /lc-Chat ~g~aktiviert~s~."); + player.SendNotification("/lc-Chat ~g~aktiviert"); } break; @@ -226,36 +226,36 @@ namespace ReallifeGamemode.Server.Commands if (player.HasData("togconnect")) { player.ResetData("togconnect"); - player.SendNotification("Du hast die Connect-Nachrichten ~r~deaktiviert~s~."); + player.SendNotification("Connect-Nachrichten ~r~deaktiviert"); } else { player.SetData("togconnect", true); - player.SendNotification("Du hast die Connect-Nachrichten ~g~aktiviert~s~."); + player.SendNotification("Connect-Nachrichten ~g~aktiviert"); } break; case "d": if (player.HasData("togd")) { player.ResetData("togd"); - player.SendNotification("Du hast den /d-Chat ~r~deaktiviert~s~."); + player.SendNotification("/d-Chat ~r~deaktiviert"); } else { player.SetData("togd", true); - player.SendNotification("Du hast den /d-Chat ~g~aktiviert~s~."); + player.SendNotification("/d-Chat ~g~aktiviert"); } break; case "ga": if (player.HasData("togga")) { player.ResetData("togga"); - player.SendNotification("Du hast den /ga-Chat ~r~deaktiviert~s~."); + player.SendNotification("/ga-Chat ~r~deaktiviert"); } else { player.SetData("togga", true); - player.SendNotification("Du hast den /ga-Chat ~g~aktiviert~s~."); + player.SendNotification("/ga-Chat ~g~aktiviert"); } break; case "all": @@ -270,7 +270,7 @@ namespace ReallifeGamemode.Server.Commands player.SetData("togga", true); player.SetData("togall", true); - player.SendNotification("Du hast alle Benachrichtigungen ~g~aktiviert~s~."); + player.SendNotification("Du hast alle Benachrichtigungen ~g~aktiviert"); } else { @@ -283,7 +283,7 @@ namespace ReallifeGamemode.Server.Commands player.ResetData("togga"); player.ResetData("togall"); - player.SendNotification("Du hast alle Benachrichtigungen ~r~deaktiviert~s~."); + player.SendNotification("Du hast alle Benachrichtigungen ~r~deaktiviert"); } break; }