diff --git a/Content.Server/Administration/ServerApi.cs b/Content.Server/Administration/ServerApi.cs index 6a0bcbcf9a..08f99b25ba 100644 --- a/Content.Server/Administration/ServerApi.cs +++ b/Content.Server/Administration/ServerApi.cs @@ -489,7 +489,9 @@ Panic bunker status UserId = player.UserId.UserId, Name = player.Name, IsAdmin = adminData != null, - IsDeadminned = !adminData?.Active ?? false + IsDeadminned = !adminData?.Active ?? false, + PingUser = player.Ping, // ADT-Tweak: Передаём пинг пользователя + AdminTitle = adminData?.Title ?? "Null" // ADT-Tweak: Добавляем передачу инфы о Title админа }); } @@ -689,6 +691,8 @@ public sealed class Player public required string Name { get; init; } public required bool IsAdmin { get; init; } public required bool IsDeadminned { get; init; } + public required short PingUser { get; init; } // ADT-Tweak + public required string AdminTitle { get; init; } // ADT-Tweak } public sealed class MapInfo