Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
Added UsersWhitelisted in Server.cs (#2729)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotZer0Two authored Jul 18, 2024
1 parent 1e3ffa7 commit d0d6c01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Exiled.API/Features/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d0d6c01

Please sign in to comment.