AdvancedBan icon indicating copy to clipboard operation
AdvancedBan copied to clipboard

Store UUID of punisher in the database

Open jeeukko opened this issue 5 years ago • 1 comments

Right now the database only contains the username of the staff member. I would love it if the plugin would store the UUID too. Our staff changes theirs usernames a lot so UUID support would help with internal stats etc. Also, everything else of our player data (which includes staff members) is UUID based. Otherwise, this plugin is quite perfect for us, thank you <3

jeeukko avatar Nov 11 '20 17:11 jeeukko

I'd second this request, as using UUIDs everywhere generally makes for better compatibility with other systems. Player names have never been true identifiers.

As another example, importing from AdvancedBan to another punishment plugin requires a UUID lookup if that plugin uses operator UUIDs. This is particular annoying because it absolutely requires a call to the Mojang API to lookup a UUID at a certain time in the past - commonly used third-party APIs, which cache the mojang api in order avoid its rate limit, do not support UUID lookups at a past time.

On another note, offline servers can use UUIDs just fine, so there is no reason to ever store player names in AdvancedBan or any other plugin.

A248 avatar Dec 31 '20 03:12 A248