Class IpBanList
java.lang.Object
net.minecraft.server.players.StoredUserList<String, IpBanListEntry>
net.minecraft.server.players.IpBanList
-
Field Summary
Fields inherited from class StoredUserList
notificationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(IpBanListEntry infos) voidclear()protected StoredUserEntry<String> createEntry(JsonObject object) @Nullable IpBanListEntryget(SocketAddress address) private StringgetIpFromAddress(SocketAddress address) booleanbooleanisBanned(SocketAddress address) booleanMethods inherited from class StoredUserList
contains, get, getEntries, getFile, getKeyForUser, getUserList, isEmpty, load, remove, save
-
Constructor Details
-
IpBanList
-
-
Method Details
-
createEntry
- Specified by:
createEntryin classStoredUserList<String, IpBanListEntry>
-
isBanned
-
isBanned
-
get
-
getIpFromAddress
-
add
- Overrides:
addin classStoredUserList<String, IpBanListEntry>
-
remove
- Overrides:
removein classStoredUserList<String, IpBanListEntry>
-
clear
public void clear()- Overrides:
clearin classStoredUserList<String, IpBanListEntry>
-