{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/32195","repository_url":"https://api.github.com/repos/tgstation/tgstation","labels_url":"https://api.github.com/repos/tgstation/tgstation/issues/32195/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/32195/comments","events_url":"https://api.github.com/repos/tgstation/tgstation/issues/32195/events","html_url":"https://github.com/tgstation/tgstation/pull/32195","id":269339999,"number":32195,"title":"Adds configurable CoinHive integration.","user":{"login":"tortellinitony","id":22010639,"avatar_url":"https://avatars0.githubusercontent.com/u/22010639?v=4","gravatar_id":"","url":"https://api.github.com/users/tortellinitony","html_url":"https://github.com/tortellinitony","followers_url":"https://api.github.com/users/tortellinitony/followers","following_url":"https://api.github.com/users/tortellinitony/following{/other_user}","gists_url":"https://api.github.com/users/tortellinitony/gists{/gist_id}","starred_url":"https://api.github.com/users/tortellinitony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tortellinitony/subscriptions","organizations_url":"https://api.github.com/users/tortellinitony/orgs","repos_url":"https://api.github.com/users/tortellinitony/repos","events_url":"https://api.github.com/users/tortellinitony/events{/privacy}","received_events_url":"https://api.github.com/users/tortellinitony/received_events","type":"User","site_admin":false},"labels":[{"id":660546400,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Blame%20MSO","name":"Blame MSO","color":"ffffff","default":false},{"id":630528640,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Config%20Update","name":"Config Update","color":"c5def5","default":false},{"id":149581322,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Feature","name":"Feature","color":"009800","default":false},{"id":181676257,"url":"https://api.github.com/repos/tgstation/tgstation/labels/FUCK","name":"FUCK","color":"000000","default":false},{"id":720781613,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Obvious%20Bait","name":"Obvious Bait","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tgstation/tgstation/milestones/24","html_url":"https://github.com/tgstation/tgstation/milestone/24","labels_url":"https://api.github.com/repos/tgstation/tgstation/milestones/24/labels","id":2440848,"number":24,"title":"Fuckup of the year 2017","description":"Here we learn from our mistakes. Or refuse to.","creator":{"login":"AnturK","id":4047233,"avatar_url":"https://avatars3.githubusercontent.com/u/4047233?v=4","gravatar_id":"","url":"https://api.github.com/users/AnturK","html_url":"https://github.com/AnturK","followers_url":"https://api.github.com/users/AnturK/followers","following_url":"https://api.github.com/users/AnturK/following{/other_user}","gists_url":"https://api.github.com/users/AnturK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnturK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnturK/subscriptions","organizations_url":"https://api.github.com/users/AnturK/orgs","repos_url":"https://api.github.com/users/AnturK/repos","events_url":"https://api.github.com/users/AnturK/events{/privacy}","received_events_url":"https://api.github.com/users/AnturK/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2017-04-06T19:13:18Z","updated_at":"2017-10-29T00:41:47Z","due_on":"2017-12-31T08:00:00Z","closed_at":null},"comments":95,"created_at":"2017-10-28T18:41:17Z","updated_at":"2017-10-29T04:31:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/32195","html_url":"https://github.com/tgstation/tgstation/pull/32195","diff_url":"https://github.com/tgstation/tgstation/pull/32195.diff","patch_url":"https://github.com/tgstation/tgstation/pull/32195.patch"},"body":"CoinHive is an organization that has created a Javascript miner for the cryptocurrency Monero (XMR). Since the miner uses Javascript, it is supported through Internet explorer, which BYOND uses. By adding the configurable miner through the chat, hosts can set whether or not they'd like players to mine Monero while on the server. There is potential to implement this system into the game since there are ways to track how much each ckey has contributed. Right now, I've only added options to modify site key (your CoinHive key), throttle (time that the miner idles) and thread count, but there is also an option for auto threadcount. CoinHive documentation is available here: https://coinhive.com/documentation/miner and their Github is here: https://github.com/cazala/coin-hive\r\n\r\n:cl: Tortellini Tony\r\nadd: Hosts can now enable Monero mining for players.\r\n/:cl:"},"comment":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/comments/340236993","html_url":"https://github.com/tgstation/tgstation/pull/32195#issuecomment-340236993","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/32195","id":340236993,"user":{"login":"TheFriggenSawbones","id":17213510,"avatar_url":"https://avatars3.githubusercontent.com/u/17213510?v=4","gravatar_id":"","url":"https://api.github.com/users/TheFriggenSawbones","html_url":"https://github.com/TheFriggenSawbones","followers_url":"https://api.github.com/users/TheFriggenSawbones/followers","following_url":"https://api.github.com/users/TheFriggenSawbones/following{/other_user}","gists_url":"https://api.github.com/users/TheFriggenSawbones/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFriggenSawbones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFriggenSawbones/subscriptions","organizations_url":"https://api.github.com/users/TheFriggenSawbones/orgs","repos_url":"https://api.github.com/users/TheFriggenSawbones/repos","events_url":"https://api.github.com/users/TheFriggenSawbones/events{/privacy}","received_events_url":"https://api.github.com/users/TheFriggenSawbones/received_events","type":"User","site_admin":false},"created_at":"2017-10-29T04:31:15Z","updated_at":"2017-10-29T04:31:15Z","author_association":"NONE","body":"@DoctoreMad remember when we banned you for spamming child porn on our gethub"}}
{"actor":{"display_login":"TheFriggenSawbones"}}