WorldGuard icon indicating copy to clipboard operation
WorldGuard copied to clipboard

Itemframes can be destroyed by boats in regions

Open LadyCailinBot opened this issue 6 years ago • 14 comments

WORLDGUARD-3934 - Reported by Bedah

Hey, placing a boat and driving against an itemframe in a region, leaves a frame after some time fall off. Some options to block that without prohibiting boats?

WG: 6.2.2 Spigot: 1.12.2

Best Regards

LadyCailinBot avatar May 14 '18 19:05 LadyCailinBot

Comment by PseudoKnight

What unusual behavior. Looks like it's a PHYSICS cause. There's no perfect way of preventing exploitation of this since there's no associated player if they're not in the boat. There are some reasonable partial solutions, though, as well as some blanket blocking options. These would need to be added.

LadyCailinBot avatar Jun 03 '18 10:06 LadyCailinBot

Hello, any updates on this issue? One of our players was able to drive boat into other players regions causing havoc to their stashes.

farum12 avatar Mar 25 '21 20:03 farum12

Uhm, this is still a bug! 😄 Players can simply ride a boat into a frame and make it drop. Easy as that.

https://cdn.discordapp.com/attachments/470410381597343753/851615802293747722/Minecraft_1.16.5_-_Multiplayer_3rd-party_Server_2021-06-08_02-15-32_Trim.mp4

iperrealistico avatar Jun 08 '21 11:06 iperrealistico

Kinda sad this exploit is still in the plugin almost 4 years later :S (and that I only now hear about it...)

Would probably be good to either push for an entity collide event finally getting added, make this particular type of destruction call the EntityBreakHangingEvent or (as a workaround) stop breaking of item frames from the physics when a boat is nearby.

Phoenix616 avatar Feb 03 '22 23:02 Phoenix616

as far as I can tell, a wide variety of entities can trigger this. there is no way for us to do anything about this short of cancelling all physics-caused hangingbreak events, which is tbh stupid. feel free to PR to spigot a more correct behavior like HangingBreakByEntityEvent.

wizjany avatar Feb 03 '22 23:02 wizjany

I feel like it would be better to have a couple of false positive entity destruction blocked inside a protected region in general for the sake of not having possible griefing exploits. Of course the plugin API needs improvement there.

Phoenix616 avatar Feb 03 '22 23:02 Phoenix616

4 years!? I had players exploiting this today.

TomLewis avatar May 21 '22 16:05 TomLewis

Feel free to fix it and make a pull request.

Joo200 avatar May 21 '22 16:05 Joo200

Anyone interested in this issue - this plugin has helped on our server https://github.com/AztecMC/WGItemFrameBreakFlags

farum12 avatar May 22 '22 12:05 farum12

Feel free to fix it and make a pull request.

I did fix it, with a GriefPrevention claim, that stops it.

TomLewis avatar May 22 '22 18:05 TomLewis

there is a flag, entity-item-frame-destroy, that seems to stop this, but does not work on minecraft 1.17 and worldguard 7.0.6. it does seem to work on 7.0.7 and 1.18

longemen3000 avatar Oct 15 '22 20:10 longemen3000

that would imply something has changed upstream, since (as noted 4 years ago at the top of this comment chain) there hasn't been any entity associated with this sort of breaking previously. however the spigot bug (https://hub.spigotmc.org/jira/browse/SPIGOT-3999) is still open so i'm unsure that's really the case.

wizjany avatar Oct 15 '22 20:10 wizjany