Skip to content

Commit 8fbae2c

Browse files
committed
Added new LookupPlayerListMenu for visual lookups. Added new API method UStatsAPI.getOfflinePlayersWithStats. Added new permission ustats.gui.lookup.others.
1 parent cad1c21 commit 8fbae2c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/me/loving11ish/ustatsapi/UStatsAPI.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
import me.loving11ish.ustatsapi.enums.Enums;
44
import org.bukkit.Bukkit;
5+
import org.bukkit.OfflinePlayer;
56
import org.bukkit.entity.Player;
67
import org.bukkit.plugin.RegisteredServiceProvider;
78

9+
import java.util.List;
810
import java.util.UUID;
911

1012
/**
@@ -171,4 +173,10 @@ static UStatsAPI getInstance() {
171173
* @return Returns the stats type of the event type.
172174
*/
173175
Enums.StatsType getStatsType(Enums.EventType eventType);
176+
177+
/**
178+
*
179+
* @return Returns a list of OfflinePlayer objects that currently have data stored.
180+
*/
181+
List<OfflinePlayer> getOfflinePlayersWithStats();
174182
}

0 commit comments

Comments
 (0)