{"action":"closed","number":41,"pull_request":{"url":"https://api.github.com/repos/gnembon/carpetmod112/pulls/41","id":211843120,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExODQzMTIw","html_url":"https://github.com/gnembon/carpetmod112/pull/41","diff_url":"https://github.com/gnembon/carpetmod112/pull/41.diff","patch_url":"https://github.com/gnembon/carpetmod112/pull/41.patch","issue_url":"https://api.github.com/repos/gnembon/carpetmod112/issues/41","number":41,"state":"closed","locked":false,"title":"WorldEdit support","user":{"login":"Earthcomputer","id":13084089,"node_id":"MDQ6VXNlcjEzMDg0MDg5","avatar_url":"https://avatars0.githubusercontent.com/u/13084089?v=4","gravatar_id":"","url":"https://api.github.com/users/Earthcomputer","html_url":"https://github.com/Earthcomputer","followers_url":"https://api.github.com/users/Earthcomputer/followers","following_url":"https://api.github.com/users/Earthcomputer/following{/other_user}","gists_url":"https://api.github.com/users/Earthcomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/Earthcomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Earthcomputer/subscriptions","organizations_url":"https://api.github.com/users/Earthcomputer/orgs","repos_url":"https://api.github.com/users/Earthcomputer/repos","events_url":"https://api.github.com/users/Earthcomputer/events{/privacy}","received_events_url":"https://api.github.com/users/Earthcomputer/received_events","type":"User","site_admin":false},"body":"This PR allows Carpet Mod to load World Edit if the JAR file (and its 3 dependencies) are in the classpath. If WorldEdit classes are found to be in the classpath, the WorldEdit mod will automatically be loaded (though still disabled by default); otherwise carpet mod will still run like normal if no WorldEdit is found in the classpath. I have tested with [WorldEdit-Core 6.1](http://maven.sk89q.com/repo/com/sk89q/worldedit/worldedit-core/6.1/).\r\n\r\nA new carpet rule has been added, `worldEdit`, which when enabled, by default allows users with op permission level 2 to use WorldEdit commands. WorldEdit also has its own built-in permissions system, and you can add lines starting with `permission.` in `worldedit.properties` to change the required permission level for individual WorldEdit commands.\r\n\r\nUnlike WorldEdit's officially supported environments, Bukkit and Spigot, running WorldEdit in this environment is unlikely to have any effect on game mechanics - there is only a minimal number of hooks I had to add and the rest is just additions (e.g. new commands). There is a bridge class in the middle to separate Minecraft/Carpet code from the carpet-WorldEdit interface, due to the fact that WorldEdit classes may not exist at runtime.","created_at":"2018-08-29T18:17:48Z","updated_at":"2018-10-06T14:48:16Z","closed_at":"2018-10-06T14:48:16Z","merged_at":"2018-10-06T14:48:16Z","merge_commit_sha":"eac7bb8077ede2c4781306f6a4684f5a369f19a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gnembon/carpetmod112/pulls/41/commits","review_comments_url":"https://api.github.com/repos/gnembon/carpetmod112/pulls/41/comments","review_comment_url":"https://api.github.com/repos/gnembon/carpetmod112/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gnembon/carpetmod112/issues/41/comments","statuses_url":"https://api.github.com/repos/gnembon/carpetmod112/statuses/f3452355f68972fa4324052d0b7ffb649e39ab83","head":{"label":"Earthcomputer:worldedit_support","ref":"worldedit_support","sha":"f3452355f68972fa4324052d0b7ffb649e39ab83","user":{"login":"Earthcomputer","id":13084089,"node_id":"MDQ6VXNlcjEzMDg0MDg5","avatar_url":"https://avatars0.githubusercontent.com/u/13084089?v=4","gravatar_id":"","url":"https://api.github.com/users/Earthcomputer","html_url":"https://github.com/Earthcomputer","followers_url":"https://api.github.com/users/Earthcomputer/followers","following_url":"https://api.github.com/users/Earthcomputer/following{/other_user}","gists_url":"https://api.github.com/users/Earthcomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/Earthcomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Earthcomputer/subscriptions","organizations_url":"https://api.github.com/users/Earthcomputer/orgs","repos_url":"https://api.github.com/users/Earthcomputer/repos","events_url":"https://api.github.com/users/Earthcomputer/events{/privacy}","received_events_url":"https://api.github.com/users/Earthcomputer/received_events","type":"User","site_admin":false},"repo":{"id":142651857,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2NTE4NTc=","name":"carpetmod","full_name":"Earthcomputer/carpetmod","private":false,"owner":{"login":"Earthcomputer","id":13084089,"node_id":"MDQ6VXNlcjEzMDg0MDg5","avatar_url":"https://avatars0.githubusercontent.com/u/13084089?v=4","gravatar_id":"","url":"https://api.github.com/users/Earthcomputer","html_url":"https://github.com/Earthcomputer","followers_url":"https://api.github.com/users/Earthcomputer/followers","following_url":"https://api.github.com/users/Earthcomputer/following{/other_user}","gists_url":"https://api.github.com/users/Earthcomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/Earthcomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Earthcomputer/subscriptions","organizations_url":"https://api.github.com/users/Earthcomputer/orgs","repos_url":"https://api.github.com/users/Earthcomputer/repos","events_url":"https://api.github.com/users/Earthcomputer/events{/privacy}","received_events_url":"https://api.github.com/users/Earthcomputer/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Earthcomputer/carpetmod","description":null,"fork":true,"url":"https://api.github.com/repos/Earthcomputer/carpetmod","forks_url":"https://api.github.com/repos/Earthcomputer/carpetmod/forks","keys_url":"https://api.github.com/repos/Earthcomputer/carpetmod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Earthcomputer/carpetmod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Earthcomputer/carpetmod/teams","hooks_url":"https://api.github.com/repos/Earthcomputer/carpetmod/hooks","issue_events_url":"https://api.github.com/repos/Earthcomputer/carpetmod/issues/events{/number}","events_url":"https://api.github.com/repos/Earthcomputer/carpetmod/events","assignees_url":"https://api.github.com/repos/Earthcomputer/carpetmod/assignees{/user}","branches_url":"https://api.github.com/repos/Earthcomputer/carpetmod/branches{/branch}","tags_url":"https://api.github.com/repos/Earthcomputer/carpetmod/tags","blobs_url":"https://api.github.com/repos/Earthcomputer/carpetmod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Earthcomputer/carpetmod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Earthcomputer/carpetmod/git/refs{/sha}","trees_url":"https://api.github.com/repos/Earthcomputer/carpetmod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Earthcomputer/carpetmod/statuses/{sha}","languages_url":"https://api.github.com/repos/Earthcomputer/carpetmod/languages","stargazers_url":"https://api.github.com/repos/Earthcomputer/carpetmod/stargazers","contributors_url":"https://api.github.com/repos/Earthcomputer/carpetmod/contributors","subscribers_url":"https://api.github.com/repos/Earthcomputer/carpetmod/subscribers","subscription_url":"https://api.github.com/repos/Earthcomputer/carpetmod/subscription","commits_url":"https://api.github.com/repos/Earthcomputer/carpetmod/commits{/sha}","git_commits_url":"https://api.github.com/repos/Earthcomputer/carpetmod/git/commits{/sha}","comments_url":"https://api.github.com/repos/Earthcomputer/carpetmod/comments{/number}","issue_comment_url":"https://api.github.com/repos/Earthcomputer/carpetmod/issues/comments{/number}","contents_url":"https://api.github.com/repos/Earthcomputer/carpetmod/contents/{+path}","compare_url":"https://api.github.com/repos/Earthcomputer/carpetmod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Earthcomputer/carpetmod/merges","archive_url":"https://api.github.com/repos/Earthcomputer/carpetmod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Earthcomputer/carpetmod/downloads","issues_url":"https://api.github.com/repos/Earthcomputer/carpetmod/issues{/number}","pulls_url":"https://api.github.com/repos/Earthcomputer/carpetmod/pulls{/number}","milestones_url":"https://api.github.com/repos/Earthcomputer/carpetmod/milestones{/number}","notifications_url":"https://api.github.com/repos/Earthcomputer/carpetmod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Earthcomputer/carpetmod/labels{/name}","releases_url":"https://api.github.com/repos/Earthcomputer/carpetmod/releases{/id}","deployments_url":"https://api.github.com/repos/Earthcomputer/carpetmod/deployments","created_at":"2018-07-28T06:07:12Z","updated_at":"2018-10-06T13:56:48Z","pushed_at":"2018-10-06T14:48:04Z","git_url":"git://github.com/Earthcomputer/carpetmod.git","ssh_url":"git@github.com:Earthcomputer/carpetmod.git","clone_url":"https://github.com/Earthcomputer/carpetmod.git","svn_url":"https://github.com/Earthcomputer/carpetmod","homepage":null,"size":591,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"earth_bleeding"}},"base":{"label":"gnembon:staging","ref":"staging","sha":"da715997b026b5579bf404e5e50956aa57dc803b","user":{"login":"gnembon","id":41132274,"node_id":"MDQ6VXNlcjQxMTMyMjc0","avatar_url":"https://avatars0.githubusercontent.com/u/41132274?v=4","gravatar_id":"","url":"https://api.github.com/users/gnembon","html_url":"https://github.com/gnembon","followers_url":"https://api.github.com/users/gnembon/followers","following_url":"https://api.github.com/users/gnembon/following{/other_user}","gists_url":"https://api.github.com/users/gnembon/gists{/gist_id}","starred_url":"https://api.github.com/users/gnembon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnembon/subscriptions","organizations_url":"https://api.github.com/users/gnembon/orgs","repos_url":"https://api.github.com/users/gnembon/repos","events_url":"https://api.github.com/users/gnembon/events{/privacy}","received_events_url":"https://api.github.com/users/gnembon/received_events","type":"User","site_admin":false},"repo":{"id":140645007,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA2NDUwMDc=","name":"carpetmod112","full_name":"gnembon/carpetmod112","private":false,"owner":{"login":"gnembon","id":41132274,"node_id":"MDQ6VXNlcjQxMTMyMjc0","avatar_url":"https://avatars0.githubusercontent.com/u/41132274?v=4","gravatar_id":"","url":"https://api.github.com/users/gnembon","html_url":"https://github.com/gnembon","followers_url":"https://api.github.com/users/gnembon/followers","following_url":"https://api.github.com/users/gnembon/following{/other_user}","gists_url":"https://api.github.com/users/gnembon/gists{/gist_id}","starred_url":"https://api.github.com/users/gnembon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnembon/subscriptions","organizations_url":"https://api.github.com/users/gnembon/orgs","repos_url":"https://api.github.com/users/gnembon/repos","events_url":"https://api.github.com/users/gnembon/events{/privacy}","received_events_url":"https://api.github.com/users/gnembon/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gnembon/carpetmod112","description":null,"fork":false,"url":"https://api.github.com/repos/gnembon/carpetmod112","forks_url":"https://api.github.com/repos/gnembon/carpetmod112/forks","keys_url":"https://api.github.com/repos/gnembon/carpetmod112/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnembon/carpetmod112/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnembon/carpetmod112/teams","hooks_url":"https://api.github.com/repos/gnembon/carpetmod112/hooks","issue_events_url":"https://api.github.com/repos/gnembon/carpetmod112/issues/events{/number}","events_url":"https://api.github.com/repos/gnembon/carpetmod112/events","assignees_url":"https://api.github.com/repos/gnembon/carpetmod112/assignees{/user}","branches_url":"https://api.github.com/repos/gnembon/carpetmod112/branches{/branch}","tags_url":"https://api.github.com/repos/gnembon/carpetmod112/tags","blobs_url":"https://api.github.com/repos/gnembon/carpetmod112/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnembon/carpetmod112/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnembon/carpetmod112/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnembon/carpetmod112/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnembon/carpetmod112/statuses/{sha}","languages_url":"https://api.github.com/repos/gnembon/carpetmod112/languages","stargazers_url":"https://api.github.com/repos/gnembon/carpetmod112/stargazers","contributors_url":"https://api.github.com/repos/gnembon/carpetmod112/contributors","subscribers_url":"https://api.github.com/repos/gnembon/carpetmod112/subscribers","subscription_url":"https://api.github.com/repos/gnembon/carpetmod112/subscription","commits_url":"https://api.github.com/repos/gnembon/carpetmod112/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnembon/carpetmod112/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnembon/carpetmod112/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnembon/carpetmod112/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnembon/carpetmod112/contents/{+path}","compare_url":"https://api.github.com/repos/gnembon/carpetmod112/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnembon/carpetmod112/merges","archive_url":"https://api.github.com/repos/gnembon/carpetmod112/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnembon/carpetmod112/downloads","issues_url":"https://api.github.com/repos/gnembon/carpetmod112/issues{/number}","pulls_url":"https://api.github.com/repos/gnembon/carpetmod112/pulls{/number}","milestones_url":"https://api.github.com/repos/gnembon/carpetmod112/milestones{/number}","notifications_url":"https://api.github.com/repos/gnembon/carpetmod112/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnembon/carpetmod112/labels{/name}","releases_url":"https://api.github.com/repos/gnembon/carpetmod112/releases{/id}","deployments_url":"https://api.github.com/repos/gnembon/carpetmod112/deployments","created_at":"2018-07-12T01:30:07Z","updated_at":"2018-10-06T14:42:56Z","pushed_at":"2018-10-06T14:48:16Z","git_url":"git://github.com/gnembon/carpetmod112.git","ssh_url":"git@github.com:gnembon/carpetmod112.git","clone_url":"https://github.com/gnembon/carpetmod112.git","svn_url":"https://github.com/gnembon/carpetmod112","homepage":null,"size":443,"stargazers_count":32,"watchers_count":32,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":11,"open_issues":5,"watchers":32,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/gnembon/carpetmod112/pulls/41"},"html":{"href":"https://github.com/gnembon/carpetmod112/pull/41"},"issue":{"href":"https://api.github.com/repos/gnembon/carpetmod112/issues/41"},"comments":{"href":"https://api.github.com/repos/gnembon/carpetmod112/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/gnembon/carpetmod112/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/gnembon/carpetmod112/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gnembon/carpetmod112/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/gnembon/carpetmod112/statuses/f3452355f68972fa4324052d0b7ffb649e39ab83"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gnembon","id":41132274,"node_id":"MDQ6VXNlcjQxMTMyMjc0","avatar_url":"https://avatars0.githubusercontent.com/u/41132274?v=4","gravatar_id":"","url":"https://api.github.com/users/gnembon","html_url":"https://github.com/gnembon","followers_url":"https://api.github.com/users/gnembon/followers","following_url":"https://api.github.com/users/gnembon/following{/other_user}","gists_url":"https://api.github.com/users/gnembon/gists{/gist_id}","starred_url":"https://api.github.com/users/gnembon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnembon/subscriptions","organizations_url":"https://api.github.com/users/gnembon/orgs","repos_url":"https://api.github.com/users/gnembon/repos","events_url":"https://api.github.com/users/gnembon/events{/privacy}","received_events_url":"https://api.github.com/users/gnembon/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":11,"additions":2561,"deletions":36,"changed_files":34}}
{"actor":{"display_login":"gnembon"}}