question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bedrock players are able to go through doors even if the event cancelled.

See original GitHub issue

Describe the bug

Bedrock players can go through doors or trapdoors, even if a plugin has canceled the event. Plugins like GriefPrevention, and LWCX have broken door protection because of it.

To Reproduce

  1. Run a Paper server with GeyserMC, and any form of protection plugin (what I used was LWCX and GriefDefender).
  2. Build an enclosure with only a single door as it’s entrance.
  3. Lock/Claim said entrance using a protection plugin.
  4. Using a bedrock account, stand in front of the door and repeatedly open the door while holding the forward button.
  5. For Java players, the door does not open at all. But, the player goes through the door.

Expected behaviour

The player should not be able to go through the door.

Screenshots / Videos

Video

Server Version and Plugins

  • Geyser; This server is running Geyser version 2.0.0-SNAPSHOT (git-master-9d908c5) (Java: 1.18 - 1.18.1, Bedrock: 1.17.30 - 1.18.0/1.18.1/1.18.2)
  • Paper: This server is running Paper version git-Paper-187 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 0cc2503)
  • Plugins: GriefDefender, LWCX, LuckPerms, VentureChat, ProtocolLib, DiscordSRV

Geyser Dump

https://dump.geysermc.org/m0xiMh13GOr1AqPUqeRYEnjkLQky8Bg5

Geyser Version

2.0.0-SNAPSHOT (git-master-9d908c5)

Minecraft: Bedrock Edition Version

1.18.2

Additional Context

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
tdherringcommented, Apr 16, 2022

I have created a plugin which addresses this issue by tracking Bedrock player positions and teleporting those who attempt to access “locked” doors/trapdoors to their original location. This should work for all plugins experiencing the issue since it listens for the event cancellation, which Geyser is seemingly ignoring. Your feedback is appreciated!

Please see: Geyser Interaction Fix

1reaction
hausemaster3734commented, Feb 8, 2022

This shouldn’t happen as the door opening event is cancelled.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Wild Update Is Close! Dozens Of Fixes, Cancelled ...
The OLDEST Bugs In Minecraft Bedrock That Are STILL Around Today! ... Get rewards such as whitelisting on our Minecraft Bedrock /java servers ......
Read more >
1.19.50 Update Available on Bedrock - Minecraft.net
Other players or mobs won't be able to see you unless they too are in spectator mode. Fellow spectators will appear as transparent...
Read more >
Cancel event when placing a door, taraaa! | Bukkit Forums
Try this: public void dooropening(BlockPlaceEvent e) throws IOException{ Block b = e.getBlock(); final Player j = e.getPlayer(); if(b.getType() != Material.
Read more >
Minecraft Bedrock 1.19.50 update patch notes - Sportskeeda
After enabling cheats, Minecraft Bedrock players can go in and out of ... Spectator mode in Bedrock Edition is the same as Java...
Read more >
Minecraft: Bedrock Edition 1.19.50 update arrives with ...
Here's a quick write up of this new game mode and how it can be used: When cheats are enabled, players can go...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found