Package io.papermc.paper.ban
Interface BanListType<T>
public interface BanListType<T>
Represents a ban-type that a
BanList
may track.
It enforces the correct return value at compile time.-
Field Summary
Modifier and TypeFieldDescriptionstatic final BanListType
<IpBanList> Banned IP addressesstatic final BanListType
<ProfileBanList> Banned player profiles -
Method Summary
-
Field Details
-
IP
Banned IP addresses -
PROFILE
Banned player profiles
-
-
Method Details
-
typeClass
Returns the type class of the ban list used generically- Returns:
- the type class
-