Ban Management

Ban Management

193k Downloads

Expirecheck Unmuting

t0mmyxbl opened this issue ยท 10 comments

commented

BM Version: 5.13.1 (did have version 5.12.0 and was doing the same)
Spigot 1.9.4
Online Mode: true
Bungeecord

When tempmuting a player, for some reason after the expirecheck (in the schedules.yml) is ran it is unmuting them if the player is online at the time. This is no good if a player has been muted any time longer than the expirecheck has left (which is every 5 minutes).

commented

no warnings at all

commented

Are there any warnings from BM on startup about there being a time difference between your MC server and MySQL database?

commented

After further testing for some reason tempmuting any time less than 15minutes gives this effect. Muting for 30m seems to work ok, until it gets below that point

commented

Based on previous comments, you are using the local database option across multiple servers correct? It could be caused by time differences. E.g. one server is 15 minutes ahead of others, therefore the expiry check runs too soon. I'd recommend checking the differences between the servers, and MySQL. Timezone differences won't matter, but minute differences will.

commented

could I potentially stop all the servers, set the schedules.yml lastchecked all to 0, then start them all back up again so they are definitely in sync?

commented

Yes (but back up first), however if the servers' clocks have drifted, the issue will occur again.

commented

the servers clock is fine, just checked

commented

Are you running everything on the same server?

commented

essentially yes, 2 different boxes with allocations and with bungeecord, but both have the same time

commented

It looks as if everything is ok now. Thanks for the support!