# playersSleepingPercentage/countUnderground

**Granular Gamerules** adds a setting to remove underground players from the sleeping requirement. This means any players mining won't stop surface players from passing the time until day.

The cutoff for a player being 'below the surface' is 10 blocks below the sea level, or **Y = 53**. Players that are below the surface can still sleep and count towards the percentage.

Command: `/gamerule playersSleepingPercentage/countUnderground`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jackf.red/granular-gamerules/miscellaneous-rules/playerssleepingpercentage-countunderground.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
