{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/126143841","pull_request_review_id":48602477,"id":126143841,"diff_hunk":"@@ -32,6 +32,20 @@ BAN_LEGACY_SYSTEM\n ## Uncomment this to have the job system use the player's account creation date, rather than the when they first joined the server for job timers.\n #USE_ACCOUNT_AGE_FOR_JOBS\n \n+##Unhash this to track player playtime in the database. Requires database to be enabled.\n+#USE_EXP_TRACKING\n+##Unhash this to enable playtime requirements for head jobs.\n+#USE_EXP_RESTRICTIONS_HEADS\n+##Unhash this to override head jobs' playtime requirements with this number of hours.\n+#USE_EXP_RESTRICTIONS_HEADS_HOURS 15\n+##Unhash this to change head jobs' playtime requirements so that they're based on department playtime, rather than crew playtime.\n+#USE_EXP_RESTRICTIONS_HEADS_DEPARTMENT \n+##Unhash this to enable playtime requirements for certain non-head jobs, like Engineer and Scientist.","path":"config/config.txt","position":12,"original_position":12,"commit_id":"85c3ed64f0291a80d8a14469199b689ab1a72638","original_commit_id":"85c3ed64f0291a80d8a14469199b689ab1a72638","user":{"login":"Cyberboss","id":8171642,"avatar_url":"https://avatars0.githubusercontent.com/u/8171642?v=3","gravatar_id":"","url":"https://api.github.com/users/Cyberboss","html_url":"https://github.com/Cyberboss","followers_url":"https://api.github.com/users/Cyberboss/followers","following_url":"https://api.github.com/users/Cyberboss/following{/other_user}","gists_url":"https://api.github.com/users/Cyberboss/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyberboss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyberboss/subscriptions","organizations_url":"https://api.github.com/users/Cyberboss/orgs","repos_url":"https://api.github.com/users/Cyberboss/repos","events_url":"https://api.github.com/users/Cyberboss/events{/privacy}","received_events_url":"https://api.github.com/users/Cyberboss/received_events","type":"User","site_admin":false},"body":"Space after the ##","created_at":"2017-07-07T13:18:08Z","updated_at":"2017-07-07T13:38:51Z","html_url":"https://github.com/tgstation/tgstation/pull/29105#discussion_r126143841","pull_request_url":"https://api.github.com/repos/tgstation/tgstation/pulls/29105","_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/126143841"},"html":{"href":"https://github.com/tgstation/tgstation/pull/29105#discussion_r126143841"},"pull_request":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/29105"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/29105","id":129319628,"html_url":"https://github.com/tgstation/tgstation/pull/29105","diff_url":"https://github.com/tgstation/tgstation/pull/29105.diff","patch_url":"https://github.com/tgstation/tgstation/pull/29105.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/29105","number":29105,"state":"open","locked":false,"title":"Adds tracking amount of time spent playing departments 2: The fall of the Assistants.","user":{"login":"Shadowlight213","id":9410002,"avatar_url":"https://avatars0.githubusercontent.com/u/9410002?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowlight213","html_url":"https://github.com/Shadowlight213","followers_url":"https://api.github.com/users/Shadowlight213/followers","following_url":"https://api.github.com/users/Shadowlight213/following{/other_user}","gists_url":"https://api.github.com/users/Shadowlight213/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowlight213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowlight213/subscriptions","organizations_url":"https://api.github.com/users/Shadowlight213/orgs","repos_url":"https://api.github.com/users/Shadowlight213/repos","events_url":"https://api.github.com/users/Shadowlight213/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowlight213/received_events","type":"User","site_admin":false},"body":"Previous pr #26878\r\nNow with 98% less assistant biased data!\r\nSince I added assigned_roles to ghost roles, this tracks those as well. It's also more tolerant of admin var editing, since any assigned_role not previously defined in EXP_TYPE_SPECIAL or in the jobs controller will be tracked as \"Unknown\". This should keep the counts and percentages accurate.\r\n@MrStonedOne the exempt exp type has been removed and replaced with a flag in the player table like you requested.\r\nAlso, probably if this gets merged for real, the exp table should be reset, to clear the bad data from before.\r\n\r\n:cl:\r\nexperiment: The amount of time spent playing, and jobs played are now tracked per player.\r\nexperiment: This tracking can be used as a requirement of playtime to unlock jobs.\r\n/:cl:\r\n","created_at":"2017-07-07T02:49:05Z","updated_at":"2017-07-07T13:38:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c79c6a7f53aa950411164ab4877b8e099c1c567f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/29105/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/29105/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/29105/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/85c3ed64f0291a80d8a14469199b689ab1a72638","head":{"label":"Shadowlight213:playerexp","ref":"playerexp","sha":"85c3ed64f0291a80d8a14469199b689ab1a72638","user":{"login":"Shadowlight213","id":9410002,"avatar_url":"https://avatars0.githubusercontent.com/u/9410002?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowlight213","html_url":"https://github.com/Shadowlight213","followers_url":"https://api.github.com/users/Shadowlight213/followers","following_url":"https://api.github.com/users/Shadowlight213/following{/other_user}","gists_url":"https://api.github.com/users/Shadowlight213/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowlight213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowlight213/subscriptions","organizations_url":"https://api.github.com/users/Shadowlight213/orgs","repos_url":"https://api.github.com/users/Shadowlight213/repos","events_url":"https://api.github.com/users/Shadowlight213/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowlight213/received_events","type":"User","site_admin":false},"repo":{"id":32113084,"name":"-tg-station","full_name":"Shadowlight213/-tg-station","owner":{"login":"Shadowlight213","id":9410002,"avatar_url":"https://avatars0.githubusercontent.com/u/9410002?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowlight213","html_url":"https://github.com/Shadowlight213","followers_url":"https://api.github.com/users/Shadowlight213/followers","following_url":"https://api.github.com/users/Shadowlight213/following{/other_user}","gists_url":"https://api.github.com/users/Shadowlight213/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowlight213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowlight213/subscriptions","organizations_url":"https://api.github.com/users/Shadowlight213/orgs","repos_url":"https://api.github.com/users/Shadowlight213/repos","events_url":"https://api.github.com/users/Shadowlight213/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowlight213/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shadowlight213/-tg-station","description":"/tg/'s SS13 branch","fork":true,"url":"https://api.github.com/repos/Shadowlight213/-tg-station","forks_url":"https://api.github.com/repos/Shadowlight213/-tg-station/forks","keys_url":"https://api.github.com/repos/Shadowlight213/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shadowlight213/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shadowlight213/-tg-station/teams","hooks_url":"https://api.github.com/repos/Shadowlight213/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Shadowlight213/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Shadowlight213/-tg-station/events","assignees_url":"https://api.github.com/repos/Shadowlight213/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Shadowlight213/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Shadowlight213/-tg-station/tags","blobs_url":"https://api.github.com/repos/Shadowlight213/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shadowlight213/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shadowlight213/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shadowlight213/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shadowlight213/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Shadowlight213/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Shadowlight213/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Shadowlight213/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Shadowlight213/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Shadowlight213/-tg-station/subscription","commits_url":"https://api.github.com/repos/Shadowlight213/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shadowlight213/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shadowlight213/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shadowlight213/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shadowlight213/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Shadowlight213/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shadowlight213/-tg-station/merges","archive_url":"https://api.github.com/repos/Shadowlight213/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shadowlight213/-tg-station/downloads","issues_url":"https://api.github.com/repos/Shadowlight213/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Shadowlight213/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Shadowlight213/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Shadowlight213/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shadowlight213/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Shadowlight213/-tg-station/releases{/id}","deployments_url":"https://api.github.com/repos/Shadowlight213/-tg-station/deployments","created_at":"2015-03-13T01:10:41Z","updated_at":"2016-01-12T00:23:32Z","pushed_at":"2017-07-07T02:37:41Z","git_url":"git://github.com/Shadowlight213/-tg-station.git","ssh_url":"git@github.com:Shadowlight213/-tg-station.git","clone_url":"https://github.com/Shadowlight213/-tg-station.git","svn_url":"https://github.com/Shadowlight213/-tg-station","homepage":"http://www.tgstation13.org/","size":894538,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_projects":true,"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":"tgstation:master","ref":"master","sha":"61af168b9eb9a1feeafb202505e51443738d05c3","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars1.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"tgstation","full_name":"tgstation/tgstation","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars1.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/tgstation","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/tgstation","forks_url":"https://api.github.com/repos/tgstation/tgstation/forks","keys_url":"https://api.github.com/repos/tgstation/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/tgstation/teams","hooks_url":"https://api.github.com/repos/tgstation/tgstation/hooks","issue_events_url":"https://api.github.com/repos/tgstation/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/tgstation/events","assignees_url":"https://api.github.com/repos/tgstation/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/tgstation/tags","blobs_url":"https://api.github.com/repos/tgstation/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/tgstation/languages","stargazers_url":"https://api.github.com/repos/tgstation/tgstation/stargazers","contributors_url":"https://api.github.com/repos/tgstation/tgstation/contributors","subscribers_url":"https://api.github.com/repos/tgstation/tgstation/subscribers","subscription_url":"https://api.github.com/repos/tgstation/tgstation/subscription","commits_url":"https://api.github.com/repos/tgstation/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/tgstation/merges","archive_url":"https://api.github.com/repos/tgstation/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/tgstation/downloads","issues_url":"https://api.github.com/repos/tgstation/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/tgstation/tgstation/deployments","created_at":"2012-01-21T17:32:47Z","updated_at":"2017-06-24T21:44:05Z","pushed_at":"2017-07-07T13:18:57Z","git_url":"git://github.com/tgstation/tgstation.git","ssh_url":"git@github.com:tgstation/tgstation.git","clone_url":"https://github.com/tgstation/tgstation.git","svn_url":"https://github.com/tgstation/tgstation","homepage":"http://www.tgstation13.org/","size":893622,"stargazers_count":385,"watchers_count":385,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1423,"mirror_url":null,"open_issues_count":1012,"forks":1423,"open_issues":1012,"watchers":385,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/29105"},"html":{"href":"https://github.com/tgstation/tgstation/pull/29105"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/29105"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/29105/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/29105/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/29105/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/85c3ed64f0291a80d8a14469199b689ab1a72638"}}}}
{"actor":{"display_login":"Cyberboss"}}