I want to get a offline user from a UUID. I know it is possible after #580 update with UserStorage. Despite it being in the services folder, ServiceManager can not get it. So my actual question is how do i get UserStorage. Thanks again.
Edit: This is just a copy and paste from one of my post before, just so its all close together
Ok maybe im not making myself clear, so let me try explaining it in another way.
I have a players UUID who joined the server, I want to go into the local catch (Not online … thought that was implied because I had the UUID to start with) and I need a User … not a GameProfile. GameProfile does not store the last known location of a player, User does. SpongeAPI provides its plugin developers to access a interface called UserStorage. UserStorage allows plugin developers to get offline Users from Sponges local catch. I am struggling with finding out how to get the UserStorage. I have been searching for a solution for how to get this interface for some time now, but have failed. Any guidance would be appreciated.
Ok maybe im not making myself clear, so let me try explaining it in another way.
I have a players UUID who joined the server, I want to go into the local catch (Not online … thought that was implied because I had the UUID to start with) and I need a User … not a GameProfile. GameProfile does not store the last known location of a player, User does. SpongeAPI provides its plugin developers to access a interface called UserStorage. UserStorage allows plugin developers to get offline Users from Sponges local catch. I am struggling with finding out how to get the UserStorage. I have been searching for a solution for how to get this interface for some time now, but have failed. Any guidance would be appreciated.