> Introduction
AdvancedBan only revokes expired punishments when an staff does
/history <player> or when the punished player interacts with the server (eg. when connecting), all other expired punishments will still in the database and will only be removed when interaction happens.
A common problem is that when an staff does
/history it will revoke all the expired punishments at once and will trigger an event for each one, this can lead to confussion for staffs and developers who uses the AdvancedBan API.
> Solution
This plugin will revoke the punishments at their exact expiration time by using an optimized algorithm, no more expired punishments will remain active.
This plugin works on BungeeCord and Spigot, no matter the server version because this uses the most basic plugin api to work.
Use the command
/ars or
/autorevoker to see how many temporary punishments are waiting to be revoked (perm:
autorevoker.status).
When a punishment gets autorevoked you will see this message in the console:
