Allows you to impersonate another player at the UUID level which allows you to load in as though you are really that player (NBT and all).
The motivation behind this mod was to:
The way the mod functions is by
/uuidimpersonate impersonate <player|uuid> command you used on the previous login)/uuidimpersonate impersonate <player|uuid> command is guarded by both a not impersonated predicate and a has OP level 4 (owner) predicate./uuidimpersonate clear command is guarded by just an impersonated predicate (so no matter what permissions you have, you can stop the impersonation)/uuidimpersonate clear command is not working, the impersonation list is not persistent so you can also restart the server to clear ALL impersonations.It is that simple, however, as there is a hardcoded 16 character limit for the GameProfile's name, I had to inject into various places like the ServerPlayerEntity#getPlayerListName (for tab list) and the PlayerEntity#getName (for chat messages and others) functions to get the name I wanted to display ("ImpersonatedName (Impersonated by OriginalName)") while impersonating which ensures transparency for other players.
This is still not perfect though, for instance, I observed that some mods (like Fabricord) check the GameProfile name directly (instead of PlayerEntity#getName) and thus it will only appear as though the (Impersonated) player joined the world without the descriptor of who is impersonating them (looks like a normal non-impersonated join)