{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/694","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/694/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/694/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/694/events","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/694","id":79158116,"number":694,"title":"Add message sinks to control message targeting","user":{"login":"zml2008","id":629092,"avatar_url":"https://avatars.githubusercontent.com/u/629092?v=3","gravatar_id":"","url":"https://api.github.com/users/zml2008","html_url":"https://github.com/zml2008","followers_url":"https://api.github.com/users/zml2008/followers","following_url":"https://api.github.com/users/zml2008/following{/other_user}","gists_url":"https://api.github.com/users/zml2008/gists{/gist_id}","starred_url":"https://api.github.com/users/zml2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zml2008/subscriptions","organizations_url":"https://api.github.com/users/zml2008/orgs","repos_url":"https://api.github.com/users/zml2008/repos","events_url":"https://api.github.com/users/zml2008/events{/privacy}","received_events_url":"https://api.github.com/users/zml2008/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/input%20wanted","name":"input wanted","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-05-21T20:55:53Z","updated_at":"2015-05-24T07:55:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/pulls/694","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/694","diff_url":"https://github.com/SpongePowered/SpongeAPI/pull/694.diff","patch_url":"https://github.com/SpongePowered/SpongeAPI/pull/694.patch"},"body":"The goal of this PR is to provide a proposal for a system that targets and formats messages sent to the game. This will provide chat channel functionality as well -- plugins will be able to provide custom sink implementations.\r\n\r\nThis is an initial sketch of the API. I hope to have richer API for combining message sinks and am considering making MessageSink an abstract class to make it more useful on its own (an actual send() method comes to mind here).\r\n\r\nImplementation is upcoming."},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/comments/104989127","html_url":"https://github.com/SpongePowered/SpongeAPI/pull/694#issuecomment-104989127","issue_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/694","id":104989127,"user":{"login":"ST-DDT","id":1579362,"avatar_url":"https://avatars.githubusercontent.com/u/1579362?v=3","gravatar_id":"","url":"https://api.github.com/users/ST-DDT","html_url":"https://github.com/ST-DDT","followers_url":"https://api.github.com/users/ST-DDT/followers","following_url":"https://api.github.com/users/ST-DDT/following{/other_user}","gists_url":"https://api.github.com/users/ST-DDT/gists{/gist_id}","starred_url":"https://api.github.com/users/ST-DDT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ST-DDT/subscriptions","organizations_url":"https://api.github.com/users/ST-DDT/orgs","repos_url":"https://api.github.com/users/ST-DDT/repos","events_url":"https://api.github.com/users/ST-DDT/events{/privacy}","received_events_url":"https://api.github.com/users/ST-DDT/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T07:55:23Z","updated_at":"2015-05-24T07:55:23Z","body":"Wasnt the whole point of MessageSink to avoid the event stuff?"}}