From 46bd2cad6ffd6b1b23a808e58052563841f70d3b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 8 Dec 2024 12:43:50 +0000 Subject: [PATCH] deploy: 4e345296e90d72a0bf3e4a3a0ad520611f989f46 --- 404.html | 4 ++-- assets/js/{477b8f1f.39c13ba5.js => 477b8f1f.cabfb899.js} | 2 +- .../{runtime~main.399e0677.js => runtime~main.08400670.js} | 2 +- docs/commands/index.html | 4 ++-- docs/intro/index.html | 4 ++-- docs/portal-tags/index.html | 6 +++--- docs/worldedit/index.html | 4 ++-- index.html | 4 ++-- markdown-page/index.html | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) rename assets/js/{477b8f1f.39c13ba5.js => 477b8f1f.cabfb899.js} (69%) rename assets/js/{runtime~main.399e0677.js => runtime~main.08400670.js} (98%) diff --git a/404.html b/404.html index 14afc214..df976343 100644 --- a/404.html +++ b/404.html @@ -5,13 +5,13 @@ Page Not Found | Advanced Portals - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/477b8f1f.39c13ba5.js b/assets/js/477b8f1f.cabfb899.js similarity index 69% rename from assets/js/477b8f1f.39c13ba5.js rename to assets/js/477b8f1f.cabfb899.js index 56d23f1e..3578a02a 100644 --- a/assets/js/477b8f1f.39c13ba5.js +++ b/assets/js/477b8f1f.cabfb899.js @@ -1 +1 @@ -"use strict";(self.webpackChunkadvanced_portals_docs=self.webpackChunkadvanced_portals_docs||[]).push([[385],{3905:function(e,t,n){n.d(t,{Zo:function(){return m},kt:function(){return u}});var a=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 r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=a.createContext({}),d=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},m=function(e){var t=d(e.components);return a.createElement(s.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},p=a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,s=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),p=d(n),u=o,h=p["".concat(s,".").concat(u)]||p[u]||c[u]||r;return n?a.createElement(h,i(i({ref:t},m),{},{components:n})):a.createElement(h,i({ref:t},m))}));function u(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,i=new Array(r);i[0]=p;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeof e?e:o,i[1]=l;for(var d=2;dname:(name for portal)",id:"namename-for-portal",children:[],level:3}],level:2},{value:"Available Tags",id:"available-tags",children:[{value:"destination:(destination name) or desti:(destination name)",id:"destinationdestination-name-or-destidestination-name",children:[],level:3},{value:"delayed:true",id:"delayedtrue",children:[],level:3},{value:"triggerblock:(material)",id:"triggerblockmaterial",children:[],level:3},{value:"bungee:(server_name)",id:"bungeeserver_name",children:[],level:3},{value:"message:(word) or message:"(some sentence you want)"",id:"messageword-or-messagesome-sentence-you-want",children:[],level:3},{value:"permission:(some.custom.test.perms)",id:"permissionsomecustomtestperms",children:[],level:3},{value:"command:(command) or command:"(multi-word command)"",id:"commandcommand-or-commandmulti-word-command",children:[],level:3},{value:"Command Tag Flags",id:"command-tag-flags",children:[],level:3}],level:2}],c={toc:m};function p(e){var t=e.components,n=(0,o.Z)(e,i);return(0,r.kt)("wrapper",(0,a.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"portal-tags"},"Portal Tags"),(0,r.kt)("div",{className:"admonition admonition-warning alert alert--danger"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))),"warning")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},(0,r.kt)("strong",{parentName:"p"},"V2.0.0+ / recode info")),(0,r.kt)("p",{parentName:"div"},"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,r.kt)("p",{parentName:"div"},"You can use the ",(0,r.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,r.kt)("p",null,"Below is a list of currently accepted tags for portals. Only the name: tag is necessary though other tags may be needed to give the portal's functionality."),(0,r.kt)("p",null,"Example use: ",(0,r.kt)("inlineCode",{parentName:"p"},"/portal create name:testportal desti:somedesti triggerblock:WATER")),(0,r.kt)("h2",{id:"necessary-tags"},"Necessary Tags"),(0,r.kt)("h3",{id:"namename-for-portal"},(0,r.kt)("inlineCode",{parentName:"h3"},"name:(name for portal)")),(0,r.kt)("p",null,"Sets the name for the portal. These have to be unique across the whole server."),(0,r.kt)("h2",{id:"available-tags"},"Available Tags"),(0,r.kt)("p",null,"These add or alter specific functionality for the portals."),(0,r.kt)("h3",{id:"destinationdestination-name-or-destidestination-name"},(0,r.kt)("inlineCode",{parentName:"h3"},"destination:(destination name)")," or ",(0,r.kt)("inlineCode",{parentName:"h3"},"desti:(destination name)")),(0,r.kt)("p",null,"Sets the desired destination for the portal. If this is defined if the portal is triggered, the player will be teleported to the desired location."),(0,r.kt)("h3",{id:"delayedtrue"},(0,r.kt)("inlineCode",{parentName:"h3"},"delayed:true")),(0,r.kt)("p",null,"The portal uses the portal event rather than movement events. Will trigger with a delay on portal events. While this does the normal delayed behaviour for nether portals (instant if you are in creative), the end portals will trigger instantly anyway as that is normal behaviour for them."),(0,r.kt)("h3",{id:"triggerblockmaterial"},(0,r.kt)("inlineCode",{parentName:"h3"},"triggerblock:(material)")),(0,r.kt)("p",null,"Sets the material of the trigger block of the portal. This is the material that you need to be inside to trigger the portal. Suggestions/Tab complete will work for the names though they are in block caps and use the spigot names "),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html"},"A full list of materials for 1.13+ can be found here")),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://helpch.at/docs/1.12.2/org/bukkit/Material.html"},"And a 1.12 and below list here")),(0,r.kt)("p",null,"The most common types generally used are ",(0,r.kt)("inlineCode",{parentName:"p"},"NETHER_PORTAL"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"END_PORTAL"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"END_GATEWAY")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"WATER")),(0,r.kt)("h3",{id:"bungeeserver_name"},(0,r.kt)("inlineCode",{parentName:"h3"},"bungee:(server_name)")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Note:")," This should work for both bungee and velocity, however make sure you have bungee-plugin-message-channel set to true for it to work on velocity."),(0,r.kt)("p",null,"Specifies which server to send the player too if connected through bungee. It needs to be the same as whatever you would use for ",(0,r.kt)("inlineCode",{parentName:"p"},"/server (server_name)")," to swap manually."),(0,r.kt)("h3",{id:"messageword-or-messagesome-sentence-you-want"},(0,r.kt)("inlineCode",{parentName:"h3"},"message:(word)")," or ",(0,r.kt)("inlineCode",{parentName:"h3"},'message:"(some sentence you want)"')),(0,r.kt)("p",null,"Sets the warp message for the portal. Colour codes can be used e.g. &c is red. ",(0,r.kt)("a",{parentName:"p",href:"https://minecraft.gamepedia.com/Formatting_codes"},"See here for color codes"),"."),(0,r.kt)("h3",{id:"permissionsomecustomtestperms"},(0,r.kt)("inlineCode",{parentName:"h3"},"permission:(some.custom.test.perms)")),(0,r.kt)("p",null,"Sets what permission you need to use the portal(can be customised to anything)"),(0,r.kt)("h3",{id:"commandcommand-or-commandmulti-word-command"},(0,r.kt)("inlineCode",{parentName:"h3"},'command:(command) or command:"(multi-word command)"')),(0,r.kt)("p",null,"Whatever is typed in here the player will execute as a command, there are several flags you can use listed below to alter the execution, however only one can be used at once."),(0,r.kt)("p",null,"You can also use ",(0,r.kt)("inlineCode",{parentName:"p"},"@player")," to place the teleporting user's name into the command."),(0,r.kt)("p",null,"Example: ",(0,r.kt)("inlineCode",{parentName:"p"},'command:"#say @player has triggered a console command portal"')),(0,r.kt)("p",null,"A common request is how to rtp players.\nWe recommend using ",(0,r.kt)("a",{parentName:"p",href:"https://www.spigotmc.org/resources/betterrtp-random-wild-teleport.36081/"},"BetterRTP")," and using the ",(0,r.kt)("inlineCode",{parentName:"p"},"rtp player")," command.\nThis can be specified using the tag ",(0,r.kt)("inlineCode",{parentName:"p"},'command:"#rtp player @player (worldname)"'),". This will automatically insert the player name and run the command in the console."),(0,r.kt)("h3",{id:"command-tag-flags"},"Command Tag Flags"),(0,r.kt)("p",null,"You can only use one of these at the start of a command tag."),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"!")," Execute command as op"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"^")," Execute command with * permission"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"#")," Execute command as console"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"%")," Send command to bungee"))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkadvanced_portals_docs=self.webpackChunkadvanced_portals_docs||[]).push([[385],{3905:function(e,t,n){n.d(t,{Zo:function(){return m},kt:function(){return u}});var a=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 r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=a.createContext({}),d=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},m=function(e){var t=d(e.components);return a.createElement(s.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},p=a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,s=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),p=d(n),u=o,h=p["".concat(s,".").concat(u)]||p[u]||c[u]||r;return n?a.createElement(h,i(i({ref:t},m),{},{components:n})):a.createElement(h,i({ref:t},m))}));function u(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,i=new Array(r);i[0]=p;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeof e?e:o,i[1]=l;for(var d=2;dname:(name for portal)",id:"namename-for-portal",children:[],level:3}],level:2},{value:"Available Tags",id:"available-tags",children:[{value:"destination:(destination name) or desti:(destination name)",id:"destinationdestination-name-or-destidestination-name",children:[],level:3},{value:"delayed:true",id:"delayedtrue",children:[],level:3},{value:"triggerblock:(material)",id:"triggerblockmaterial",children:[],level:3},{value:"bungee:(server_name)",id:"bungeeserver_name",children:[],level:3},{value:"message:(word) or message:"(some sentence you want)"",id:"messageword-or-messagesome-sentence-you-want",children:[],level:3},{value:"permission:(some.custom.test.perms)",id:"permissionsomecustomtestperms",children:[],level:3},{value:"command:(command) or command:"(multi-word command)"",id:"commandcommand-or-commandmulti-word-command",children:[],level:3},{value:"Command Tag Flags",id:"command-tag-flags",children:[],level:3}],level:2}],c={toc:m};function p(e){var t=e.components,n=(0,o.Z)(e,i);return(0,r.kt)("wrapper",(0,a.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"portal-tags"},"Portal Tags"),(0,r.kt)("div",{className:"admonition admonition-warning alert alert--danger"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))),"warning")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},(0,r.kt)("strong",{parentName:"p"},"V2.0.0+ / recode info")),(0,r.kt)("p",{parentName:"div"},"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,r.kt)("p",{parentName:"div"},"You can use the ",(0,r.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,r.kt)("p",null,"Below is a list of currently accepted tags for portals. Only the name: tag is necessary though other tags may be needed to give the portal's functionality."),(0,r.kt)("p",null,"Example use: ",(0,r.kt)("inlineCode",{parentName:"p"},"/portal create name:testportal desti:somedesti triggerblock:WATER")),(0,r.kt)("h2",{id:"necessary-tags"},"Necessary Tags"),(0,r.kt)("h3",{id:"namename-for-portal"},(0,r.kt)("inlineCode",{parentName:"h3"},"name:(name for portal)")),(0,r.kt)("p",null,"Sets the name for the portal. These have to be unique across the whole server."),(0,r.kt)("h2",{id:"available-tags"},"Available Tags"),(0,r.kt)("p",null,"These add or alter specific functionality for the portals."),(0,r.kt)("h3",{id:"destinationdestination-name-or-destidestination-name"},(0,r.kt)("inlineCode",{parentName:"h3"},"destination:(destination name)")," or ",(0,r.kt)("inlineCode",{parentName:"h3"},"desti:(destination name)")),(0,r.kt)("p",null,"Sets the desired destination for the portal. If this is defined if the portal is triggered, the player will be teleported to the desired location."),(0,r.kt)("h3",{id:"delayedtrue"},(0,r.kt)("inlineCode",{parentName:"h3"},"delayed:true")),(0,r.kt)("p",null,"The portal uses the portal event rather than movement events. Will trigger with a delay on portal events. While this does the normal delayed behaviour for nether portals (instant if you are in creative), the end portals will trigger instantly anyway as that is normal behaviour for them."),(0,r.kt)("h3",{id:"triggerblockmaterial"},(0,r.kt)("inlineCode",{parentName:"h3"},"triggerblock:(material)")),(0,r.kt)("p",null,"Sets the material of the trigger block of the portal. This is the material that you need to be inside to trigger the portal. Suggestions/Tab complete will work for the names though they are in block caps and use the spigot names "),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html"},"A full list of materials for 1.13+ can be found here")),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://helpch.at/docs/1.12.2/org/bukkit/Material.html"},"And a 1.12 and below list here")),(0,r.kt)("p",null,"The most common types generally used are ",(0,r.kt)("inlineCode",{parentName:"p"},"NETHER_PORTAL"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"END_PORTAL"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"END_GATEWAY")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"WATER")),(0,r.kt)("h3",{id:"bungeeserver_name"},(0,r.kt)("inlineCode",{parentName:"h3"},"bungee:(server_name)")),(0,r.kt)("div",{className:"admonition admonition-note alert alert--secondary"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))),"note")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"This should work for both bungee and velocity, however make sure you have bungee-plugin-message-channel set to true for it to work on velocity."))),(0,r.kt)("p",null,"Specifies which server to send the player too if connected through bungee. It needs to be the same as whatever you would use for ",(0,r.kt)("inlineCode",{parentName:"p"},"/server (server_name)")," to swap manually."),(0,r.kt)("h3",{id:"messageword-or-messagesome-sentence-you-want"},(0,r.kt)("inlineCode",{parentName:"h3"},"message:(word)")," or ",(0,r.kt)("inlineCode",{parentName:"h3"},'message:"(some sentence you want)"')),(0,r.kt)("p",null,"Sets the warp message for the portal. Colour codes can be used e.g. &c is red. ",(0,r.kt)("a",{parentName:"p",href:"https://minecraft.gamepedia.com/Formatting_codes"},"See here for color codes"),"."),(0,r.kt)("h3",{id:"permissionsomecustomtestperms"},(0,r.kt)("inlineCode",{parentName:"h3"},"permission:(some.custom.test.perms)")),(0,r.kt)("p",null,"Sets what permission you need to use the portal(can be customised to anything)"),(0,r.kt)("h3",{id:"commandcommand-or-commandmulti-word-command"},(0,r.kt)("inlineCode",{parentName:"h3"},'command:(command) or command:"(multi-word command)"')),(0,r.kt)("p",null,"Whatever is typed in here the player will execute as a command, there are several flags you can use listed below to alter the execution, however only one can be used at once."),(0,r.kt)("p",null,"You can also use ",(0,r.kt)("inlineCode",{parentName:"p"},"@player")," to place the teleporting user's name into the command."),(0,r.kt)("p",null,"Example: ",(0,r.kt)("inlineCode",{parentName:"p"},'command:"#say @player has triggered a console command portal"')),(0,r.kt)("p",null,"A common request is how to rtp players.\nWe recommend using ",(0,r.kt)("a",{parentName:"p",href:"https://www.spigotmc.org/resources/betterrtp-random-wild-teleport.36081/"},"BetterRTP")," and using the ",(0,r.kt)("inlineCode",{parentName:"p"},"rtp player")," command.\nThis can be specified using the tag ",(0,r.kt)("inlineCode",{parentName:"p"},'command:"#rtp player @player (worldname)"'),". This will automatically insert the player name and run the command in the console."),(0,r.kt)("h3",{id:"command-tag-flags"},"Command Tag Flags"),(0,r.kt)("p",null,"You can only use one of these at the start of a command tag."),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"!")," Execute command as op"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"^")," Execute command with * permission"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"#")," Execute command as console"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"%")," Send command to bungee"))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.399e0677.js b/assets/js/runtime~main.08400670.js similarity index 98% rename from assets/js/runtime~main.399e0677.js rename to assets/js/runtime~main.08400670.js index e826cb1d..b5ec018f 100644 --- a/assets/js/runtime~main.399e0677.js +++ b/assets/js/runtime~main.08400670.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u={},f={};function i(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={id:e,loaded:!1,exports:{}};return u[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=u,i.c=f,e=[],i.O=function(t,n,r,o){if(!n){var u=1/0;for(d=0;d=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[a])}))?n.splice(a--,1):(f=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var f=2&r&&e;"object"==typeof f&&!~t.indexOf(f);f=n(f))Object.getOwnPropertyNames(f).forEach((function(t){u[t]=function(){return e[t]}}));return u.default=function(){return e},i.d(o,u),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"assets/js/"+({53:"935f2afb",85:"1f391b9e",195:"c4f5d8e4",385:"477b8f1f",414:"393be207",514:"1be78505",671:"0e384e19",795:"fe7434b3",918:"17896441",997:"3c2472dd"}[e]||e)+"."+{53:"f4b9fcd4",85:"a0d307ad",195:"118fcb12",385:"39c13ba5",414:"6301cdd5",514:"d506ae26",608:"c1399b97",671:"8d75bcda",795:"da6f6811",829:"a7da2716",918:"d723bea9",997:"cc06daa0"}[e]+".js"},i.miniCssF=function(e){return"assets/css/styles.48ccaa5b.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="advanced-portals-docs:",i.l=function(e,t,n,u){if(r[e])r[e].push(t);else{var f,a;if(void 0!==n)for(var c=document.getElementsByTagName("script"),d=0;d=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[a])}))?n.splice(a--,1):(f=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var f=2&r&&e;"object"==typeof f&&!~t.indexOf(f);f=n(f))Object.getOwnPropertyNames(f).forEach((function(t){u[t]=function(){return e[t]}}));return u.default=function(){return e},i.d(o,u),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"assets/js/"+({53:"935f2afb",85:"1f391b9e",195:"c4f5d8e4",385:"477b8f1f",414:"393be207",514:"1be78505",671:"0e384e19",795:"fe7434b3",918:"17896441",997:"3c2472dd"}[e]||e)+"."+{53:"f4b9fcd4",85:"a0d307ad",195:"118fcb12",385:"cabfb899",414:"6301cdd5",514:"d506ae26",608:"c1399b97",671:"8d75bcda",795:"da6f6811",829:"a7da2716",918:"d723bea9",997:"cc06daa0"}[e]+".js"},i.miniCssF=function(e){return"assets/css/styles.48ccaa5b.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="advanced-portals-docs:",i.l=function(e,t,n,u){if(r[e])r[e].push(t);else{var f,a;if(void 0!==n)for(var c=document.getElementsByTagName("script"),d=0;d Commands | Advanced Portals - +

Commands

warning

V2.0.0+ / recode info

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. The documentation will be updated soon.

You can use the /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.

All commands included in Advanced Portals are listed below along with their permissions.

Note: all /portal commands can also be used with /advancedportals or /aportals instead.

Same goes for all /destination commands can be used with /desti

Also if you want blocks such as nether portals not to break when being placed you will need to define the portal before placing them. This is so the physics updates know not to mess with vanilla portals being broken or other plugins :)

Portal Command

Usable Alias: /portal /ap /portals /aportal /advancedportals

/portal create (tags...)

Permission: advancedportals.portal

This command is used to create a portal. The behaviour of the portal can be determined by the tags given (see list below), but a name must tag must always be given name:some_name_here

As a side note, make sure to check the triggerblock: has been set if you are not using nether portal blocks. These are blocks that you need to be INSIDE so blocks such as water and even cobwebs will work, but cobblestone will not be a suitable triggerblock.

For a list of tags and info, check out the tags page.

/portal selector or /portal wand

Permission: advancedportals.createportal

This gives you the mighty portal axe, if UseOnlyServerMadeAxe is true then this one will still work, but the normal iron axe will still be available to be used in survival for admins. (instead of always trying to make portals)

/portal portalblock

Permission: advancedportals.portal

Gives you a portal block that you can build with. (If the rotation is in the wrong place one next to it and then replace it to get the right rotation)

/portal endportalblock

Permission: advancedportals.portal

Gives you an end portal block that you can build with.

/portal gatewayblock

Permission: advancedportals.portal

Gives you an end gateway block that you can build with.

/portal disablebeacon (portalname)

Permission: advancedportals.build

Needs DisableGatewayBeam to be set to true in the config. Though also triggers on create or chunk load. This is just a backup method.

/portal select

Permission: advancedportals.createportal

After the command is entered, punch inside a portal region, and it will select that portal.

/portal unselect

Permission: advancedportals.createportal

Use to remove the current portal selection. (as it can mess with certain commands)

/portal remove

Permission: advancedportals.removeportal

Enter this command to destroy a portal with a set name. If the argument is left blank, it will destroy the currently selected portal.

/portal help

Displays the help message.

Destination Command

Usable Alias: /desti /destination

Permission (applies to all): advancedportals.desti

/desti create

This the command creates a new destination with the location data from your player (your player position and direction your facing).

/desti remove

Remove a destination with a specific name. (portals will still attempt to warp to this name but say no destination exists)

/desti list

A list of created destinations.

/desti warp (desti name)

Teleport to the named destination.

- + \ No newline at end of file diff --git a/docs/intro/index.html b/docs/intro/index.html index 76321e85..f76bc843 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -5,14 +5,14 @@ Tutorial Intro | Advanced Portals - +

Tutorial Intro

warning

V2.0.0+ / recode info

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. The documentation will be updated soon.

You can use the /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.

Here is a YouTube video made by LtJim007 explaining the basics.

In summary: you can create destinations for your portals with /desti, and create portals to them with /portal create (tags...). You will need to provide a trigger element for your portals, for example water / lava / nether swirls, and replace the inside of your portal with it for the portal to function.

Here's a step by step guide.

  1. Create your fancy portal in a standard Minecraft fashion. Leave the portion where the portal itself will be empty.

  2. Go to the location you want your portal to transport players to. Run /desti create name-of-destination.

  3. Go back to your portal. Take an iron axe (the special portal tool, by default: configurable). Left-click in the upper left of the portal, and right-click in the bottom right of the portal.

  4. Run /portal create name:name-of-your-portal desti:name-of-destination triggerblock:name-of-trigger-element. This is a basic example - more options can be found on the tags page.

  5. Replace the empty air in your portal with your trigger element by running /fill bottom-right-coords upper-right-coords trigger-element. The coordinates should have shown up in chat when you left-and-right-clicked with the iron axe.

  • If your portal isn't rectangular: try /filling the area with glass or another block, breaking the glass in the shape of the portal, and then /fill the area again with your transportation trigger block. Then break the remaining glass.

If you mess up, you can run /desti remove name-of-destination and /portal remove name-of-portal to remove a destination and a portal, respectively.

- + \ No newline at end of file diff --git a/docs/portal-tags/index.html b/docs/portal-tags/index.html index 587948b0..a5573611 100644 --- a/docs/portal-tags/index.html +++ b/docs/portal-tags/index.html @@ -5,16 +5,16 @@ Portal Tags | Advanced Portals - +

Portal Tags

warning

V2.0.0+ / recode info

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. -The documentation will be updated soon.

You can use the /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.

Below is a list of currently accepted tags for portals. Only the name: tag is necessary though other tags may be needed to give the portal's functionality.

Example use: /portal create name:testportal desti:somedesti triggerblock:WATER

Necessary Tags

name:(name for portal)

Sets the name for the portal. These have to be unique across the whole server.

Available Tags

These add or alter specific functionality for the portals.

destination:(destination name) or desti:(destination name)

Sets the desired destination for the portal. If this is defined if the portal is triggered, the player will be teleported to the desired location.

delayed:true

The portal uses the portal event rather than movement events. Will trigger with a delay on portal events. While this does the normal delayed behaviour for nether portals (instant if you are in creative), the end portals will trigger instantly anyway as that is normal behaviour for them.

triggerblock:(material)

Sets the material of the trigger block of the portal. This is the material that you need to be inside to trigger the portal. Suggestions/Tab complete will work for the names though they are in block caps and use the spigot names

A full list of materials for 1.13+ can be found here

And a 1.12 and below list here

The most common types generally used are NETHER_PORTAL, END_PORTAL, END_GATEWAY and WATER

bungee:(server_name)

Note: This should work for both bungee and velocity, however make sure you have bungee-plugin-message-channel set to true for it to work on velocity.

Specifies which server to send the player too if connected through bungee. It needs to be the same as whatever you would use for /server (server_name) to swap manually.

message:(word) or message:"(some sentence you want)"

Sets the warp message for the portal. Colour codes can be used e.g. &c is red. See here for color codes.

permission:(some.custom.test.perms)

Sets what permission you need to use the portal(can be customised to anything)

command:(command) or command:"(multi-word command)"

Whatever is typed in here the player will execute as a command, there are several flags you can use listed below to alter the execution, however only one can be used at once.

You can also use @player to place the teleporting user's name into the command.

Example: command:"#say @player has triggered a console command portal"

A common request is how to rtp players. +The documentation will be updated soon.

You can use the /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.

Below is a list of currently accepted tags for portals. Only the name: tag is necessary though other tags may be needed to give the portal's functionality.

Example use: /portal create name:testportal desti:somedesti triggerblock:WATER

Necessary Tags

name:(name for portal)

Sets the name for the portal. These have to be unique across the whole server.

Available Tags

These add or alter specific functionality for the portals.

destination:(destination name) or desti:(destination name)

Sets the desired destination for the portal. If this is defined if the portal is triggered, the player will be teleported to the desired location.

delayed:true

The portal uses the portal event rather than movement events. Will trigger with a delay on portal events. While this does the normal delayed behaviour for nether portals (instant if you are in creative), the end portals will trigger instantly anyway as that is normal behaviour for them.

triggerblock:(material)

Sets the material of the trigger block of the portal. This is the material that you need to be inside to trigger the portal. Suggestions/Tab complete will work for the names though they are in block caps and use the spigot names

A full list of materials for 1.13+ can be found here

And a 1.12 and below list here

The most common types generally used are NETHER_PORTAL, END_PORTAL, END_GATEWAY and WATER

bungee:(server_name)

note

This should work for both bungee and velocity, however make sure you have bungee-plugin-message-channel set to true for it to work on velocity.

Specifies which server to send the player too if connected through bungee. It needs to be the same as whatever you would use for /server (server_name) to swap manually.

message:(word) or message:"(some sentence you want)"

Sets the warp message for the portal. Colour codes can be used e.g. &c is red. See here for color codes.

permission:(some.custom.test.perms)

Sets what permission you need to use the portal(can be customised to anything)

command:(command) or command:"(multi-word command)"

Whatever is typed in here the player will execute as a command, there are several flags you can use listed below to alter the execution, however only one can be used at once.

You can also use @player to place the teleporting user's name into the command.

Example: command:"#say @player has triggered a console command portal"

A common request is how to rtp players. We recommend using BetterRTP and using the rtp player command. This can be specified using the tag command:"#rtp player @player (worldname)". This will automatically insert the player name and run the command in the console.

Command Tag Flags

You can only use one of these at the start of a command tag.

! Execute command as op

^ Execute command with * permission

# Execute command as console

% Send command to bungee

- + \ No newline at end of file diff --git a/docs/worldedit/index.html b/docs/worldedit/index.html index 40a50944..710544da 100644 --- a/docs/worldedit/index.html +++ b/docs/worldedit/index.html @@ -5,7 +5,7 @@ WorldEdit Integration | Advanced Portals - + @@ -13,7 +13,7 @@

WorldEdit Integration

warning

V2.0.0+ / recode info

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. The documentation will be updated soon.

You can use the /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.

This feature is completely missing from the recode currently, and will be added back in the future.

You can configure AdvancedPortals to use WorldEdit instead of the Selection Tool from AdvancedPortals.

To enable the integration (add and) set the config option WorldEditIntegration to "true".

This will disable the commands /portal wand (or /portal selector) and will use cuboid selections from WorldEdit instead.

Additional Commands

Select Portal as WorldEdit selection

You can use /portal we-selection with a portal name to select the portal as cuboid worldedit selection. This command becomes available when WorldEdit is installed.

- + \ No newline at end of file diff --git a/index.html b/index.html index 998a946f..5bfef420 100644 --- a/index.html +++ b/index.html @@ -5,13 +5,13 @@ Home | Advanced Portals - +

Advanced Portals

An advanced portals plugin for bukkit

Easy to Use

Advanced Portals was designed from the ground up to be easily set up yet still allow for detailed customization.

Customisable Tags

Using the tag system, portals will explicitly do what you ask. Only include the tags you want/need to customise portals.

Proxy Support

Forks of Bungee and Velocity can be used with support for both modern and legacy forwarding.

- + \ No newline at end of file diff --git a/markdown-page/index.html b/markdown-page/index.html index b90fe656..f2ce6fc9 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,13 +5,13 @@ Markdown page example | Advanced Portals - +

Markdown page example

You don't need React to write simple standalone pages.

- + \ No newline at end of file