35 Commands
Sekwah edited this page 2020-11-28 14:23:52 +00:00

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

MORE UP TO DATE DOCUMENTATION CAN BE FOUND HERE

Though while it may be incomplete for now you can find the old documentation here.

Here are some things you should know about the table below!

  • Arguments surrounded with <> are required
  • Arguments surrounded with [] are optional
  • When use the commands, you should not have the <> or [] in front or behind the argument, for example /portal create <name> <destination> will be /portal testportal testdestination and not /portal <testportal> <testdestination>!

Note: all /portal commands can also be used with /advancedportals or /aportals instead and all /destination can be used with /desti

Contents

Portal Commands (top)

Command Permission Description
/portals help advancedportals.help Display help.
/portal create name: desti: advancedportals.createportal This command is used to create a portal and set where it will teleport you to, although you will have to create a destination for the portal to let anyone through! After /portal create you can list the variables for the portal in any order, but you can not have any spaces in variables or between the variable type the string so name:testportal is read ok but name:test portal will make a portal called test and name: testportal will just ignore the name altogether.
/portal selector 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 trying always to make portals)
/portal portalblock advancedportals.createportal 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 disablebeacon (portalname) 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 advancedportals.createportal After the command is entered, punch inside a portal region and it will select that portal
/portal remove 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.

Destination Commands (top)

Command Permission Description
destination create advancedportals.createportal This the command creates a new destination with the location data from your player(your player position and direction your facing).

Other Commands (top)

Command Permission Description
/awarp none(will be changed soon) Display help

Portal Tags (top)

Tags to be used in the /portal create command

Tag Example Description
name name:TestPortal Sets the name for the portal
destination destination:spawn Sets destination of the portal
delayed delayed:true Does the portal use the portal event rather than move
desti desti:TestPortal Same as destination
triggerblock triggerblock:AIR Sets the material of the trigger block of the portal
bungee bungee:Lobby1 Specifies which server to send the player too if connected through bungee
permission permission:testingPerms.testportal Sets what permission you need to use the portal(can be customised to anything)
command command:"#say @player is a legend" 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. If you want to use a command with spaces, make sure to surround it with " quotation marks.

Command Tag Flags (top)

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

Command Arg Effect
! Execute command as op
^ Execute command with * permission
# Execute command as console
% NEW: Send command to bungee