Skip to content

Debugging

Tantrum90 edited this page May 10, 2026 · 1 revision

Debugging

Debug mode helps identify why actions are blocked or allowed.

Enable

/museum debug on

Disable

/museum debug off

Status

/museum debug status

Example denied output in console

[MuseumWorld] [DEBUG] DENIED block-break | player=PlayerName | world=WorldName | locked=true | bypass=false | reason=locked world protection

Example allowed output in console

[MuseumWorld] [DEBUG] ALLOWED block-break | player=PlayerName | world=WorldName | locked=true | bypass=true | reason=player has bypass/admin permission

Useful checks

If something is not blocked, check:

  1. Is the world in locked-worlds?
  2. Does the player have museumworld.bypass?
  3. Is the player OP?
  4. Is the toggle enabled?
  5. Is the block/entity listed correctly?
  6. Did you run /museum reload?
  7. Is the YAML valid?

Status command

/museum status

Use it to check world protection, permissions, gamemode and important toggles.

Clone this wiki locally