more custom join messages

This commit is contained in:
2019-09-12 22:57:13 +02:00
parent 03521467ac
commit b616a0013f
2 changed files with 3 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ namespace ReallifeGamemode.Server.Events
if (GlobalHelper.CustomJoinMessages.ContainsKey(player.SocialClubName))
{
ChatService.BroadcastAdmin(GlobalHelper.CustomJoinMessages[player.SocialClubName], AdminLevel.TEAM);
ChatService.BroadcastAdmin("*** " + GlobalHelper.CustomJoinMessages[player.SocialClubName] + " (" + GlobalHelper.AdminLevelToString(user.AdminLevel) + ") [ID: " + player.Handle.Value + "]", AdminLevel.TEAM);
} else if (user.IsAdmin(AdminLevel.TEAM))
{
ChatService.BroadcastAdmin("!{#FFFF00}*** " + user.Name +"(ID: " + player.Handle.Value + ")" + " hat sich als " + GlobalHelper.AdminLevelToString(user.AdminLevel) + " eingeloggt!", AdminLevel.TEAM);