{"action":"created","comment":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/comments/86533141","pull_request_review_id":7187846,"id":86533141,"diff_hunk":"@@ -71,6 +71,10 @@ requiredfeatures=\"\"\n ; to choose from.  Example: \"Flaming,Foul Language\"\n officialwarnings=\"Flamming,Spamming,Causing Drama,Abusive Language\"\n \n+; Maximum time in seconds a player can stay connected but idle.  Default is 3600 (0 = disabled)\n+; Clients will be notified at the 90% time period of pending disconnection if they do not take action.\n+idleclienttimeout=3600","path":"servatrice/servatrice.ini.example","position":6,"original_position":6,"commit_id":"47f4e850b3b89b3baec49192161dc37ab0adcbbc","original_commit_id":"47f4e850b3b89b3baec49192161dc37ab0adcbbc","user":{"login":"Daenyth","id":14644,"avatar_url":"https://avatars.githubusercontent.com/u/14644?v=3","gravatar_id":"","url":"https://api.github.com/users/Daenyth","html_url":"https://github.com/Daenyth","followers_url":"https://api.github.com/users/Daenyth/followers","following_url":"https://api.github.com/users/Daenyth/following{/other_user}","gists_url":"https://api.github.com/users/Daenyth/gists{/gist_id}","starred_url":"https://api.github.com/users/Daenyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daenyth/subscriptions","organizations_url":"https://api.github.com/users/Daenyth/orgs","repos_url":"https://api.github.com/users/Daenyth/repos","events_url":"https://api.github.com/users/Daenyth/events{/privacy}","received_events_url":"https://api.github.com/users/Daenyth/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2016-11-04T12:13:06Z","updated_at":"2016-11-04T12:13:06Z","html_url":"https://github.com/Cockatrice/Cockatrice/pull/2259#discussion_r86533141","pull_request_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259","_links":{"self":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/comments/86533141"},"html":{"href":"https://github.com/Cockatrice/Cockatrice/pull/2259#discussion_r86533141"},"pull_request":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259"}}},"pull_request":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259","id":91907349,"html_url":"https://github.com/Cockatrice/Cockatrice/pull/2259","diff_url":"https://github.com/Cockatrice/Cockatrice/pull/2259.diff","patch_url":"https://github.com/Cockatrice/Cockatrice/pull/2259.patch","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2259","number":2259,"state":"open","locked":false,"title":"Server side idle timeout","user":{"login":"woogerboy21","id":1361287,"avatar_url":"https://avatars.githubusercontent.com/u/1361287?v=3","gravatar_id":"","url":"https://api.github.com/users/woogerboy21","html_url":"https://github.com/woogerboy21","followers_url":"https://api.github.com/users/woogerboy21/followers","following_url":"https://api.github.com/users/woogerboy21/following{/other_user}","gists_url":"https://api.github.com/users/woogerboy21/gists{/gist_id}","starred_url":"https://api.github.com/users/woogerboy21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woogerboy21/subscriptions","organizations_url":"https://api.github.com/users/woogerboy21/orgs","repos_url":"https://api.github.com/users/woogerboy21/repos","events_url":"https://api.github.com/users/woogerboy21/events{/privacy}","received_events_url":"https://api.github.com/users/woogerboy21/received_events","type":"User","site_admin":false},"body":"Fix #2208 \r\n\r\nInitial commit for server side idle timeout counter.  This adds a new int value that is updated when room/game/mod/admin commands occur and is checked during the regular ping timout function that if the users new \"idle\" value exceeds the idleclienttimeout value defined in the servers configuration file the user is logged out.  The user will receive a warning at the 90% time frame mark about being idle.\r\n\r\nThis warning / disconnect only affects un-privileges users. Also settings the servers configuration file setting to 0 will disable the functionality.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1361287/19916732/765453de-a093-11e6-89af-926df1ebb864.png)\r\n","created_at":"2016-11-02T04:24:12Z","updated_at":"2016-11-04T12:16:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0764eeaaad6206e40e23b37cea1da4f0f7d8f8e5","assignee":{"login":"Daenyth","id":14644,"avatar_url":"https://avatars.githubusercontent.com/u/14644?v=3","gravatar_id":"","url":"https://api.github.com/users/Daenyth","html_url":"https://github.com/Daenyth","followers_url":"https://api.github.com/users/Daenyth/followers","following_url":"https://api.github.com/users/Daenyth/following{/other_user}","gists_url":"https://api.github.com/users/Daenyth/gists{/gist_id}","starred_url":"https://api.github.com/users/Daenyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daenyth/subscriptions","organizations_url":"https://api.github.com/users/Daenyth/orgs","repos_url":"https://api.github.com/users/Daenyth/repos","events_url":"https://api.github.com/users/Daenyth/events{/privacy}","received_events_url":"https://api.github.com/users/Daenyth/received_events","type":"User","site_admin":false},"assignees":[{"login":"Daenyth","id":14644,"avatar_url":"https://avatars.githubusercontent.com/u/14644?v=3","gravatar_id":"","url":"https://api.github.com/users/Daenyth","html_url":"https://github.com/Daenyth","followers_url":"https://api.github.com/users/Daenyth/followers","following_url":"https://api.github.com/users/Daenyth/following{/other_user}","gists_url":"https://api.github.com/users/Daenyth/gists{/gist_id}","starred_url":"https://api.github.com/users/Daenyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daenyth/subscriptions","organizations_url":"https://api.github.com/users/Daenyth/orgs","repos_url":"https://api.github.com/users/Daenyth/repos","events_url":"https://api.github.com/users/Daenyth/events{/privacy}","received_events_url":"https://api.github.com/users/Daenyth/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259/commits","review_comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259/comments","review_comment_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2259/comments","statuses_url":"https://api.github.com/repos/Cockatrice/Cockatrice/statuses/47f4e850b3b89b3baec49192161dc37ab0adcbbc","head":{"label":"woogerboy21:server_side_idle_timeout_v2","ref":"server_side_idle_timeout_v2","sha":"47f4e850b3b89b3baec49192161dc37ab0adcbbc","user":{"login":"woogerboy21","id":1361287,"avatar_url":"https://avatars.githubusercontent.com/u/1361287?v=3","gravatar_id":"","url":"https://api.github.com/users/woogerboy21","html_url":"https://github.com/woogerboy21","followers_url":"https://api.github.com/users/woogerboy21/followers","following_url":"https://api.github.com/users/woogerboy21/following{/other_user}","gists_url":"https://api.github.com/users/woogerboy21/gists{/gist_id}","starred_url":"https://api.github.com/users/woogerboy21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woogerboy21/subscriptions","organizations_url":"https://api.github.com/users/woogerboy21/orgs","repos_url":"https://api.github.com/users/woogerboy21/repos","events_url":"https://api.github.com/users/woogerboy21/events{/privacy}","received_events_url":"https://api.github.com/users/woogerboy21/received_events","type":"User","site_admin":false},"repo":{"id":54280436,"name":"Cockatrice","full_name":"woogerboy21/Cockatrice","owner":{"login":"woogerboy21","id":1361287,"avatar_url":"https://avatars.githubusercontent.com/u/1361287?v=3","gravatar_id":"","url":"https://api.github.com/users/woogerboy21","html_url":"https://github.com/woogerboy21","followers_url":"https://api.github.com/users/woogerboy21/followers","following_url":"https://api.github.com/users/woogerboy21/following{/other_user}","gists_url":"https://api.github.com/users/woogerboy21/gists{/gist_id}","starred_url":"https://api.github.com/users/woogerboy21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woogerboy21/subscriptions","organizations_url":"https://api.github.com/users/woogerboy21/orgs","repos_url":"https://api.github.com/users/woogerboy21/repos","events_url":"https://api.github.com/users/woogerboy21/events{/privacy}","received_events_url":"https://api.github.com/users/woogerboy21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/woogerboy21/Cockatrice","description":"A cross-platform virtual tabletop for multiplayer card games","fork":true,"url":"https://api.github.com/repos/woogerboy21/Cockatrice","forks_url":"https://api.github.com/repos/woogerboy21/Cockatrice/forks","keys_url":"https://api.github.com/repos/woogerboy21/Cockatrice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woogerboy21/Cockatrice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woogerboy21/Cockatrice/teams","hooks_url":"https://api.github.com/repos/woogerboy21/Cockatrice/hooks","issue_events_url":"https://api.github.com/repos/woogerboy21/Cockatrice/issues/events{/number}","events_url":"https://api.github.com/repos/woogerboy21/Cockatrice/events","assignees_url":"https://api.github.com/repos/woogerboy21/Cockatrice/assignees{/user}","branches_url":"https://api.github.com/repos/woogerboy21/Cockatrice/branches{/branch}","tags_url":"https://api.github.com/repos/woogerboy21/Cockatrice/tags","blobs_url":"https://api.github.com/repos/woogerboy21/Cockatrice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woogerboy21/Cockatrice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woogerboy21/Cockatrice/git/refs{/sha}","trees_url":"https://api.github.com/repos/woogerboy21/Cockatrice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woogerboy21/Cockatrice/statuses/{sha}","languages_url":"https://api.github.com/repos/woogerboy21/Cockatrice/languages","stargazers_url":"https://api.github.com/repos/woogerboy21/Cockatrice/stargazers","contributors_url":"https://api.github.com/repos/woogerboy21/Cockatrice/contributors","subscribers_url":"https://api.github.com/repos/woogerboy21/Cockatrice/subscribers","subscription_url":"https://api.github.com/repos/woogerboy21/Cockatrice/subscription","commits_url":"https://api.github.com/repos/woogerboy21/Cockatrice/commits{/sha}","git_commits_url":"https://api.github.com/repos/woogerboy21/Cockatrice/git/commits{/sha}","comments_url":"https://api.github.com/repos/woogerboy21/Cockatrice/comments{/number}","issue_comment_url":"https://api.github.com/repos/woogerboy21/Cockatrice/issues/comments{/number}","contents_url":"https://api.github.com/repos/woogerboy21/Cockatrice/contents/{+path}","compare_url":"https://api.github.com/repos/woogerboy21/Cockatrice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woogerboy21/Cockatrice/merges","archive_url":"https://api.github.com/repos/woogerboy21/Cockatrice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woogerboy21/Cockatrice/downloads","issues_url":"https://api.github.com/repos/woogerboy21/Cockatrice/issues{/number}","pulls_url":"https://api.github.com/repos/woogerboy21/Cockatrice/pulls{/number}","milestones_url":"https://api.github.com/repos/woogerboy21/Cockatrice/milestones{/number}","notifications_url":"https://api.github.com/repos/woogerboy21/Cockatrice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woogerboy21/Cockatrice/labels{/name}","releases_url":"https://api.github.com/repos/woogerboy21/Cockatrice/releases{/id}","deployments_url":"https://api.github.com/repos/woogerboy21/Cockatrice/deployments","created_at":"2016-03-19T18:15:16Z","updated_at":"2016-10-08T22:49:49Z","pushed_at":"2016-11-03T02:35:30Z","git_url":"git://github.com/woogerboy21/Cockatrice.git","ssh_url":"git@github.com:woogerboy21/Cockatrice.git","clone_url":"https://github.com/woogerboy21/Cockatrice.git","svn_url":"https://github.com/woogerboy21/Cockatrice","homepage":"https://cockatrice.github.io","size":37676,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"Cockatrice:master","ref":"master","sha":"1cebe030f6016be6b804de75e8d9b5b6194c9967","user":{"login":"Cockatrice","id":9746249,"avatar_url":"https://avatars.githubusercontent.com/u/9746249?v=3","gravatar_id":"","url":"https://api.github.com/users/Cockatrice","html_url":"https://github.com/Cockatrice","followers_url":"https://api.github.com/users/Cockatrice/followers","following_url":"https://api.github.com/users/Cockatrice/following{/other_user}","gists_url":"https://api.github.com/users/Cockatrice/gists{/gist_id}","starred_url":"https://api.github.com/users/Cockatrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cockatrice/subscriptions","organizations_url":"https://api.github.com/users/Cockatrice/orgs","repos_url":"https://api.github.com/users/Cockatrice/repos","events_url":"https://api.github.com/users/Cockatrice/events{/privacy}","received_events_url":"https://api.github.com/users/Cockatrice/received_events","type":"Organization","site_admin":false},"repo":{"id":2907031,"name":"Cockatrice","full_name":"Cockatrice/Cockatrice","owner":{"login":"Cockatrice","id":9746249,"avatar_url":"https://avatars.githubusercontent.com/u/9746249?v=3","gravatar_id":"","url":"https://api.github.com/users/Cockatrice","html_url":"https://github.com/Cockatrice","followers_url":"https://api.github.com/users/Cockatrice/followers","following_url":"https://api.github.com/users/Cockatrice/following{/other_user}","gists_url":"https://api.github.com/users/Cockatrice/gists{/gist_id}","starred_url":"https://api.github.com/users/Cockatrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cockatrice/subscriptions","organizations_url":"https://api.github.com/users/Cockatrice/orgs","repos_url":"https://api.github.com/users/Cockatrice/repos","events_url":"https://api.github.com/users/Cockatrice/events{/privacy}","received_events_url":"https://api.github.com/users/Cockatrice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cockatrice/Cockatrice","description":"A cross-platform virtual tabletop for multiplayer card games","fork":false,"url":"https://api.github.com/repos/Cockatrice/Cockatrice","forks_url":"https://api.github.com/repos/Cockatrice/Cockatrice/forks","keys_url":"https://api.github.com/repos/Cockatrice/Cockatrice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cockatrice/Cockatrice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cockatrice/Cockatrice/teams","hooks_url":"https://api.github.com/repos/Cockatrice/Cockatrice/hooks","issue_events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/events{/number}","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/events","assignees_url":"https://api.github.com/repos/Cockatrice/Cockatrice/assignees{/user}","branches_url":"https://api.github.com/repos/Cockatrice/Cockatrice/branches{/branch}","tags_url":"https://api.github.com/repos/Cockatrice/Cockatrice/tags","blobs_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cockatrice/Cockatrice/statuses/{sha}","languages_url":"https://api.github.com/repos/Cockatrice/Cockatrice/languages","stargazers_url":"https://api.github.com/repos/Cockatrice/Cockatrice/stargazers","contributors_url":"https://api.github.com/repos/Cockatrice/Cockatrice/contributors","subscribers_url":"https://api.github.com/repos/Cockatrice/Cockatrice/subscribers","subscription_url":"https://api.github.com/repos/Cockatrice/Cockatrice/subscription","commits_url":"https://api.github.com/repos/Cockatrice/Cockatrice/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cockatrice/Cockatrice/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cockatrice/Cockatrice/contents/{+path}","compare_url":"https://api.github.com/repos/Cockatrice/Cockatrice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cockatrice/Cockatrice/merges","archive_url":"https://api.github.com/repos/Cockatrice/Cockatrice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cockatrice/Cockatrice/downloads","issues_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues{/number}","pulls_url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls{/number}","milestones_url":"https://api.github.com/repos/Cockatrice/Cockatrice/milestones{/number}","notifications_url":"https://api.github.com/repos/Cockatrice/Cockatrice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/labels{/name}","releases_url":"https://api.github.com/repos/Cockatrice/Cockatrice/releases{/id}","deployments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/deployments","created_at":"2011-12-03T20:58:09Z","updated_at":"2016-11-02T10:10:53Z","pushed_at":"2016-11-03T02:35:31Z","git_url":"git://github.com/Cockatrice/Cockatrice.git","ssh_url":"git@github.com:Cockatrice/Cockatrice.git","clone_url":"https://github.com/Cockatrice/Cockatrice.git","svn_url":"https://github.com/Cockatrice/Cockatrice","homepage":"https://cockatrice.github.io","size":43945,"stargazers_count":457,"watchers_count":457,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":242,"mirror_url":null,"open_issues_count":391,"forks":242,"open_issues":391,"watchers":457,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259"},"html":{"href":"https://github.com/Cockatrice/Cockatrice/pull/2259"},"issue":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2259"},"comments":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2259/comments"},"review_comments":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259/comments"},"review_comment":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2259/commits"},"statuses":{"href":"https://api.github.com/repos/Cockatrice/Cockatrice/statuses/47f4e850b3b89b3baec49192161dc37ab0adcbbc"}}}}
{"actor":{"display_login":"Daenyth"}}