diff --git a/DiscordLab.DeathLogs/Handlers/Events.cs b/DiscordLab.DeathLogs/Handlers/Events.cs index 51d763e..20eef38 100644 --- a/DiscordLab.DeathLogs/Handlers/Events.cs +++ b/DiscordLab.DeathLogs/Handlers/Events.cs @@ -41,6 +41,8 @@ private void OnTeamKillDeath(DyingEventArgs ev) .Replace("{player}", ev.Player.Nickname) .Replace("{attacker}", ev.Attacker.Nickname) .Replace("{role}",ev.Player.Role.Name) + .Replace("{playerid}", ev.Player.UserId) + .Replace("{attackerid}", ev.Attacker.UserId) ); } @@ -69,6 +71,8 @@ private void OnCuffKillDeath(DyingEventArgs ev) .Replace("{attacker}", ev.Attacker.Nickname) .Replace("{playerrole}", ev.Player.Role.Name) .Replace("{attackerrole}", ev.Attacker.Role.Name) + .Replace("{playerid}", ev.Player.UserId) + .Replace("{attackerid}", ev.Attacker.UserId) ); } @@ -92,6 +96,8 @@ private void OnNormalDeath(DyingEventArgs ev) .Replace("{attacker}", ev.Attacker.Nickname) .Replace("{playerrole}", ev.Player.Role.Name) .Replace("{attackerrole}", ev.Attacker.Role.Name) + .Replace("{playerid}", ev.Player.UserId) + .Replace("{attackerid}", ev.Attacker.UserId) ); } @@ -109,6 +115,7 @@ private void OnSuicide(DyingEventArgs ev) Plugin.Instance.Translation.PlayerDeathSelf .Replace("{player}", ev.Player.Nickname) .Replace("{playerrole}", ev.Player.Role.Name) + .Replace("{playerid}", ev.Player.UserId) ); } }