Difference between revisions of "MyWorlds/Portals"

From BergerHealer Wiki
Jump to navigation Jump to search
m (1 revision imported)
Line 1: Line 1:
 
[[MyWorlds|« Go back]]
 
[[MyWorlds|« Go back]]
  
MyWorlds features a portal system to teleport players from one place to the other. If you want to remove a portal you lost, you can remove the saved portal data from:
+
[[Image:myworlds_portals_examples.png|thumb|right|Several types of portals on display]]
  
root\plugins\My Worlds\portals.txt
+
== Introduction ==
There portals are listed with their position.
+
Besides commands, this plugin comes with the simplest cross-world teleportation solution: Actual portals. Walk from world to world simply, by walking into a portal. To make a portal, all you have to do is place a [portal] sign nearby a block structure that looks like a portal.
  
==Introduction==
+
There are three types of portals to choose from:
Besides commands, this plugin comes with the simplest cross-world teleportation solution: Actual portals. Walk from world to world simply, by walking into a portal. It features both walking into Portal blocks and Water streams. To make a portal, all you have to do is make a sign and place a portal block nearby.
+
* Nether portals
 +
* End portals
 +
* Water portals
  
Three steps to get a fully functional portal working:
+
== Usage ==
 +
=== Nether portals and End gateways ===
 +
Standard nether portals and end gateways can also be used as portals. For a custom frame or shape, this command can be used to get a special item to place them down:
 +
{{Command|world giveportal [end/nether]|Gives an item to place end/nether portals|myworlds.world.giveportal}}
  
==Place a sign under the ground==
+
=== Water portals ===
* on the first line: [portal]
+
To use water as a portal, the water must be surrounded on at least two sides with a solid block and at least one side with open air. This is to prevent random lakes to act as portals. With a hole in the ground you can prevent the water from flooding outwards.
* on the second line the portal name: Portal1
 
* on the third line the portal or world name to teleport to: Portal2
 
* optionally on the fourth line the destination display name (otherwise uses portal/world name on third line)
 
[portal]
 
  
portal1
+
=== Portal Sign ===
 +
{{sign|[portal]|name|destination|title}}
  
portal2
+
For each line:
 
+
* on the first line: [portal]
Portal 2
+
* on the second line the portal name. You can teleport to this portal by this name, for example, with /tpp [name].
 
+
* on the third line the portal or world name to teleport to. This is taken when the portal is entered.
When used with 'portal enter' Permission, the name on the second line (portal1) is used.
+
* optionally on the fourth line the destination display name (otherwise uses portal/world name on third line). Can be left empty.
  
[https://dev.bukkit.org/linkout?remoteUrl=http%253a%252f%252fs708.photobucket.com%252falbums%252fww88%252fbergerkiller%252f%253faction%253dview%2526current%253dMyWorlds.mp4 Video demonstrating this feature here]
+
{{sign|[portal]|Portal1|HubWorld|}}
  
==Place a Portal or water stream nearby==
+
=== Cleaning up portals ===
* you can make a standard portal from obsidian and activate it
+
If you want to remove a portal you lost, you can remove the saved portal data from: ''root\plugins\My Worlds\portals.txt''
* you can stack Portal blocks (you can now actually build with them, custom portals!)
 
* to remove portals, remove the bottom (ground) block
 
* [https://dev.bukkit.org/linkout?remoteUrl=http%253a%252f%252fs708.photobucket.com%252falbums%252fww88%252fbergerkiller%252f%253faction%253dview%2526current%253dWaterPortals.mp4 you can place a water stream near the sign, which teleports players when entered]
 
Perform the above two steps for the other portal
 

Revision as of 16:11, 29 January 2022

« Go back

Several types of portals on display

Introduction

Besides commands, this plugin comes with the simplest cross-world teleportation solution: Actual portals. Walk from world to world simply, by walking into a portal. To make a portal, all you have to do is place a [portal] sign nearby a block structure that looks like a portal.

There are three types of portals to choose from:

  • Nether portals
  • End portals
  • Water portals

Usage

Nether portals and End gateways

Standard nether portals and end gateways can also be used as portals. For a custom frame or shape, this command can be used to get a special item to place them down:

Gives an item to place end/nether portals
Command: /world giveportal [end/nether]
Permission: myworlds.world.giveportal


Water portals

To use water as a portal, the water must be surrounded on at least two sides with a solid block and at least one side with open air. This is to prevent random lakes to act as portals. With a hole in the ground you can prevent the water from flooding outwards.

Portal Sign

Signtemplate.png
[portal]
name
destination
title

For each line:

  • on the first line: [portal]
  • on the second line the portal name. You can teleport to this portal by this name, for example, with /tpp [name].
  • on the third line the portal or world name to teleport to. This is taken when the portal is entered.
  • optionally on the fourth line the destination display name (otherwise uses portal/world name on third line). Can be left empty.
Signtemplate.png
[portal]
Portal1
HubWorld

Cleaning up portals

If you want to remove a portal you lost, you can remove the saved portal data from: root\plugins\My Worlds\portals.txt