Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

interaction-whitelist not working with beds

Open
#1,909 0 comments 0 reactions 0 assignees View on GitHub

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
game-dev

Research direction

Reproduce the issue on WorldEdit 7.2.10, WorldGuard 7.0.7, and Paper 1.18.2 using the listed region flags and bed materials. Trace the interaction handling for beds and compare it with the sleep flag behavior; done when whitelisted beds allow players to sleep while other interactions remain denied.

Written by the indexing model from the issue text.

Description

status:pending type:bug
WorldEdit Version

7.2.10

WorldGuard Version

7.0.7

Platform Version

paper-1.18.2-308.jar

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

The interaction-whitelist option does not seem to work with the following materials:
- BLACK_BED
- BLUE_BED
- BROWN_BED
- CYAN_BED
- GRAY_BED
- GREEN_BED
- LIGHT_BLUE_BED
- LIGHT_GRAY_BED
- LIME_BED
- MAGENTA_BED
- ORANGE_BED
- PINK_BED
- PURPLE_BED
- RED_BED
- WHITE_BED
- YELLOW_BED

The player is able to set their respawn point on the bed but not sleep in the bed to pass night.

Expected Behavior

Once bed materials are added to the interaction-whitelist and the sleep flag is allowed, players should be able to use beds as normal within the region where all other interactions are blocked.

Reproduction Steps
  1. Create region with flags interact: DENY and sleep: TRUE
  2. Add bed materials to interaction-whitelist in the WorldGuard config for this region
  3. Confirm that interaction with the beds within the region is still blocked despite whitelisting
Optional WorldGuard-Report

No response

Anything Else?

No response

Dominant language
Java
Stars
938
Forks
674
Avg merge
22h 57m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EngineHub/WorldGuard

All issues in EngineHub/WorldGuard

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.