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>