Can bypass regions with mob spawn egg when used on water.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- authorization
Research direction
The issue names no source files or tests. First reproduce the bypass on Paper 1.19.4 with WorldGuard 7.0.8 and WorldEdit 7.2.15, then trace region-protection handling for spawn eggs aimed at water. Done means the spawn egg is blocked when used in a protected region, regardless of aim angle, without relying on the breaking configuration workaround.
Written by the indexing model from the issue text.
Description
WorldEdit Version
Bukkit-Official(7.2.15-SNAPSHOT+6372-93c0d36)
WorldGuard Version
Bukkit-Official (7.0.8-SNAPSHOT+2231-bddfbdd)
Platform Version
Paper 1.19.4 Build 514
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using a version of WorldGuard compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
When inside a region you do not have access to, aiming at water, at just the right angle, so your client isn't selecting any block behind the water, as such: (https://i.imgur.com/uIA0HbX.png) as opposed to as such: (https://i.imgur.com/7MzAUji.png) you are able to bypass region protection, and place mob spawn eggs, spawning the mob.
Expected Behavior
Respect region protection and do not allow item usage if not part of the region, regardless of how your client is aimed.
Reproduction Steps
- Create region.
- Use a typical spawn egg, such as a cow spawn egg.
- Aim at water as shown in first screenshot in Bug Description section.
- Right click to place mob bypassing protection.
Optional WorldGuard-Report
No response
Anything Else?
Using block-entity-spawns-with-untraceable-cause: true - is a temporary solution, however this breaks a wide variety of other entity spawn related things on the server, to the point where running this setting on true is simply game-breaking.
- Dominant language
- Java
- Stars
- 944
- Forks
- 686
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/WorldGuard
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EngineHub/WorldGuard#2334 ·
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
EngineHub/WorldGuard#2332 ·
-
status:invalid type:bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
EngineHub/WorldGuard#2333 · 1 comment · 1 reaction ·
-
End Crystal explosion gets fully cancelled even if a small part of the explosion affects a protected areaPossibly taken @Almost10 claimed this 18 days ago. Openstatus:pending type:bug
Difficulty 3/5 Half a day Newbie friendliness 62/100
EngineHub/WorldGuard#2323 · 4 comments ·
-
status:pending type:feature-request
Difficulty 3/5 1-2 days Newbie friendliness 54/100
EngineHub/WorldGuard#2320 ·
All issues in EngineHub/WorldGuard
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
checkstyle/checkstyle#22914 · 1 comment ·
Maintainers usually reply within 1 day
-
component/data-layer
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
opentelemetry_exporter_otlp-1.40.0-py3-none-any.whl: 3 vulnerabilities (highest severity is: 6.5)OpenMend: dependency security vulnerability untriaged
Difficulty 1/5 Under an hour Newbie friendliness 77/100
opensearch-project/data-prepper#7314 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100