{"action":"created","comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments/22459184","id":22459184,"diff_hunk":"@@ -117,5 +118,19 @@\n      * Removes the currently displayed {@link Title} from the player's screen.\n      */\n     void clearTitle();\n+    \n+    /**\n+     * Set the player {@link GameMode}.\n+     * \n+     * @param gamemode The {@link GameMode} to set\n+     */\n+     void setGameMode(GameMode gm);","path":"src/main/java/org/spongepowered/api/entity/player/Player.java","position":18,"original_position":18,"commit_id":"22ef3c321a43f7b7a988da15c1f98cbb0060864c","original_commit_id":"22ef3c321a43f7b7a988da15c1f98cbb0060864c","user":{"login":"simon816","id":1497508,"avatar_url":"https://avatars.githubusercontent.com/u/1497508?v=3","gravatar_id":"","url":"https://api.github.com/users/simon816","html_url":"https://github.com/simon816","followers_url":"https://api.github.com/users/simon816/followers","following_url":"https://api.github.com/users/simon816/following{/other_user}","gists_url":"https://api.github.com/users/simon816/gists{/gist_id}","starred_url":"https://api.github.com/users/simon816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon816/subscriptions","organizations_url":"https://api.github.com/users/simon816/orgs","repos_url":"https://api.github.com/users/simon816/repos","events_url":"https://api.github.com/users/simon816/events{/privacy}","received_events_url":"https://api.github.com/users/simon816/received_events","type":"User","site_admin":false},"body":"Parameter name does not match up with javadoc `@param`\r\nI suggest changing it to `gameMode`","created_at":"2015-01-05T12:50:29Z","updated_at":"2015-01-05T12:50:29Z","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/371#discussion_r22459184","pull_request_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371","_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments/22459184"},"html":{"href":"https://github.com/SpongePowered/SpongeAPI/pull/371#discussion_r22459184"},"pull_request":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371"}}},"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371","id":26803521,"html_url":"https://github.com/SpongePowered/SpongeAPI/pull/371","diff_url":"https://github.com/SpongePowered/SpongeAPI/pull/371.diff","patch_url":"https://github.com/SpongePowered/SpongeAPI/pull/371.patch","issue_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/371","number":371,"state":"open","locked":false,"title":"Add a way to get and set gamemode of the player","user":{"login":"Xephi","id":2137621,"avatar_url":"https://avatars.githubusercontent.com/u/2137621?v=3","gravatar_id":"","url":"https://api.github.com/users/Xephi","html_url":"https://github.com/Xephi","followers_url":"https://api.github.com/users/Xephi/followers","following_url":"https://api.github.com/users/Xephi/following{/other_user}","gists_url":"https://api.github.com/users/Xephi/gists{/gist_id}","starred_url":"https://api.github.com/users/Xephi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xephi/subscriptions","organizations_url":"https://api.github.com/users/Xephi/orgs","repos_url":"https://api.github.com/users/Xephi/repos","events_url":"https://api.github.com/users/Xephi/events{/privacy}","received_events_url":"https://api.github.com/users/Xephi/received_events","type":"User","site_admin":false},"body":"Player api do not have currently a way to get (or set) the gamemode of the player :/\r\n\r\nIf someone can add implementation of that ^^\"","created_at":"2015-01-05T02:17:59Z","updated_at":"2015-01-05T12:50:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ff1b72333d104d28853a706ea27ba12453a2f15","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371/commits","review_comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371/comments","review_comment_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/371/comments","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/statuses/22ef3c321a43f7b7a988da15c1f98cbb0060864c","head":{"label":"Xephi:patch-1","ref":"patch-1","sha":"22ef3c321a43f7b7a988da15c1f98cbb0060864c","user":{"login":"Xephi","id":2137621,"avatar_url":"https://avatars.githubusercontent.com/u/2137621?v=3","gravatar_id":"","url":"https://api.github.com/users/Xephi","html_url":"https://github.com/Xephi","followers_url":"https://api.github.com/users/Xephi/followers","following_url":"https://api.github.com/users/Xephi/following{/other_user}","gists_url":"https://api.github.com/users/Xephi/gists{/gist_id}","starred_url":"https://api.github.com/users/Xephi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xephi/subscriptions","organizations_url":"https://api.github.com/users/Xephi/orgs","repos_url":"https://api.github.com/users/Xephi/repos","events_url":"https://api.github.com/users/Xephi/events{/privacy}","received_events_url":"https://api.github.com/users/Xephi/received_events","type":"User","site_admin":false},"repo":{"id":23789826,"name":"SpongeAPI","full_name":"Xephi/SpongeAPI","owner":{"login":"Xephi","id":2137621,"avatar_url":"https://avatars.githubusercontent.com/u/2137621?v=3","gravatar_id":"","url":"https://api.github.com/users/Xephi","html_url":"https://github.com/Xephi","followers_url":"https://api.github.com/users/Xephi/followers","following_url":"https://api.github.com/users/Xephi/following{/other_user}","gists_url":"https://api.github.com/users/Xephi/gists{/gist_id}","starred_url":"https://api.github.com/users/Xephi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xephi/subscriptions","organizations_url":"https://api.github.com/users/Xephi/orgs","repos_url":"https://api.github.com/users/Xephi/repos","events_url":"https://api.github.com/users/Xephi/events{/privacy}","received_events_url":"https://api.github.com/users/Xephi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Xephi/SpongeAPI","description":"A Minecraft plugin API (not including an implementation)","fork":true,"url":"https://api.github.com/repos/Xephi/SpongeAPI","forks_url":"https://api.github.com/repos/Xephi/SpongeAPI/forks","keys_url":"https://api.github.com/repos/Xephi/SpongeAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xephi/SpongeAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xephi/SpongeAPI/teams","hooks_url":"https://api.github.com/repos/Xephi/SpongeAPI/hooks","issue_events_url":"https://api.github.com/repos/Xephi/SpongeAPI/issues/events{/number}","events_url":"https://api.github.com/repos/Xephi/SpongeAPI/events","assignees_url":"https://api.github.com/repos/Xephi/SpongeAPI/assignees{/user}","branches_url":"https://api.github.com/repos/Xephi/SpongeAPI/branches{/branch}","tags_url":"https://api.github.com/repos/Xephi/SpongeAPI/tags","blobs_url":"https://api.github.com/repos/Xephi/SpongeAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xephi/SpongeAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xephi/SpongeAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xephi/SpongeAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xephi/SpongeAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/Xephi/SpongeAPI/languages","stargazers_url":"https://api.github.com/repos/Xephi/SpongeAPI/stargazers","contributors_url":"https://api.github.com/repos/Xephi/SpongeAPI/contributors","subscribers_url":"https://api.github.com/repos/Xephi/SpongeAPI/subscribers","subscription_url":"https://api.github.com/repos/Xephi/SpongeAPI/subscription","commits_url":"https://api.github.com/repos/Xephi/SpongeAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xephi/SpongeAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xephi/SpongeAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xephi/SpongeAPI/issues/comments/{number}","contents_url":"https://api.github.com/repos/Xephi/SpongeAPI/contents/{+path}","compare_url":"https://api.github.com/repos/Xephi/SpongeAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xephi/SpongeAPI/merges","archive_url":"https://api.github.com/repos/Xephi/SpongeAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xephi/SpongeAPI/downloads","issues_url":"https://api.github.com/repos/Xephi/SpongeAPI/issues{/number}","pulls_url":"https://api.github.com/repos/Xephi/SpongeAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/Xephi/SpongeAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/Xephi/SpongeAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xephi/SpongeAPI/labels{/name}","releases_url":"https://api.github.com/repos/Xephi/SpongeAPI/releases{/id}","created_at":"2014-09-08T12:25:32Z","updated_at":"2014-09-08T12:23:56Z","pushed_at":"2015-01-05T02:16:38Z","git_url":"git://github.com/Xephi/SpongeAPI.git","ssh_url":"git@github.com:Xephi/SpongeAPI.git","clone_url":"https://github.com/Xephi/SpongeAPI.git","svn_url":"https://github.com/Xephi/SpongeAPI","homepage":"http://www.spongepowered.org/","size":120,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SpongePowered:master","ref":"master","sha":"2656b93793d334617f2e7be63645672883b83892","user":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"repo":{"id":23770421,"name":"SpongeAPI","full_name":"SpongePowered/SpongeAPI","owner":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpongePowered/SpongeAPI","description":"A Minecraft plugin API","fork":false,"url":"https://api.github.com/repos/SpongePowered/SpongeAPI","forks_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/forks","keys_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/teams","hooks_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/hooks","issue_events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/events{/number}","events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/events","assignees_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/assignees{/user}","branches_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/branches{/branch}","tags_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/tags","blobs_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/languages","stargazers_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/stargazers","contributors_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/contributors","subscribers_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/subscribers","subscription_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/subscription","commits_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/comments/{number}","contents_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/contents/{+path}","compare_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/merges","archive_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/downloads","issues_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues{/number}","pulls_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels{/name}","releases_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/releases{/id}","created_at":"2014-09-07T20:39:25Z","updated_at":"2015-01-05T01:57:13Z","pushed_at":"2015-01-05T10:16:31Z","git_url":"git://github.com/SpongePowered/SpongeAPI.git","ssh_url":"git@github.com:SpongePowered/SpongeAPI.git","clone_url":"https://github.com/SpongePowered/SpongeAPI.git","svn_url":"https://github.com/SpongePowered/SpongeAPI","homepage":"http://www.spongepowered.org/","size":10683,"stargazers_count":697,"watchers_count":697,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":330,"mirror_url":null,"open_issues_count":46,"forks":330,"open_issues":46,"watchers":697,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371"},"html":{"href":"https://github.com/SpongePowered/SpongeAPI/pull/371"},"issue":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/371"},"comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/SpongePowered/SpongeAPI/statuses/22ef3c321a43f7b7a988da15c1f98cbb0060864c"}}}}