{"action":"created","issue":{"url":"https://api.github.com/repos/BryceSchroeder/Kopernicus/issues/57","labels_url":"https://api.github.com/repos/BryceSchroeder/Kopernicus/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/BryceSchroeder/Kopernicus/issues/57/comments","events_url":"https://api.github.com/repos/BryceSchroeder/Kopernicus/issues/57/events","html_url":"https://github.com/BryceSchroeder/Kopernicus/pull/57","id":93668239,"number":57,"title":"ExternalParserTargets, adding ParserTargets from other assemblies","user":{"login":"HappyFaceIndustries","id":7258677,"avatar_url":"https://avatars.githubusercontent.com/u/7258677?v=3","gravatar_id":"","url":"https://api.github.com/users/HappyFaceIndustries","html_url":"https://github.com/HappyFaceIndustries","followers_url":"https://api.github.com/users/HappyFaceIndustries/followers","following_url":"https://api.github.com/users/HappyFaceIndustries/following{/other_user}","gists_url":"https://api.github.com/users/HappyFaceIndustries/gists{/gist_id}","starred_url":"https://api.github.com/users/HappyFaceIndustries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HappyFaceIndustries/subscriptions","organizations_url":"https://api.github.com/users/HappyFaceIndustries/orgs","repos_url":"https://api.github.com/users/HappyFaceIndustries/repos","events_url":"https://api.github.com/users/HappyFaceIndustries/events{/privacy}","received_events_url":"https://api.github.com/users/HappyFaceIndustries/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-08T01:27:38Z","updated_at":"2015-07-08T01:42:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/BryceSchroeder/Kopernicus/pulls/57","html_url":"https://github.com/BryceSchroeder/Kopernicus/pull/57","diff_url":"https://github.com/BryceSchroeder/Kopernicus/pull/57.diff","patch_url":"https://github.com/BryceSchroeder/Kopernicus/pull/57.patch"},"body":"I added a small bit to the Parser that looks for classes in all the loaded assemblies that have the ExternalParserTarget atribute and extend ExternalParserTargetLoader, and loads them in as if they were regular ParserTargets.  \r\nThis would allow plugin developers to extend the configuration system of Kopernicus in there own plugins beyond adding custom ModLoaders.\r\n\r\nI made an example\r\none that adds my glowing ocean effect, ([code here](https://gist.github.com/HappyFaceIndustries/5cf0fdc4d9805d0168c1#file-emissiveoceanloader)) and it loads flawlessly. Even when it wasn't loading flawlessly, it still didn't break the rest of Kopernicus's functionality in any way.\r\n\r\n[Image](https://cloud.githubusercontent.com/assets/7258677/8561166/83bf8e32-24e6-11e5-86d5-ffa99ccaaba9.png)"},"comment":{"url":"https://api.github.com/repos/BryceSchroeder/Kopernicus/issues/comments/119396145","html_url":"https://github.com/BryceSchroeder/Kopernicus/pull/57#issuecomment-119396145","issue_url":"https://api.github.com/repos/BryceSchroeder/Kopernicus/issues/57","id":119396145,"user":{"login":"Teknoman117","id":326028,"avatar_url":"https://avatars.githubusercontent.com/u/326028?v=3","gravatar_id":"","url":"https://api.github.com/users/Teknoman117","html_url":"https://github.com/Teknoman117","followers_url":"https://api.github.com/users/Teknoman117/followers","following_url":"https://api.github.com/users/Teknoman117/following{/other_user}","gists_url":"https://api.github.com/users/Teknoman117/gists{/gist_id}","starred_url":"https://api.github.com/users/Teknoman117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teknoman117/subscriptions","organizations_url":"https://api.github.com/users/Teknoman117/orgs","repos_url":"https://api.github.com/users/Teknoman117/repos","events_url":"https://api.github.com/users/Teknoman117/events{/privacy}","received_events_url":"https://api.github.com/users/Teknoman117/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T01:42:54Z","updated_at":"2015-07-08T01:42:54Z","body":"Could you also include some code as a simple usage example?"}}