mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-03-11 06:14:29 +01:00
1 line
4.6 KiB
JavaScript
1 line
4.6 KiB
JavaScript
"use strict";(self.webpackChunkadvanced_portals_docs=self.webpackChunkadvanced_portals_docs||[]).push([[795],{3905:function(e,t,n){n.d(t,{Zo:function(){return s},kt:function(){return f}});var r=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=r.createContext({}),c=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},s=function(e){var t=c(e.components);return r.createElement(d.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},p=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,d=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=c(n),f=o,m=p["".concat(d,".").concat(f)]||p[f]||u[f]||i;return n?r.createElement(m,a(a({ref:t},s),{},{components:n})):r.createElement(m,a({ref:t},s))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,a=new Array(i);a[0]=p;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:o,a[1]=l;for(var c=2;c<i;c++)a[c]=n[c];return r.createElement.apply(null,a)}return r.createElement.apply(null,n)}p.displayName="MDXCreateElement"},8805:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){return l},contentTitle:function(){return d},metadata:function(){return c},toc:function(){return s},default:function(){return p}});var r=n(7462),o=n(3366),i=(n(7294),n(3905)),a=["components"],l={sidebar_position:3,description:"Information on the optional WorldEdit integration in Advanced Portals, including usage and configuration"},d="WorldEdit Integration",c={unversionedId:"worldedit",id:"worldedit",title:"WorldEdit Integration",description:"Information on the optional WorldEdit integration in Advanced Portals, including usage and configuration",source:"@site/docs/worldedit.md",sourceDirName:".",slug:"/worldedit",permalink:"/docs/worldedit",editUrl:"https://github.com/sekwah41/Advanced-Portals/edit/website/docs/worldedit.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3,description:"Information on the optional WorldEdit integration in Advanced Portals, including usage and configuration"},sidebar:"tutorialSidebar",previous:{title:"Portal Tags",permalink:"/docs/portal-tags"}},s=[{value:"Additional Commands",id:"additional-commands",children:[{value:"Select Portal as WorldEdit selection",id:"select-portal-as-worldedit-selection",children:[],level:3}],level:2}],u={toc:s};function p(e){var t=e.components,n=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,r.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"worldedit-integration"},"WorldEdit Integration"),(0,i.kt)("p",null,"You can configure AdvancedPortals to use WorldEdit instead of the Selection Tool from AdvancedPortals."),(0,i.kt)("p",null,"To enable the integration (add and) set the config option ",(0,i.kt)("inlineCode",{parentName:"p"},"WorldEditIntegration"),' to "true".'),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"This will disable the commands ",(0,i.kt)("inlineCode",{parentName:"strong"},"/portal wand")," (or ",(0,i.kt)("inlineCode",{parentName:"strong"},"/portal selector"),") and will use cuboid selections from WorldEdit instead.")),(0,i.kt)("h2",{id:"additional-commands"},"Additional Commands"),(0,i.kt)("h3",{id:"select-portal-as-worldedit-selection"},"Select Portal as WorldEdit selection"),(0,i.kt)("p",null,"You can use ",(0,i.kt)("inlineCode",{parentName:"p"},"/portal we-selection")," with a portal name to select the portal as cuboid worldedit selection.\nThis command becomes available when WorldEdit is installed."))}p.isMDXComponent=!0}}]); |