Skip to content

Cross-Platform Middleware #5

@PhilCCMG

Description

@PhilCCMG

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions