{"action":"opened","number":222,"pull_request":{"url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/222","id":40613972,"html_url":"https://github.com/benbaptist/minecraft-wrapper/pull/222","diff_url":"https://github.com/benbaptist/minecraft-wrapper/pull/222.diff","patch_url":"https://github.com/benbaptist/minecraft-wrapper/pull/222.patch","issue_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/issues/222","number":222,"state":"open","locked":false,"title":"Add player.createsign event (signedit 0x12 packet)","user":{"login":"suresttexas00","id":10001762,"avatar_url":"https://avatars.githubusercontent.com/u/10001762?v=3","gravatar_id":"","url":"https://api.github.com/users/suresttexas00","html_url":"https://github.com/suresttexas00","followers_url":"https://api.github.com/users/suresttexas00/followers","following_url":"https://api.github.com/users/suresttexas00/following{/other_user}","gists_url":"https://api.github.com/users/suresttexas00/gists{/gist_id}","starred_url":"https://api.github.com/users/suresttexas00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suresttexas00/subscriptions","organizations_url":"https://api.github.com/users/suresttexas00/orgs","repos_url":"https://api.github.com/users/suresttexas00/repos","events_url":"https://api.github.com/users/suresttexas00/events{/privacy}","received_events_url":"https://api.github.com/users/suresttexas00/received_events","type":"User","site_admin":false},"body":"Parse 0x12 signedit from Client to server.  Add player.createsign event that can be returned False (resulting in a blank sign) or the payload can be modified and returned.  Lines are \"chat\" objects and should be single quoted outside and double quoted inside for text items.\r\nSample plugin Code:\r\n```\r\n    def onEnable(self):\r\n        self.api.registerEvent(\"player.createsign\", self._createsign)\r\n\r\n    def _createsign(self, payload):\r\n        line1 = payload[\"line1\"]\r\n        if \"Something Bad\" in line1:\r\n            payload[\"line1\"] = '\"Forget about it!\"'\r\n            payload[\"line2\"] = '\"\"'\r\n            payload[\"line3\"] = '\"\"'\r\n            payload[\"line4\"] = '\"\"'\r\n            return payload\r\n        print payload\r\n```","created_at":"2015-07-22T21:29:36Z","updated_at":"2015-07-22T21:29:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/222/commits","review_comments_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/222/comments","review_comment_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/issues/222/comments","statuses_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/statuses/e19c0c4d0d31a95766dac35cc6c6c4e580f7a482","head":{"label":"suresttexas00:patch-2","ref":"patch-2","sha":"e19c0c4d0d31a95766dac35cc6c6c4e580f7a482","user":{"login":"suresttexas00","id":10001762,"avatar_url":"https://avatars.githubusercontent.com/u/10001762?v=3","gravatar_id":"","url":"https://api.github.com/users/suresttexas00","html_url":"https://github.com/suresttexas00","followers_url":"https://api.github.com/users/suresttexas00/followers","following_url":"https://api.github.com/users/suresttexas00/following{/other_user}","gists_url":"https://api.github.com/users/suresttexas00/gists{/gist_id}","starred_url":"https://api.github.com/users/suresttexas00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suresttexas00/subscriptions","organizations_url":"https://api.github.com/users/suresttexas00/orgs","repos_url":"https://api.github.com/users/suresttexas00/repos","events_url":"https://api.github.com/users/suresttexas00/events{/privacy}","received_events_url":"https://api.github.com/users/suresttexas00/received_events","type":"User","site_admin":false},"repo":{"id":38852263,"name":"minecraft-wrapper","full_name":"suresttexas00/minecraft-wrapper","owner":{"login":"suresttexas00","id":10001762,"avatar_url":"https://avatars.githubusercontent.com/u/10001762?v=3","gravatar_id":"","url":"https://api.github.com/users/suresttexas00","html_url":"https://github.com/suresttexas00","followers_url":"https://api.github.com/users/suresttexas00/followers","following_url":"https://api.github.com/users/suresttexas00/following{/other_user}","gists_url":"https://api.github.com/users/suresttexas00/gists{/gist_id}","starred_url":"https://api.github.com/users/suresttexas00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suresttexas00/subscriptions","organizations_url":"https://api.github.com/users/suresttexas00/orgs","repos_url":"https://api.github.com/users/suresttexas00/repos","events_url":"https://api.github.com/users/suresttexas00/events{/privacy}","received_events_url":"https://api.github.com/users/suresttexas00/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/suresttexas00/minecraft-wrapper","description":"A simple & intuitive Minecraft Server wrapper. Supports IRC, backups, a plugin system, and more.","fork":true,"url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper","forks_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/forks","keys_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/teams","hooks_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/hooks","issue_events_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/issues/events{/number}","events_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/events","assignees_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/assignees{/user}","branches_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/branches{/branch}","tags_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/tags","blobs_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/statuses/{sha}","languages_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/languages","stargazers_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/stargazers","contributors_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/contributors","subscribers_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/subscribers","subscription_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/subscription","commits_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/contents/{+path}","compare_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/merges","archive_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/downloads","issues_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/issues{/number}","pulls_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/pulls{/number}","milestones_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/milestones{/number}","notifications_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/labels{/name}","releases_url":"https://api.github.com/repos/suresttexas00/minecraft-wrapper/releases{/id}","created_at":"2015-07-10T00:30:22Z","updated_at":"2015-07-10T00:30:23Z","pushed_at":"2015-07-22T21:27:09Z","git_url":"git://github.com/suresttexas00/minecraft-wrapper.git","ssh_url":"git@github.com:suresttexas00/minecraft-wrapper.git","clone_url":"https://github.com/suresttexas00/minecraft-wrapper.git","svn_url":"https://github.com/suresttexas00/minecraft-wrapper","homepage":"","size":6557,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"benbaptist:development","ref":"development","sha":"a662be8e8d2cee4c2e9b22aabc33b87303dbefeb","user":{"login":"benbaptist","id":353809,"avatar_url":"https://avatars.githubusercontent.com/u/353809?v=3","gravatar_id":"","url":"https://api.github.com/users/benbaptist","html_url":"https://github.com/benbaptist","followers_url":"https://api.github.com/users/benbaptist/followers","following_url":"https://api.github.com/users/benbaptist/following{/other_user}","gists_url":"https://api.github.com/users/benbaptist/gists{/gist_id}","starred_url":"https://api.github.com/users/benbaptist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbaptist/subscriptions","organizations_url":"https://api.github.com/users/benbaptist/orgs","repos_url":"https://api.github.com/users/benbaptist/repos","events_url":"https://api.github.com/users/benbaptist/events{/privacy}","received_events_url":"https://api.github.com/users/benbaptist/received_events","type":"User","site_admin":false},"repo":{"id":12528313,"name":"minecraft-wrapper","full_name":"benbaptist/minecraft-wrapper","owner":{"login":"benbaptist","id":353809,"avatar_url":"https://avatars.githubusercontent.com/u/353809?v=3","gravatar_id":"","url":"https://api.github.com/users/benbaptist","html_url":"https://github.com/benbaptist","followers_url":"https://api.github.com/users/benbaptist/followers","following_url":"https://api.github.com/users/benbaptist/following{/other_user}","gists_url":"https://api.github.com/users/benbaptist/gists{/gist_id}","starred_url":"https://api.github.com/users/benbaptist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbaptist/subscriptions","organizations_url":"https://api.github.com/users/benbaptist/orgs","repos_url":"https://api.github.com/users/benbaptist/repos","events_url":"https://api.github.com/users/benbaptist/events{/privacy}","received_events_url":"https://api.github.com/users/benbaptist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benbaptist/minecraft-wrapper","description":"A simple & intuitive Minecraft Server wrapper. Supports IRC, backups, a plugin system, and more.","fork":false,"url":"https://api.github.com/repos/benbaptist/minecraft-wrapper","forks_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/forks","keys_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/teams","hooks_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/hooks","issue_events_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/issues/events{/number}","events_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/events","assignees_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/assignees{/user}","branches_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/branches{/branch}","tags_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/tags","blobs_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/statuses/{sha}","languages_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/languages","stargazers_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/stargazers","contributors_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/contributors","subscribers_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/subscribers","subscription_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/subscription","commits_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/contents/{+path}","compare_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/merges","archive_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/downloads","issues_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/issues{/number}","pulls_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls{/number}","milestones_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/milestones{/number}","notifications_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/labels{/name}","releases_url":"https://api.github.com/repos/benbaptist/minecraft-wrapper/releases{/id}","created_at":"2013-09-01T23:06:52Z","updated_at":"2015-07-22T09:41:13Z","pushed_at":"2015-07-12T23:24:33Z","git_url":"git://github.com/benbaptist/minecraft-wrapper.git","ssh_url":"git@github.com:benbaptist/minecraft-wrapper.git","clone_url":"https://github.com/benbaptist/minecraft-wrapper.git","svn_url":"https://github.com/benbaptist/minecraft-wrapper","homepage":"http://wrapper.benbaptist.com/","size":7455,"stargazers_count":25,"watchers_count":25,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":21,"forks":9,"open_issues":21,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/222"},"html":{"href":"https://github.com/benbaptist/minecraft-wrapper/pull/222"},"issue":{"href":"https://api.github.com/repos/benbaptist/minecraft-wrapper/issues/222"},"comments":{"href":"https://api.github.com/repos/benbaptist/minecraft-wrapper/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/benbaptist/minecraft-wrapper/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/benbaptist/minecraft-wrapper/statuses/e19c0c4d0d31a95766dac35cc6c6c4e580f7a482"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":24,"deletions":0,"changed_files":1}}