| Modifier and Type | Method and Description | 
|---|---|
void | 
MethodInterface.callPunishmentEvent(Punishment punishment)
Call punishment event. 
 | 
void | 
MethodInterface.callRevokePunishmentEvent(Punishment punishment,
                         boolean massClear)
Call revoke punishment event. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
BukkitMethods.callPunishmentEvent(Punishment punishment)  | 
void | 
BukkitMethods.callRevokePunishmentEvent(Punishment punishment,
                         boolean massClear)  | 
| Modifier and Type | Method and Description | 
|---|---|
Punishment | 
PunishmentEvent.getPunishment()
Returns the punishment involved in this event 
 | 
Punishment | 
RevokePunishmentEvent.getPunishment()
Returns the punishment involved in this event 
 | 
| Constructor and Description | 
|---|
PunishmentEvent(Punishment punishment)  | 
RevokePunishmentEvent(Punishment punishment,
                     boolean massClear)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
BungeeMethods.callPunishmentEvent(Punishment punishment)  | 
void | 
BungeeMethods.callRevokePunishmentEvent(Punishment punishment,
                         boolean massClear)  | 
| Modifier and Type | Method and Description | 
|---|---|
Punishment | 
PunishmentEvent.getPunishment()
Returns the punishment involved in this event 
 | 
Punishment | 
RevokePunishmentEvent.getPunishment()
Returns the punishment involved in this event 
 | 
| Constructor and Description | 
|---|
PunishmentEvent(Punishment punishment)  | 
RevokePunishmentEvent(Punishment punishment,
                     boolean massClear)  | 
| Modifier and Type | Method and Description | 
|---|---|
Punishment | 
PunishmentManager.getBan(String uuid)
Get a players active ban. 
 | 
Punishment | 
PunishmentManager.getMute(String uuid)
Get a players active mute. 
 | 
Punishment | 
PunishmentManager.getPunishment(int id)
Get an active punishment by id. 
 | 
Punishment | 
PunishmentManager.getPunishmentFromResultSet(ResultSet rs)
Get a Punishment from a  
ResultSet | 
Punishment | 
PunishmentManager.getWarn(int id)
Get an active warning by id. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Punishment> | 
PunishmentManager.getLoadedHistory()
Get all cached history punishments. 
 | 
Set<Punishment> | 
PunishmentManager.getLoadedPunishments(boolean checkExpired)
Get all cached punishments. 
 | 
List<Punishment> | 
PunishmentManager.getPunishments(SQLQuery sqlQuery,
              Object... parameters)
Get parsed punishments from the database queried by the given  
SQLQuery.The parameters work as described in MessageManager.sendMessage(Object, String, boolean, String...). | 
List<Punishment> | 
PunishmentManager.getPunishments(String target,
              PunishmentType put,
              boolean current)
Get all punishments which belong to the given uuid or ip. 
 | 
List<Punishment> | 
PunishmentManager.getWarns(String uuid)
Get a players active warnings. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Punishment | 
InterimData.getBan()  | 
static Punishment | 
CommandUtils.getPunishment(String target,
             PunishmentType type)  | 
| Constructor and Description | 
|---|
InterimData(String uuid,
           String name,
           String ip,
           Set<Punishment> punishments,
           Set<Punishment> history)  | 
InterimData(String uuid,
           String name,
           String ip,
           Set<Punishment> punishments,
           Set<Punishment> history)  | 
| Constructor and Description | 
|---|
ListProcessor(Function<String,List<Punishment>> listSupplier,
             String config,
             boolean history,
             boolean hasTarget)  | 
RevokeByIdProcessor(String path,
                   Function<Integer,Punishment> resolver)  | 
Copyright © 2020. All rights reserved.