Player settings and screen size
/hud settings opens a menu with the HUD on/off switch, the themes the player may use, the widgets they may hide or show, and the screen size.
Why there is a screen size#
The server cannot know the player's window size or GUI scale. Widgets anchored to the center, the top-center or the bottom-center are always exact. Widgets anchored to the left or right edge are placed using the screen width in GUI units, which comes from the player's screen preset. If it does not match their real screen, those widgets are shifted by the difference.
| Preset id | Screen |
|---|---|
| 1080p-gui2 | 960 x 540 (default) |
| 1080p-gui3 | 640 x 360 |
| 1080p-gui4 | 480 x 270 |
| 1440p-gui2 | 1280 x 720 |
| 1440p-gui3 | 853 x 480 |
| 1440p-gui4 | 640 x 360 |
| 720p-gui2 | 640 x 360 |
| ultrawide-gui2 | 1280 x 540 |
| 4k-gui4 | 960 x 540 |
| phone | 427 x 240 |
Set the server default with screen.default-preset. Players change theirs in the menu or with /hud preset <id>.
The /hud menu sizes itself to the number of themes and adds previous and next page buttons when there are more than 21. The Widgets button opens the show and hide toggles on their own page, which pages the same way.