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);

View File

@@ -14,7 +14,8 @@ namespace ReallifeGamemode.Server.Util
{
{ "murcel1337", "Miesester Projektleiter ist da! (aviate)" },
{ ".MichaPlays.", "Der Echte Ballas Leader ist online (MichaPlays)" },
{ "balboistderbeste", "Hurra! Hurra! Der Balbo ist jetzt da!" }
{ "balboistderbeste", "Hurra! Hurra! Der Balbo ist jetzt da!" },
{ "paaqo1337", "Picasso is back!" }
};
public static string AdminLevelToString(AdminLevel lvl)