> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/render/bedesp.md).

# BedESP

In Bed Wars, this lets you see a bed and the blocks protecting it before you move in.

## Highlight style

Choose a color with `Theme`. `Default` uses the standard palette, `Rainbow` cycles through hues, and the other names select fixed palettes.

`Draw beam` adds a beam above each bed. Use it when the bed highlight is hard to spot at a distance. `Render full block` outlines the whole bed instead of only the mattress section.

## Finding beds

`Range` controls how far away the module looks for beds and renders them. It accepts values from `4` to `200` blocks. `Rate` controls how often the scan refreshes, from `0.2` to `5` seconds.

If several beds are visible, `Only render first bed` keeps the highlight on the nearest one. `Optimize for Bed Wars` applies more aggressive filtering to blocks that are not beds.

## Bed defenses

`Covering blocks` shows the blocks protecting a bed and scales their display from `0.45` to `2x`. Set it to `0.45` to hide covering blocks. `Show whitelisted covering` limits those blocks to entries in the configured whitelist.

{% hint style="success" %}
Use `Show tools only` when you want the bed display to appear only while you hold a tool. This keeps the covering blocks out of view until you are ready to break them.
{% endhint %}

## Lobby display

Enable `Disable in lobby` to hide bed highlights outside an active game.

For automatic bed breaking, see [BedAura](/scripting/player/bedaura.md).
