An abstracted middleware engine with the following default middlewares:
Does Player Already Have Punishment
This middleware should verify that any ActivePunishment class (that is, a ban or mute) is not already active on a player's account before issuing a new one.
Is Player Exempt From Punishment
This middleware should be used to ensure that a player who has an exempt permission (e.g. vanguard.punishment.exempt.ban) cannot be subjected to that punishment.
While an overrider (-f on commands, parameter on API) is in place, this is not within the scope of this middleware.
An abstracted middleware engine with the following default middlewares:
Does Player Already Have Punishment
This middleware should verify that any
ActivePunishmentclass (that is, a ban or mute) is not already active on a player's account before issuing a new one.Is Player Exempt From Punishment
This middleware should be used to ensure that a player who has an exempt permission (e.g.
vanguard.punishment.exempt.ban) cannot be subjected to that punishment.While an overrider (
-fon commands, parameter on API) is in place, this is not within the scope of this middleware.