UUID unique on MySQL causes trouble #14


Open
  • _ForgeUser30487229 created this issue Feb 6, 2017

    Hello.

    I tried to run your plugin on a cracked server runnin 1.7.9 r02. 
    At first sight everything was smooth and i thought for a little moment that i'd found the lightweight plugin i need to work on statistics over my server's website.

     

    But then i noticed on the mysql table structure that you marked UUID as unique and that's the real problem here.
    Everything works smooth until some non legit minecraft accounts log to your server.

    The thing is that non legit accounts seem to save their UUID as NULL and that i dont know why, not actually care.

     

    On my point of view, you'll have much more downloads if the primary remains as the entry ID and the unique keeps on the Username only!!

    What's happening now is as soon as a not yet bought account enters the server it update the table with the same NULL UUID. So... no matter what last_known_username is there it will loose the correct data recorded on the row money.

     

    If you could release a version where the username is the unique row and not UUID it will fit cracked servers too.

    That or generate an hash as UUID for NULL entries so every username keeps the same formula in order to make them unique even for not yet bought minecraft accounts.

     

    For instance, the famous plugin Jobs it has UUIDs even for non paying minecraft users and uses them on mysql table... well, on their case it kills my buzz because they dont save the usernames anymore...still they have UUIDs even for non official minecrafters.

     

    I know that everyone should have the game and bla bla... sorry if i offended you, but there are major cracked servers outhere and they need your plugin.

     

    Hoping on a reply.

    Thanks for your hard work.

    Cheers

  • _ForgeUser30487229 edited description Feb 6, 2017

To post a comment, please login or register a new account.