Package net.minecraft.server
Class BannedIpEntry
public class BannedIpEntry extends BanEntry<String>
-
Field Summary
Fields inherited from class net.minecraft.server.BanEntry
creationDate, DATE_FORMAT, expiryDate, reason, source
-
Constructor Summary
Constructors Constructor Description BannedIpEntry(JsonObject json)
BannedIpEntry(String ip)
BannedIpEntry(String ip, Date created, String source, Date expiry, String reason)
-
Method Summary
Modifier and Type Method Description protected void
fromJson(JsonObject json)
private static String
getIp(JsonObject json)
Text
toText()
Methods inherited from class net.minecraft.server.BanEntry
getExpiryDate, getReason, getSource, isInvalid
Methods inherited from class net.minecraft.server.ServerConfigEntry
getKey