Package | Description |
---|---|
me.leoko.advancedban.manager | |
me.leoko.advancedban.utils | |
me.leoko.advancedban.utils.commands |
Modifier and Type | Method and Description |
---|---|
List<Punishment> |
PunishmentManager.getPunishments(String target,
PunishmentType put,
boolean current)
Get all punishments which belong to the given uuid or ip.
|
Modifier and Type | Method and Description |
---|---|
static PunishmentType |
PunishmentType.fromCommandName(String cmd) |
PunishmentType |
PunishmentType.getBasic() |
PunishmentType |
Punishment.getType() |
static PunishmentType |
PunishmentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PunishmentType[] |
PunishmentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Punishment.create(String name,
String target,
String reason,
String operator,
PunishmentType type,
Long end,
String calculation,
boolean silent) |
static Punishment |
CommandUtils.getPunishment(String target,
PunishmentType type) |
Constructor and Description |
---|
Punishment(String name,
String uuid,
String reason,
String operator,
PunishmentType type,
long start,
long end,
String calculation,
int id) |
Constructor and Description |
---|
PunishmentProcessor(PunishmentType type) |
RevokeProcessor(PunishmentType type) |
Copyright © 2020. All rights reserved.