diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index bb59b4be..59c1fcb2 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -585,27 +585,6 @@ namespace ReallifeGamemode.Server.Commands } - [Command("remspawnschutz", "~m~Benutzung: ~s~/rmss [Target]")] - public void CmdAdminRmss(Player player, String targetname) - { - if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true) - { - ChatService.NotAuthorized(player); - return; - } - - Player target = PlayerService.GetPlayerByNameOrId(targetname); - - if (target == null || !target.IsLoggedIn()) - { - ChatService.PlayerNotFound(player); - return; - } - - target.TriggerEvent("abortSpawnschutz"); - - } - [Command("countdown", "~m~Benutzung: ~s~/countdown [Zeit] [Text]", GreedyArg = true)] public void CmdAdminCountdown(Player player, string timer_string, string text) { @@ -3858,9 +3837,12 @@ namespace ReallifeGamemode.Server.Commands string playedHoursString = ""; int jailTime = targetUser.JailTime; - if (user.IsAdmin(AdminLevel.HEADADMIN)) { + if (user.IsAdmin(AdminLevel.HEADADMIN)) + { playedHoursString = playedHours.ToString(); - } else { + } + else + { int newbiePlayedHoursThreshold = GlobalHelper.newbiePlayedMinutesThreshold / 60; playedHoursString = playedHours > newbiePlayedHoursThreshold ? (newbiePlayedHoursThreshold + "+") : playedHours.ToString(); }