EssentialsX

EssentialsX

2M Downloads

An alternative to safe-teleport

Blamo27 opened this issue ยท 2 comments

commented

Hello,

Your plugin offers a way to ensure "safe-teleport", which moves the player away from any source of danger (lava, water, block obstruction) upon teleportation. However that also allows player to easily usebug bases and other places on servers, by placing a home somewhere unsafe and then teleporting to it, and spawning the other side of the wall. This is a huge issue on our PvP server which doesn't allow usebugs to enter bases.

It is possible to disable this option in the configuration. But in that case, unsafe teleport-points simply won't work, they will refuse to teleport the player, stating that the destination is unsafe. This is also an issue since a home for instance is considered unsafe just because it's in water or even on a simple slab : that means that a player can put a home in his house far away, on a wooden slab, then leaves, and if he tries to come back to his home the plugin won't let him.

Therefore, we would need an alternative. We noticed that when you're in Creative gamemode, and you teleport to an unsafe location such as inside a wall, you will be teleported (even if you're in the wall). We would like it to be possible to apply the exact same solution to players in Survival gamemode : yes, we know that means they can die after teleporting to an unsafe location, like in a lava lake or a wall. But we prefer by far that alternative to the previous ones.

So if you could make it possible to force unsafe-teleportation for survival players too, that would be perfect. Thank you.

commented

This is already in it.

From Wiki

Adds an option to forcefully disable safe teleportation (very useful for Factions/raiding servers). Mainline Essentials only has two values for the teleport-safety option: to convert locations to safe teleports (results in plenty of exploits) or to deny the teleport entirely. EssentialsX adds a force-disable-teleport-safety option (default false) that when combined with teleport-safety: true, disables conversion to safe locations and teleports the user to their exact location. Note: To disable cross-world teleportation safety, switch to PaperSpigot and set disable-teleportation-suffocation-check to true in paper.yml.

commented

You're right, I didn't see it actually. Thank you very much.