From d0d6c01272b964c577b4cab30e55c9d6293e6c9a Mon Sep 17 00:00:00 2001 From: ZeroTwo <63092138+NotZer0Two@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:42:08 +0200 Subject: [PATCH] Added UsersWhitelisted in Server.cs (#2729) --- Exiled.API/Features/Server.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Exiled.API/Features/Server.cs b/Exiled.API/Features/Server.cs index 72b53b28d3..355925d2cc 100644 --- a/Exiled.API/Features/Server.cs +++ b/Exiled.API/Features/Server.cs @@ -180,6 +180,11 @@ public static bool IsWhitelisted set => ServerConsole.WhiteListEnabled = value; } + /// <summary> + /// Gets the List of player currently whitelisted. + /// </summary> + public static HashSet<string> UsersWhitelisted => WhiteList.Users; + /// <summary> /// Gets a value indicating whether or not this server is verified. /// </summary>