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

[Exiled::API] ServerWhitelisted #2729

Merged
merged 3 commits into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading