Updated Commands (markdown)

timas130 2019-01-10 17:18:43 +03:00
parent 7057112b02
commit 6f97e58c85

@ -1,129 +1,52 @@
All commands included in Advanced Portals are listed below along with their permission
**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>!
* 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`
**Note:** all /portal commands can also be used with /advancedportals or /aportals instead and all /destination can be used with /desti
</pre>
<a name="wiki-index"></a>
## Contents
* <a href="#portal-commands--top">Portals</a>
* <a href="#destination-commands--top">Destinations</a>
* <a href="#other-commands--top">Other Commands</a>
* <a href="#portal-tags--top">Portal Tags</a>
* [Portals](#portal-commands-top)
* [Destinations](#destination-commands-top)
* [Other Commands](#other-commands-top)
* [Portal Tags](#portal-tags-top)
## Portal Commands <a name="wiki-portal-commands"></a> <a href="#index">(top)</a></h3>
<table width="100%">
<tr>
<th width="35%">Command</td>
<th width="25%">Permission</td>
<th>Description</td>
</tr>
<tr>
<td>Portals help</td>
<td>AdvancedPortals.Help</td>
<td>Display help.</td>
</tr>
<tr>
<td>portal create name:&lt;name&gt; desti:&lt;destination&gt;</td>
<td>advancedportals.createportal</td>
<td>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 actually 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.</td>
</tr>
<tr>
<td>portal selector</td>
<td>advancedportals.createportal</td>
<td>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 to always make portals)</td>
</tr>
<tr>
<td>portal portalblock</td>
<td>advancedportals.createportal</td>
<td>Gives you a portal block that you can build with(if the rotation is wrong place one next to it and then replace it to get the right rotation)</td>
</tr>
<tr>
<td>portal select</td>
<td>advancedportals.createportal</td>
<td>After the command is entered, punch inside a portal region and you will select that portal</td>
</tr>
<tr>
<td>portal remove &lt;name&gt;</td>
<td>advancedportals.removeportal</td>
<td>Enter this command to destroy a portal with a set name. If the argument is left blank it will destroy the currently selected portal.</td>
</tr>
</table>
## Portal Commands [(top)](#Contents)
|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 actually 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 to always make portals)|
|`/portal portalblock`|`advancedportals.createportal`|Gives you a portal block that you can build with(if the rotation is wrong place one next to it and then replace it to get the right rotation)|
|`/portal select`|`advancedportals.createportal`|After the command is entered, punch inside a portal region and you 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 <a name="wiki-destination-commands"></a> <a href="#index">(top)</a></h3>
<table width="100%">
<tr>
<th width="35%">Command</td>
<th width="25%">Permission</td>
<th>Description</td>
</tr>
<tr>
<td>destination create &lt;name&gt;</td>
<td>advancedportals.createportal</td>
<td>This commands creates a new destination with the location data from your player(your player position and direction your facing).</td>
</tr>
</table>
## Other Commands <a name="wiki-other-commands"></a> <a href="#index">(top)</a></h3>
<table width="100%">
<tr>
<th width="35%">Command</td>
<th width="25%">Permission</td>
<th>Description</td>
</tr>
<tr>
<td>awarp &lt;name&gt;</td>
<td>none(will be changed soon)</td>
<td>Display help</td>
</tr>
</table>
## Destination Commands [(top)](#Contents)
|Command|Permission|Description|
|--- |--- |--- |
|`destination create ;`|`advancedportals.createportal`|This commands creates a new destination with the location data from your player(your player position and direction your facing).|
## Portal Tags <a name="wiki-portal-tags"></a> <a href="#index">(top)</a></h3>
Tags to be used in the **/portal create** command
<table width="100%">
<tr>
<th width="35%">Tag</td>
<th width="25%">Example</td>
<th>Description</td>
</tr>
<tr>
<td>name</td>
<td>name:TestPortal</td>
<td>Sets the name for the portal</td>
</tr>
<tr>
<td>destination</td>
<td>destination:spawn</td>
<td>Sets destination of the portal</td>
</tr>
<tr>
<td>desti</td>
<td>desti:TestPortal</td>
<td>Same as destination</td>
</tr>
<tr>
<td>triggerblock</td>
<td>triggerblock:AIR</td>
<td>Sets the material of the trigger block of the portal</td>
</tr>
<tr>
<td>bungee</td>
<td>bungee:Lobby1</td>
<td>Specifies which server to send the player too if connected through bungee</td>
</tr>
<tr>
<td>permission</td>
<td>permission:testingPerms.testportal</td>
<td>Sets what permission you need to use the portal(can be customised to anything)</td>
</tr>
<tr>
<td>command</td>
<td>command:"#say @player is a legend"</td>
<td>Can type whatever command you want, can contain spaces if quote marks are used. If the command starts with '#' the server will execute it and if it starts with '!' the player will execute it with the permissions of an op. And '^' will cause the player to temporarily have all perms. (Check config tags for perms and enabling console and op features as they are disabled by default)</td>
</tr>
</table>
## Other Commands [(top)](#Contents)
|Command|Permission|Description|
|--- |--- |--- |
|`/awarp|none(will be changed soon)|Display help|
## Portal Tags [(top)](#Contents)
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 |
| `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"` | Can type whatever command you want, can contain spaces if quote marks are used. If the command starts with `#` the server will execute it and if it starts with `!` the player will execute it with the permissions of an op. And `^` will cause the player to temporarily have all perms. (Check config tags for perms and enabling console and op features as they are disabled by default) |