{"action":"created","issue":{"url":"https://api.github.com/repos/SimonFlash/ActiveTime/issues/11","repository_url":"https://api.github.com/repos/SimonFlash/ActiveTime","labels_url":"https://api.github.com/repos/SimonFlash/ActiveTime/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/SimonFlash/ActiveTime/issues/11/comments","events_url":"https://api.github.com/repos/SimonFlash/ActiveTime/issues/11/events","html_url":"https://github.com/SimonFlash/ActiveTime/pull/11","id":288454925,"number":11,"title":"Use Nucleus api + Support multiple commands","user":{"login":"clienthax","id":1056270,"avatar_url":"https://avatars2.githubusercontent.com/u/1056270?v=4","gravatar_id":"","url":"https://api.github.com/users/clienthax","html_url":"https://github.com/clienthax","followers_url":"https://api.github.com/users/clienthax/followers","following_url":"https://api.github.com/users/clienthax/following{/other_user}","gists_url":"https://api.github.com/users/clienthax/gists{/gist_id}","starred_url":"https://api.github.com/users/clienthax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clienthax/subscriptions","organizations_url":"https://api.github.com/users/clienthax/orgs","repos_url":"https://api.github.com/users/clienthax/repos","events_url":"https://api.github.com/users/clienthax/events{/privacy}","received_events_url":"https://api.github.com/users/clienthax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-01-15T00:48:58Z","updated_at":"2018-02-02T16:26:42Z","closed_at":"2018-01-30T19:16:28Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/SimonFlash/ActiveTime/pulls/11","html_url":"https://github.com/SimonFlash/ActiveTime/pull/11","diff_url":"https://github.com/SimonFlash/ActiveTime/pull/11.diff","patch_url":"https://github.com/SimonFlash/ActiveTime/pull/11.patch"},"body":"Maintains support for legacy command string as well as supporting this\r\n```\r\nten-hours {\r\n    activetime=36000\r\n    commands=[\r\n    \t\"broadcast &b<player>&f has played on our server for &b10hours&f!\",\r\n    \t\"lp user <player> parent add regular\"\r\n\t]\r\n}\r\n```\r\n\r\nRemoves need for jar in libs and uses api instead"},"comment":{"url":"https://api.github.com/repos/SimonFlash/ActiveTime/issues/comments/362633745","html_url":"https://github.com/SimonFlash/ActiveTime/pull/11#issuecomment-362633745","issue_url":"https://api.github.com/repos/SimonFlash/ActiveTime/issues/11","id":362633745,"user":{"login":"dualspiral","id":1904167,"avatar_url":"https://avatars2.githubusercontent.com/u/1904167?v=4","gravatar_id":"","url":"https://api.github.com/users/dualspiral","html_url":"https://github.com/dualspiral","followers_url":"https://api.github.com/users/dualspiral/followers","following_url":"https://api.github.com/users/dualspiral/following{/other_user}","gists_url":"https://api.github.com/users/dualspiral/gists{/gist_id}","starred_url":"https://api.github.com/users/dualspiral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dualspiral/subscriptions","organizations_url":"https://api.github.com/users/dualspiral/orgs","repos_url":"https://api.github.com/users/dualspiral/repos","events_url":"https://api.github.com/users/dualspiral/events{/privacy}","received_events_url":"https://api.github.com/users/dualspiral/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T16:26:42Z","updated_at":"2018-02-02T16:26:42Z","author_association":"NONE","body":"> I have not found a method to check if the AFK module is loaded using the Nucleus API alone, but I'll keep this in mind and look into it in the future.\r\n\r\nThe `NucleusAFKService` should always be available once the afk module has loaded. If you request it and it returns an empty optional, its not loaded. Nucleus 1.3 will streamline the loading so should catch potential problems. \r\n\r\nRemember that you can only obtain it after Nucleus finishes loading modules which is during early post-init. So, make sure you do your check beyond post init.\r\n\r\n> I have not found a method to check if the AFK module is loaded using the Nucleus API alone\r\n\r\nhttps://github.com/NucleusPowered/Nucleus/blob/sponge-api/7/nucleus-api/src/main/java/io/github/nucleuspowered/nucleus/api/service/NucleusModuleService.java#L22"}}
{"actor":{"display_login":"dualspiral"}}