WorldGuard

WorldGuard

8M Downloads

Denying build flag does not block the auto-creation of overworld nether portal

LadyCailinBot opened this issue ยท 3 comments

commented

WORLDGUARD-3479 - Reported by askyserver

When the player creates a nether portal in the Nether, the other side of portal gate on the overworld can be created automatically in the protected area which protected by build:deny flag.

This might be a critical problem. Because any player can break the protected buildings with this.
(Of course they have to calculate right coordinate to break them.)

And if this is not a bug or won't fixed, is there a workaround for this problem?

Thanks in advance.

  • Using WorldGuard 6.0 Snapshot #1592 and running it on Spigot 1.8.3
commented

Comment by wizjany

for whatever reason, the server doesn't seem to be throwing a PortalCreateEvent for this.

commented

Comment by sk89q

This is an easy fix if Spigot or whatever told plugins when a portal was created via travel but wiz tells me that we are only told about new portals when it's made manually with fire.

commented

Comment by wizjany

added a workaround by blocking any portal travel that could intersect a protected region. this is slightly overprotective, but the only thing possible atm given what the server gives us.