UUID Support
NathanWolf opened this issue ยท 2 comments
From what I've seen in the code, PreciousStones seems to be UUID-based for owners. But I've had players report that after a name change they lose access to their fields. Is this a known issue?
I also have noticed that UUID's are not used for players added to other fields, or (I think) for rentals. Would it be difficult to support that so name changes are a non-issue?
Thank you for your time either way!
Looking at this further, it seems like part of the problem may be that the pstone_players table is missing an autogen tag on the id column. Looking at my live database, there is only one row in there with a null id - so it seems like players are not actually getting tracked at all?
Tracing through the rest of the code, it seems like renames might be handled properly if players were tracked. Though I think there would still be work to do to get renters and allowed players to update?
@marcelo-mason does this sound right or familiar? Thank you!
Ack, well I was wrong on the above- the id column I guess is just not used since the PK on that table is player_name.
I am seeing that I only have one row in that table on my live server, though. I'm still investigating why that is- we have issues there with name changes, and I'm thinking this is related since the players table is used for migration.