remss chat messages
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (afkCounter >= 60) {
|
||||
if (afkCounter >= 2) {
|
||||
afkStatus = true;
|
||||
globalData.IsAfk = afkStatus;
|
||||
setServerAfkStatus(afkStatus);
|
||||
|
||||
@@ -545,7 +545,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
|
||||
#region Admin
|
||||
|
||||
[Command("remspawnschutz", "~m~Benutzung: ~s~/rmss [Target]")]
|
||||
[Command("remspawnschutz", "~m~Benutzung: ~s~/rmss [Target]", Alias = "rmss")]
|
||||
public void CmdAdminRmss(Player player, String targetname)
|
||||
{
|
||||
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
|
||||
@@ -562,6 +562,8 @@ namespace ReallifeGamemode.Server.Commands
|
||||
return;
|
||||
}
|
||||
|
||||
target.SendChatMessage(player.Name + " hat deinen Spawnschutz entfernt");
|
||||
player.SendChatMessage("Du hast den Spawnschutz von " + target.Name + " entfernt");
|
||||
target.TriggerEvent("abortSpawnschutz");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user