Package net.minecraft.server.players
Class IpBanList
java.lang.Object
net.minecraft.server.players.StoredUserList<String,IpBanListEntry>
net.minecraft.server.players.IpBanList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StoredUserEntry
<String> createEntry
(com.google.gson.JsonObject pEntryData) get
(SocketAddress pAddress) private String
getIpFromAddress
(SocketAddress pAddress) boolean
boolean
isBanned
(SocketAddress pAddress) Methods inherited from class net.minecraft.server.players.StoredUserList
add, contains, get, getEntries, getFile, getKeyForUser, getUserList, isEmpty, load, remove, remove, save
-
Constructor Details
-
IpBanList
-
-
Method Details
-
createEntry
- Specified by:
createEntry
in classStoredUserList<String,
IpBanListEntry>
-
isBanned
-
isBanned
-
get
-
getIpFromAddress
-