public final class NegativityAccount extends Object
Constructor and Description |
---|
NegativityAccount(UUID playerId) |
NegativityAccount(UUID playerId,
String playerName,
String lang,
Minerate minerate,
int mostClicksPerSecond,
Map<String,Long> warns,
List<Report> reports,
String ip,
long creationTime,
boolean showAlert) |
Modifier and Type | Method and Description |
---|---|
long |
countAllWarns() |
static @NonNull NegativityAccount |
get(UUID accountId) |
Map<String,Long> |
getAllWarns() |
long |
getCreationTime() |
String |
getIp() |
String |
getLang() |
Minerate |
getMinerate() |
int |
getMostClicksPerSecond() |
UUID |
getPlayerId() |
String |
getPlayerName() |
List<Report> |
getReports() |
long |
getWarn(Cheat cheat) |
long |
getWarn(CheatKeys cheatKey) |
long |
getWarn(String cheatKey) |
boolean |
isInBanning() |
boolean |
isMcLeaks() |
boolean |
isShowAlert() |
void |
setInBanning(boolean b) |
void |
setIp(String ip) |
void |
setLang(String lang) |
void |
setMostClicksPerSecond(int mostClicksPerSecond) |
void |
setPlayerName(String playerName) |
void |
setShowAlert(boolean showAlert) |
void |
setWarnCount(CheatKeys cheatKey,
long count) |
void |
setWarnCount(Cheat cheat,
long count) |
void |
setWarnCount(String cheatKey,
long count) |
public NegativityAccount(UUID playerId)
public UUID getPlayerId()
public String getPlayerName()
public void setPlayerName(String playerName)
public String getLang()
public void setLang(String lang)
public Minerate getMinerate()
public int getMostClicksPerSecond()
public void setMostClicksPerSecond(int mostClicksPerSecond)
public long getWarn(Cheat cheat)
public long getWarn(CheatKeys cheatKey)
public long getWarn(String cheatKey)
public void setWarnCount(Cheat cheat, long count)
public void setWarnCount(CheatKeys cheatKey, long count)
public void setWarnCount(String cheatKey, long count)
public long countAllWarns()
public static @NonNull NegativityAccount get(UUID accountId)
public long getCreationTime()
public boolean isMcLeaks()
public void setInBanning(boolean b)
public boolean isInBanning()
public boolean isShowAlert()
public void setShowAlert(boolean showAlert)
public String getIp()
public void setIp(String ip)