public final class Ban extends Object
| Constructor and Description | 
|---|
Ban(UUID playerId,
   String reason,
   String bannedBy,
   SanctionnerType banType,
   long expirationTime,
   @Nullable String cheatName,
   @Nullable String ip,
   BanStatus status)  | 
Ban(UUID playerId,
   String reason,
   String bannedBy,
   SanctionnerType banType,
   long expirationTime,
   @Nullable String cheatName,
   @Nullable String ip,
   BanStatus status,
   long executionTime)  | 
Ban(UUID playerId,
   String reason,
   String bannedBy,
   SanctionnerType banType,
   long expirationTime,
   @Nullable String cheatName,
   @Nullable String ip,
   BanStatus status,
   long executionTime,
   long revocationTime)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Ban | 
active(UUID playerId,
      String reason,
      String bannedBy,
      SanctionnerType banType,
      long expirationTime,
      @Nullable String cheatName,
      @Nullable String ip)  | 
static Ban | 
activeFrom(Ban from)  | 
boolean | 
equals(Object o)  | 
static Ban | 
from(Ban from,
    BanStatus status)  | 
String | 
getBannedBy()  | 
UUID | 
getBannedByUUID()  | 
SanctionnerType | 
getBanType()  | 
@Nullable String | 
getCheatName()  | 
long | 
getExecutionTime()  | 
long | 
getExpirationTime()  | 
@Nullable String | 
getIp()  | 
UUID | 
getPlayerId()  | 
String | 
getReason()  | 
long | 
getRevocationTime()  | 
BanStatus | 
getStatus()  | 
int | 
hashCode()  | 
boolean | 
isDefinitive()  | 
static Ban | 
revokedFrom(Ban from,
           long revocationTime)  | 
public Ban(UUID playerId, String reason, String bannedBy, SanctionnerType banType, long expirationTime, @Nullable String cheatName, @Nullable String ip, BanStatus status)
public Ban(UUID playerId, String reason, String bannedBy, SanctionnerType banType, long expirationTime, @Nullable String cheatName, @Nullable String ip, BanStatus status, long executionTime)
public UUID getPlayerId()
public String getReason()
public String getBannedBy()
public UUID getBannedByUUID()
public boolean isDefinitive()
public SanctionnerType getBanType()
public long getExpirationTime()
public @Nullable String getCheatName()
public @Nullable String getIp()
public BanStatus getStatus()
public long getExecutionTime()
public long getRevocationTime()