From ec4512021ccdc3338aadf48d6f91caf5bf2bdedb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 22:55:22 +0000 Subject: [PATCH] deploy: c50a1a9e1090daa96912b9c9bd48eaf661daf105 --- 404.html | 4 ++-- assets/js/477b8f1f.23c280d3.js | 1 + assets/js/477b8f1f.374b8962.js | 1 - assets/js/runtime~main.7e90847f.js | 1 - assets/js/runtime~main.89032d1a.js | 1 + 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 ++-- 11 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 assets/js/477b8f1f.23c280d3.js delete mode 100644 assets/js/477b8f1f.374b8962.js delete mode 100644 assets/js/runtime~main.7e90847f.js create mode 100644 assets/js/runtime~main.89032d1a.js diff --git a/404.html b/404.html index 4e1106be..fc1ee990 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.23c280d3.js b/assets/js/477b8f1f.23c280d3.js new file mode 100644 index 00000000..d9c595d1 --- /dev/null +++ b/assets/js/477b8f1f.23c280d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadvanced_portals_docs=self.webpackChunkadvanced_portals_docs||[]).push([[385],{3905:function(e,t,n){n.d(t,{Zo:function(){return p},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},p=function(e){var t=d(e.components);return a.createElement(s.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=d(n),u=o,h=c["".concat(s,".").concat(u)]||c[u]||m[u]||r;return n?a.createElement(h,i(i({ref:t},p),{},{components:n})):a.createElement(h,i({ref:t},p))}));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]=c;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:"portalEvent:true",id:"portaleventtrue",children:[],level:3},{value:"triggerblock:(material)",id:"triggerblockmaterial",children:[],level:3},{value:"bungee:(server_name)",id:"bungeeserver_name",children:[],level:3},{value:"proxy:(server_name)",id:"proxyserver_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:"cooldown:(time in seconds)",id:"cooldowntime-in-seconds",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},{value:"conditions:(comparison)",id:"conditionscomparison",children:[],level:3}],level:2}],m={toc:p};function c(e){var t=e.components,n=(0,o.Z)(e,i);return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"portal-tags"},"Portal Tags"),(0,r.kt)("div",{className:"admonition admonition-info alert alert--info"},(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:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(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 re-code should detect that you have the old data and create copies in the new format, however you will need to re-do the config."),(0,r.kt)("p",{parentName:"div"},"If the portals to not import for any reason, you can manually trigger the import by running ",(0,r.kt)("inlineCode",{parentName:"p"},"/portals import"),"."),(0,r.kt)("p",{parentName:"div"},"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:"portaleventtrue"},(0,r.kt)("inlineCode",{parentName:"h3"},"portalEvent:true")),(0,r.kt)("p",null,"Alias: ",(0,r.kt)("inlineCode",{parentName:"p"},"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:"proxyserver_name"},(0,r.kt)("inlineCode",{parentName:"h3"},"proxy:(server_name)")),(0,r.kt)("p",null,"This uses the proxy plugin to communicate so does not require on the bungee channel. This also allows for the use of desti: along with the proxy tag to teleport to a destination on another server."),(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:"cooldowntime-in-seconds"},(0,r.kt)("inlineCode",{parentName:"h3"},"cooldown:(time in seconds)")),(0,r.kt)("p",null,"Sets the cooldown for that specific portal in seconds. This is per player and stored between logins so can be used set long delays."),(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 the proxy (requires the proxy plugin to be installed)"),(0,r.kt)("h3",{id:"conditionscomparison"},(0,r.kt)("inlineCode",{parentName:"h3"},"conditions:(comparison)")),(0,r.kt)("p",null,"For this tag you must have the ",(0,r.kt)("a",{parentName:"p",href:"https://www.spigotmc.org/resources/placeholderapi.6245/"},"placeholder api")," installed."),(0,r.kt)("p",null,"Example: ",(0,r.kt)("inlineCode",{parentName:"p"},"conditions:%player_food_level%>=5")),(0,r.kt)("p",null,"There are three kinds of comparisons that can be made: boolean, string and numeric."),(0,r.kt)("p",null,"If both sides are numeric, then you can use the following operators: ",(0,r.kt)("inlineCode",{parentName:"p"},"=="),", ",(0,r.kt)("inlineCode",{parentName:"p"},"<"),", ",(0,r.kt)("inlineCode",{parentName:"p"},">"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"<="),", ",(0,r.kt)("inlineCode",{parentName:"p"},">="),". Otherwise, an equal comparison will be made to check if both sides are the same."),(0,r.kt)("p",null,"You can find a list of placeholders ",(0,r.kt)("a",{parentName:"p",href:"https://wiki.placeholderapi.com/users/placeholder-list/"},"here"),". However, some plugins may add their own custom placeholders, so that may not be all of them."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/477b8f1f.374b8962.js b/assets/js/477b8f1f.374b8962.js deleted file mode 100644 index a3af06c7..00000000 --- a/assets/js/477b8f1f.374b8962.js +++ /dev/null @@ -1 +0,0 @@ -"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:"portalEvent:true",id:"portaleventtrue",children:[],level:3},{value:"triggerblock:(material)",id:"triggerblockmaterial",children:[],level:3},{value:"bungee:(server_name)",id:"bungeeserver_name",children:[],level:3},{value:"proxy:(server_name)",id:"proxyserver_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:"cooldown:(time in seconds)",id:"cooldowntime-in-seconds",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-info alert alert--info"},(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:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(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 re-code should detect that you have the old data and create copies in the new format, however you will need to re-do the config."),(0,r.kt)("p",{parentName:"div"},"If the portals to not import for any reason, you can manually trigger the import by running ",(0,r.kt)("inlineCode",{parentName:"p"},"/portals import"),"."),(0,r.kt)("p",{parentName:"div"},"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:"portaleventtrue"},(0,r.kt)("inlineCode",{parentName:"h3"},"portalEvent:true")),(0,r.kt)("p",null,"Alias: ",(0,r.kt)("inlineCode",{parentName:"p"},"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:"proxyserver_name"},(0,r.kt)("inlineCode",{parentName:"h3"},"proxy:(server_name)")),(0,r.kt)("p",null,"This uses the proxy plugin to communicate so does not require on the bungee channel. This also allows for the use of desti: along with the proxy tag to teleport to a destination on another server."),(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:"cooldowntime-in-seconds"},(0,r.kt)("inlineCode",{parentName:"h3"},"cooldown:(time in seconds)")),(0,r.kt)("p",null,"Sets the cooldown for that specific portal in seconds. This is per player and stored between logins so can be used set long delays."),(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 the proxy (requires the proxy plugin to be installed)"))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.7e90847f.js b/assets/js/runtime~main.7e90847f.js deleted file mode 100644 index d003eb84..00000000 --- a/assets/js/runtime~main.7e90847f.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e,t,n,r,o,u={},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return u[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=u,a.c=i,e=[],a.O=function(t,n,r,o){if(!n){var u=1/0;for(d=0;d=o)&&Object.keys(a.O).every((function(e){return a.O[e](n[f])}))?n.splice(f--,1):(i=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.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);a.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach((function(t){u[t]=function(){return e[t]}}));return u.default=function(){return e},a.d(o,u),o},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.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:"374b8962",414:"6301cdd5",514:"d506ae26",608:"c1399b97",671:"12fe829c",795:"57ab85fd",829:"a7da2716",918:"d723bea9",997:"25e25681"}[e]+".js"},a.miniCssF=function(e){return"assets/css/styles.48ccaa5b.css"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="advanced-portals-docs:",a.l=function(e,t,n,u){if(r[e])r[e].push(t);else{var i,f;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[f])}))?n.splice(f--,1):(a=!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 a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).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:"23c280d3",414:"6301cdd5",514:"d506ae26",608:"c1399b97",671:"12fe829c",795:"57ab85fd",829:"a7da2716",918:"d723bea9",997:"25e25681"}[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 a,f;if(void 0!==n)for(var c=document.getElementsByTagName("script"),d=0;d Commands | Advanced Portals - +

Commands

info

V2.0.0+ / recode info

The re-code should detect that you have the old data and create copies in the new format, however you will need to re-do the config.

If the portals to not import for any reason, you can manually trigger the import by running /portals import.

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.create

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.portal.selector

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.create

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.create

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

/portal gatewayblock

Permission: advancedportals.portal.create

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

/portal disablebeacon (portalname)

Permission: advancedportals.portal.disable_beacon

Disable the end gateway blocks in the area of the portal. This should persist even after the chunk has reloaded.

/portal import

Permission: advancedportals.portal.import

Imports portals and destinations from the old format. This will not overwrite any existing portals and destinations with the same name, however all common config values will be overwritten.

/portal langupdate

Permission: advancedportals.portal.lang_update

Updates the language files with the latest strings. This will not overwrite any custom strings you have added though will add new translation keys to the end of the file.

If you want to reset it back to the default file you can enter /portal langupdate overwrite

/portal reload

Permission: advancedportals.portal.reload

This will reload all the portal, destination and config data. Though some config values may need a server restart/full plugin reload.

/portal show

Permission: advancedportals.portal.show

This will visualise nearby portals with particles as well as the current selection region.

Portal particle visualisation

/portal remove

Permission: advancedportals.portal.remove

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.

/portal version

Returns the current version of the plugin

Destination Command

Usable Alias: /desti /destination

Permission (applies to all): advancedportals.desti

/desti create

Permission: advancedportals.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

Permission: advancedportals.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

Permission: advancedportals.desti.list

A list of created destinations.

/desti show

Permission: advancedportals.desti.show

This will visualise the surrounding destinations with an arrow shaped particle formation. The arrows are roughly positioned at the player head height for the default player size.

Arrow shaped particle formation

/desti tp (desti name)

Permission: advancedportals.desti.teleport

Teleport to the named destination.

- + \ No newline at end of file diff --git a/docs/intro/index.html b/docs/intro/index.html index 4e5d731b..74f18e6f 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -5,13 +5,13 @@ Tutorial Intro | Advanced Portals - +

Tutorial Intro

info

V2.0.0+ / recode info

The re-code should detect that you have the old data and create copies in the new format, however you will need to re-do the config.

If the portals to not import for any reason, you can manually trigger the import by running /portals import.

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.

info

The video is for older versions so if you are using 2.0.0+ and a command does not work, please refer to the commands page for the latest information.

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.

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 2aa93ad9..1a9fa8ff 100644 --- a/docs/portal-tags/index.html +++ b/docs/portal-tags/index.html @@ -5,15 +5,15 @@ Portal Tags | Advanced Portals - +

Portal Tags

info

V2.0.0+ / recode info

The re-code should detect that you have the old data and create copies in the new format, however you will need to re-do the config.

If the portals to not import for any reason, you can manually trigger the import by running /portals import.

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.

portalEvent:true

Alias: 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.

proxy:(server_name)

This uses the proxy plugin to communicate so does not require on the bungee channel. This also allows for the use of desti: along with the proxy tag to teleport to a destination on another server.

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)

cooldown:(time in seconds)

Sets the cooldown for that specific portal in seconds. This is per player and stored between logins so can be used set long delays.

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 the proxy (requires the proxy plugin to be installed)

- +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 the proxy (requires the proxy plugin to be installed)

conditions:(comparison)

For this tag you must have the placeholder api installed.

Example: conditions:%player_food_level%>=5

There are three kinds of comparisons that can be made: boolean, string and numeric.

If both sides are numeric, then you can use the following operators: ==, <, >, <=, >=. Otherwise, an equal comparison will be made to check if both sides are the same.

You can find a list of placeholders here. However, some plugins may add their own custom placeholders, so that may not be all of them.

+ \ No newline at end of file diff --git a/docs/worldedit/index.html b/docs/worldedit/index.html index ee450401..7eccb2da 100644 --- a/docs/worldedit/index.html +++ b/docs/worldedit/index.html @@ -5,14 +5,14 @@ WorldEdit Integration | Advanced Portals - +

WorldEdit Integration

info

V2.0.0+ / recode info

The re-code should detect that you have the old data and create copies in the new format, however you will need to re-do the config.

If the portals to not import for any reason, you can manually trigger the import by running /portals import.

Do not worry. The original data will not be deleted, and you can revert to older versions if you run into problems.

warning

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 50fb97d9..3e850db2 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 7de9664a..b760064c 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