Using it

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 idScreen
1080p-gui2960 x 540 (default)
1080p-gui3640 x 360
1080p-gui4480 x 270
1440p-gui21280 x 720
1440p-gui3853 x 480
1440p-gui4640 x 360
720p-gui2640 x 360
ultrawide-gui21280 x 540
4k-gui4960 x 540
phone427 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.