Current kick player after ban logic is invalid #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When player banned from server A when admin is on server B, which shall be supported by this plugin, Player would not get kicked as plugin instance on server B is currently trying to do so instead of instance A. What i suggest is registered async job which would run every 1 second which checks if in postgresql table called
kick_jobsis active scheduled job for current server instance.OFC if anyone has better solution, don't hesitate to share it in comments to this issue.
There is something in postgresql called "LISTEN". Probably using that for sending json containing proper ban info would be the wisest course of action.
mentioned in commit
18cf76ae7fResolved in commit
18cf76aementioned in merge request !2