[Enhancement Request] Rank check on logon event
TheLecturer opened this issue ยท 3 comments
Hi,
Would it be possible to add a feature to be allow AR to run a check when a player joins a server?
My scenario -
I have a BungeeCord network of 5 servers, and wish to use SQL to store global time played and control ranks "as one" across all servers.
If a player ranks up from Rank 1 to Rank 2 on Server A, then moves to Server B, they will revert to Rank 1 until Server B next hits its scheduled rank check, at which point we get another rank up message etc..
Knowing my players as I do, this is going to confuse lots of them :)
If they ranked up the instant they joined a different server, then not quite so confusing, and less likely to get "Hey, why am only Rank 1 again!!! Glitch! STAFF!"
Also, during this interim period, I have noticed zPermissions starts complaining about "possible database inconsistencies", I guess because the player is a member of Rank 2 on Server A and Rank 1 on Server B.
Even better - if the progress function provided by "playerdata.yml" could be migrated into SQL, then the rank-check-on-logon event could check to see if that player had already achieved the next rank on another server, and issue a silent rank change on the new server.
This is quite a big request: not only in size of characters, but in code as well. I'm not sure if this is possible to add, but I can try.
No rush, Monday will be fine :)
Seriously though, it's a suggestion / request only. It would be personally of interest to me and my server, but if you don't feel it's of widespread value then I won't be offended if you decline. It's your plugin after all.
But if you want to do it, then that's great!