DirectPortals
There will be NO versions for 1.14+. See below for details.
Default portal mechanics will attempt to search for a portal within an 8 block radius in the nether and a 128 block radius in the overworld. This means that if portals are too close together, they can end up cross-linking, and going somewhere you don't expect. DirectPortals was designed as a simple, one-feature plugin to ensure that each portal is linked to exactly one copy on the other side, and that portal links directly back to the first. No cross-linking can occur at all.
How does this work?
- Portal search radius has been reduced to 0 blocks in the nether and 8 blocks in the overworld (to compensate for the scale and rounding errors)
- Portal creation occurs at the exact location in scale (from the overworld, divide X and Z by 8 and leave Y the same and that is where the exit portal will be in the nether, and vice versa)
- As locations are typically unsafe, an extra cobblestone roof is added to the exit portal design to shield players from falling lava
There will be NO versions for 1.14+
"The TravelAgent has been removed as it was too difficult to maintain due to internal changes. It may be added back in the future, but only if it can be implemented in a sustainable manner."
This feature is essential to how DirectPortals works, so unfortunately this means there will be no versions for 1.14+ unless the Spigot team start supporting it again.
Installation and Setup
- Simply place DirectPortals in your plugins folder and restart the server
- There are no configuration options, no commands, no permissions, it just works
Compatibility and Troubleshooting
This plugin uses Java 7
If you get the followed error on starting up the server with this plugin installed "Unsupported major.minor version 51.0". This means you are using an out of date version of Java. If you don't know how to upgrade, please contact your server hosting provider and ask them for help in upgrading to Java 7, or contact Oracle customer support. Mac OS X users require JDK 7 instead of JRE 7.
Incompatible plugins
This plugin is Bukkit API-compliant. This means it is safe to use with all other Bukkit API-compliant plugins without a risk of incompatibility. It also means that it should work in later releases of CraftBukkit without needing to be updated, unless Bukkit itself undergoes major changes (This has very rarely happened, and the Bukkit dev team will tell you that a particular update breaks plugins if that is the case).
This is not designed to be used alongside any other plugins that alter default portal mechanics. It should not break these other plugins, however it will likely result in DirectPortals having no effect on portal mechanics.
Donations
If you'd like to contribute towards the continued development, support and maintenance of this project, please consider joining me on Patreon, and making a one-time or recurring pledge.
Help
Please read the troubleshooting section above before asking for help.
If you need help you can leave a comment below and I will get back to you as soon as I can. You can also join my IRC chatroom using the following link. Please note, I am not always watching chat! Type my name to get my attention, if I am there, I will respond. http://webchat.esper.net/?channels=XHawk87&prompt=1
In reply to KoronixTV:
Does this work for 1.11.2?
In reply to mtdutch:
@Jikoo_K
Thanks for the report. It should be fixed in 0.3. The file is awaiting approval by moderators.
I love the idea of this plugin, but I have one annoying issue. Portals spawn 1 block lower than their exact counterpart, meaning you can go through and then come back about 2 blocks lower in a new portal, leading to a huge portal buildup.
I'd really prefer this plugin to be less exact (potentially configurable?) in the y direction - I suspect (have not tested) that portals also will come out above the nether if built higher than 128, as the default nether is only 128 tall.
@Cra2ytig3r
Thanks for your help in tracking down this bug. It will be fixed in v0.2 which has now been uploaded. It should be approved by moderators within a day.
So using this with Portalprotector would be a good idea if u wanted portals in lava. good to know! thanks! But why is your plugin causing me to take damage when i exit my portal at Y:19 & one at Y:24. It doesn't matter if I exit to the nether or overworld I hear the damage sound and sometimes I take a little damage. It only happen when your plugin is installed.
I'm using this CB dev build: craftbukkit-1.7.5-R0.1-20140408.020329-16
@Cra2ytig3r
DirectPortals will build a cobble roof and air pockets on the exit portal that should stop the lava from immediately frying players as they leave. It is still dangerous however, as any block updates could cause lava to start flowing in. I would immediately leave such a portal and find a better location.
DirectPortals provides exactly what it says; places the exit portal directly into the equivalent location in the other world, for better or worse.
The lava is damaging me? how so? There is no lava where the portal is. the lava is above about 3-5 blocks. My portal spawned under the lava ocean. What happens if the portal spawns in the lava ocean?! I assume, lava would just start flowing within the portal area. thus frying the player. I use the PortalProtector plugin so i should be safe, as PortalProtector doesnt allow certian blocks being placed within a pre-configurable radius of the portal.
@Cra2ytig3r
Wow, dangerous portal. I did mention that exit locations can be unsafe. Perhaps you should use a different location, or find some way of clearing out the lava. That could well be what is causing it.
I don't know what type of damage it is, but damage amount i take is 0 - half heart and i always hear the damage sound.
I dont get damage from my portal that is at Y:63. The portal at Y:19, I get damage and it happens on entering nether or overworld. My portal at Y:19 in the nether is under lava.
@Cra2ytig3r
I haven't experienced this. What type of damage is it, and how much? Were you lagging at the time?
I'm getting damaged on arrival to destination portal. only happens when this plugin is installed.
@poiNt3D
The source is provided in the JAR, and on github (https://github.com/XHawk87/DirectPortals)
Thanks for the great plugin. But could you add config option not to create cobblestone roof? Or provide the source, so i can do it myself...
works perfect! thank you so much!
Reading the description, exactly what I'm looking for. Then I look at the author, no wonder, love your plugins XHawk87. Installing on my server now. My users will be happy.
I do not check the curse pages often. Please only leave comments on the Project Site. Thank you!