adeynes / cucumber

Moderation plugin for PocketMine-MP
GNU General Public License v2.0
29 stars 11 forks source link

Expired Punishments Not Displaying in /history #30

Open FireWolf153 opened 4 years ago

FireWolf153 commented 4 years ago

So, on my server /history only displays current punishments on players. I have done different tests on myself (banning myself) and they display on /history until the ban expires. Once the ban expires, it says I have 0 punishment history. I have done the same test on my friend and the same thing happens.

adeynes commented 4 years ago

Are you letting the ban expire naturally or are you running /unban?

FireWolf153 commented 4 years ago

I think I was doing /unban but I also believe I let them expire a couple times.

adeynes commented 4 years ago

If you were running /unban, that's expected behavior: the plugin completely deletes that ban, the logic being that you only ever need to run it if you made a mistake banning someone, so it shouldn't be counted. However if you were letting them expire that's not normal behavior, I'm not able to reproduce this.

FireWolf153 commented 4 years ago

Oh ok then. Let me wait until a few of the current bans expire and I'll check if they get logged in /history.

adeynes commented 3 years ago

Hi, any update on this?

T14Raptor commented 3 years ago

It happens, sometimes punishments that expire seem to not appear in /history, only commenting this instead of using reactions so you could see it faster.