Uses of Interface
space.arim.libertybans.api.punish.RevocationOrder
Packages that use RevocationOrder
Package
Description
Defines API for drafting punishments as well as punishments themselves.
-
Uses of RevocationOrder in space.arim.libertybans.api.punish
Methods in space.arim.libertybans.api.punish that return RevocationOrderModifier and TypeMethodDescriptionPunishmentRevoker.revokeById(long id) Gets aRevocationOrderto undo a punishment according to its ID.PunishmentRevoker.revokeByIdAndType(long id, PunishmentType type) Gets aRevocationOrderto undo a punishment by its ID and type.PunishmentRevoker.revokeByTypeAndPossibleVictims(PunishmentType type, List<Victim> victims) Gets aRevocationOrderto undo a punishment by its type and victim, trying multiple victims until one of them is found to be punished.PunishmentRevoker.revokeByTypeAndVictim(PunishmentType type, Victim victim) Gets aRevocationOrderto undo a punishment by its type and victim.