Interface TempIPBanInterface
-
- All Superinterfaces:
PunishmentInterface,TemporaryPunishmentInterface
public interface TempIPBanInterface extends TemporaryPunishmentInterface
Represents a temporary IP address ban
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetIPAddress()Get the IP address that this ban applies to This is required asPunishmentInterface.getAppliedTo()returns a UUID-
Methods inherited from interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
createPunishment, getAction, getActioned, getAppliedBy, getAppliedTo, getReason, getStart, getType, getUndo, isShadow, reversePunishment
-
Methods inherited from interface net.lapismc.lapisbans.api.punishments.core.TemporaryPunishmentInterface
getEnd, getLength, hasEnded, setLength
-
-
-
-
Method Detail
-
getIPAddress
java.lang.String getIPAddress()
Get the IP address that this ban applies to This is required asPunishmentInterface.getAppliedTo()returns a UUID- Returns:
- Returns the IP Address this ban applies to
-
-