Bedrock players are able to go through doors even if the event cancelled.
See original GitHub issueDescribe 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
- Run a Paper server with GeyserMC, and any form of protection plugin (what I used was LWCX and GriefDefender).
- Build an enclosure with only a single door as it’s entrance.
- Lock/Claim said entrance using a protection plugin.
- Using a bedrock account, stand in front of the door and repeatedly open the door while holding the forward button.
- 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
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:
- Created 2 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
This shouldn’t happen as the door opening event is cancelled.