Advanced-Portals/assets/js/fe7434b3.db62810a.js
github-actions[bot] 092d33dc22 deploy: d6a4243068
2024-12-08 12:40:54 +00:00

1 line
5.3 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 m}});var o=n(7294);function r(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}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){r(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,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=o.createContext({}),c=function(e){var t=o.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 o.createElement(d.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},p=o.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=c(n),m=r,f=p["".concat(d,".").concat(m)]||p[m]||u[m]||i;return n?o.createElement(f,a(a({ref:t},s),{},{components:n})):o.createElement(f,a({ref:t},s))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){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:r,a[1]=l;for(var c=2;c<i;c++)a[c]=n[c];return o.createElement.apply(null,a)}return o.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 o=n(7462),r=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,r.Z)(e,a);return(0,i.kt)("wrapper",(0,o.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"worldedit-integration"},"WorldEdit Integration"),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"V2.0.0+ / recode info")),(0,i.kt)("p",null,"The current documentation is related to versions below 2.0.0. While most should apply to the latest version, some features may have changed or be missing.\nThe documentation will be updated soon."),(0,i.kt)("p",null,"You can use the ",(0,i.kt)("inlineCode",{parentName:"p"},"/portals convert")," command to port your portals to the latest version. Do not worry. The original data will not be deleted, and you can revert to older versions if you run into problems."),(0,i.kt)("p",null,"This feature is completely missing from the recode currently, and will be added back in the future."),(0,i.kt)("p",null,":::"),(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}}]);