/bmactivity 1y error
TheNety opened this issue ยท 4 comments
Issue report
Tell us about your environment
-
Server Software: Paper
-
Server Version: 1.13.2
-
BanManager Version: 7.0.0-SNAPSHOT
-
Online/Offline mode: Offline
Describe your issue:
This error occurs after typing /bmactivity 1y ingame https://hastebin.com/uqamonifip.md
Does this occur with any other time differences? Looks more like a data issue than the plugin
1d, 25d, 1w, 2w, 3w, 4w works but it throws error on 5w, I can't open the hastebin I sent firstly so I'm sending this error https://pastebin.com/uu1AMEL6
Could it be caused by that on server start it types [BanManager] Missing player for ban 3, ignored
etc. so it doesn't know the name?
Yes, that would be the cause. It should be easy to fix with a couple of queries on your database.
SELECT HEX(player_id) FROM bm_player_bans WHERE id = 3
UPDATE bm_players SET name = 'ANameHere' WHERE id = UNHEX('pasteUUIDresultHere')