Ajneb97 / PlayerKits

https://www.spigotmc.org/resources/playerkits-fully-configurable-kits-1-8-1-17.75185/
MIT License
8 stars 13 forks source link

MySQL Multiserver & Sync UUID players #14

Closed aleexgheorghe closed 2 years ago

aleexgheorghe commented 2 years ago

Hello,

I am using MySQL as a database for the synchronization of claims and some other things that are saved and I have encountered a big problem. A premium user M4M3R71C0 with UUID 91ccf1ba-84e5-4ef2-a744-3605195c4e61 claims X kits (Ultra, Legend, Titan) for example. This same user a few hours later changes his name to WhySoDumm and rejoins the server.

Using UUIDs v4, the user's progress continues as the UUID remains the same. This user can request ALL kits in a totally unlimited way except the ones he had requested. image

This image is a real case, the user can request all the red kits in an unlimited way (/kit claim ultra, you change server and request it again, you don't have cooldown). ELITE and BANDIDO kits still have the cooldown. image

Perhaps the ideal is to apply COMPELTO support for UUIDs. I hope you can solve the problem.

aleexgheorghe commented 2 years ago

UPDATE!

I'm checking and apparently if on the same server you try to request the kit twice, it won't let you. You have to go to another server to be able to use the bug. It only happens to you user who has changed the name being premium with uuid v4.