{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/580","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/580/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/580/events","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/580","id":69434009,"number":580,"title":"Add access to GameProfile cache, a GameProfile resolver and Server.getUser(UUID)","user":{"login":"boformer","id":2014500,"avatar_url":"https://avatars.githubusercontent.com/u/2014500?v=3","gravatar_id":"","url":"https://api.github.com/users/boformer","html_url":"https://github.com/boformer","followers_url":"https://api.github.com/users/boformer/followers","following_url":"https://api.github.com/users/boformer/following{/other_user}","gists_url":"https://api.github.com/users/boformer/gists{/gist_id}","starred_url":"https://api.github.com/users/boformer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boformer/subscriptions","organizations_url":"https://api.github.com/users/boformer/orgs","repos_url":"https://api.github.com/users/boformer/repos","events_url":"https://api.github.com/users/boformer/events{/privacy}","received_events_url":"https://api.github.com/users/boformer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/needs%20team%20review","name":"needs team review","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/milestones/3","html_url":"https://github.com/SpongePowered/SpongeAPI/milestones/Revision%202.1","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/milestones/3/labels","id":1006894,"number":3,"title":"Revision 2.1","description":"This is the first revision of the second stable revision of the Sponge API, 2.1.","creator":{"login":"Zidane","id":744482,"avatar_url":"https://avatars.githubusercontent.com/u/744482?v=3","gravatar_id":"","url":"https://api.github.com/users/Zidane","html_url":"https://github.com/Zidane","followers_url":"https://api.github.com/users/Zidane/followers","following_url":"https://api.github.com/users/Zidane/following{/other_user}","gists_url":"https://api.github.com/users/Zidane/gists{/gist_id}","starred_url":"https://api.github.com/users/Zidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zidane/subscriptions","organizations_url":"https://api.github.com/users/Zidane/orgs","repos_url":"https://api.github.com/users/Zidane/repos","events_url":"https://api.github.com/users/Zidane/events{/privacy}","received_events_url":"https://api.github.com/users/Zidane/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":3,"state":"open","created_at":"2015-03-05T02:35:45Z","updated_at":"2015-05-03T12:06:22Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-04-19T15:14:45Z","updated_at":"2015-05-03T15:48:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/580","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/580","diff_url":"https://github.com/SpongePowered/SpongeAPI/pull/580.diff","patch_url":"https://github.com/SpongePowered/SpongeAPI/pull/580.patch"},"body":"This PR adds a service interface that can be used to lookup player UUIDs by name and player names by UUIDS. The service contacts the Mojang auth servers if no cached profile was found in the local cache.\r\nIt also adds a ``UserStorage`` interface to get, create or delete a ``User`` object.\r\n\r\nThis resolves https://github.com/SpongePowered/SpongeAPI/issues/528\r\n\r\nAccess to cached offline user data is important to:\r\n\r\n* complete or validate names of offline players\r\n* lookup the name of an offline player by an UUID stored by a plugin\r\n* ban offline players\r\n\r\nThings to discuss:\r\n\r\n**Access to the [Name Changes API](http://wiki.vg/Mojang_API#UUID_-.3E_Name_history)?** \r\nMojang provides an API which lists up all names and change dates of a player."},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/comments/98496587","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/580#issuecomment-98496587","issue_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/580","id":98496587,"user":{"login":"MattBDev","id":4009945,"avatar_url":"https://avatars.githubusercontent.com/u/4009945?v=3","gravatar_id":"","url":"https://api.github.com/users/MattBDev","html_url":"https://github.com/MattBDev","followers_url":"https://api.github.com/users/MattBDev/followers","following_url":"https://api.github.com/users/MattBDev/following{/other_user}","gists_url":"https://api.github.com/users/MattBDev/gists{/gist_id}","starred_url":"https://api.github.com/users/MattBDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattBDev/subscriptions","organizations_url":"https://api.github.com/users/MattBDev/orgs","repos_url":"https://api.github.com/users/MattBDev/repos","events_url":"https://api.github.com/users/MattBDev/events{/privacy}","received_events_url":"https://api.github.com/users/MattBDev/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T15:48:03Z","updated_at":"2015-05-03T15:48:03Z","body":"I think if all the changes on the Server.java file are removed, this can be pulled."}}