Functions
Functions for portals which are (/ will be) available to set:
Destination
The location where the portal points, and where the player will arrive after travel.
- Another portal
Gets the arrive position of the targeted portal, and teleport the player there.
- A given location
Teleports the player to the given coordinates.
- Another portal
Fee
- Money
Takes the entered amount from the player. If the player has not the resources the travel won't happen.
- Item
The player has to click on the portal to power it with the fee items. If the required fee items are in the portal the player will be teleported on entering it and the required fee items will be removed from the portal.
- Money
Permission
Teleports the player only if he has the given permission.
Redstone dependency
The portal needs redstone power to work, so it can be turned on and off with redstone input.
Disguise
Cover the portal with a block and set it as a disguise. The players will arrive (if other location not set) on the top of that item, and will be teleported from there if they enter the disguised portal. The fee items can be added through the disguise block.
Redirected arrive
The player won't arrive on the portal, but instead on the given location.
- Another portal
The player will arrive at the arrive position of another given portal.
- A given location
The player will arrive on the given coordinates.
- Another portal
Mob teleport
The portal teleport entities too, but this needs more resources from the server, so by default this is turned off.
Travel through
When turned on it forces the arriving portal to teleport next to its target. If the target portal has no targeted location then the travel won't happen.
Sneaking
When turned on players won't be teleported upon entering on the portal's active zone unless they start sneaking in it. Walking onto the portal sneaking won't cause teleportation.
The
strikedfunctions are not yet working and under development.
Comments