Layouts organize components into places on the users screen. You can have an unlimited amount of layouts. You can change a player's layout with commands. The integers are the height of the bars. Below is the default layout:
default:
lines:
45:
line-format: '<bar:armor> <space:14> <bar:air>'
35:
line-format: '<bar:health> <space:14> <bar:food>'
25:
line-format: '<bar:exp>'
Layout Options
Option | Aliases | Description | Parameter Type | Example |
---|---|---|---|---|
bar |
b |
Insert a bar. | Bar name |
bar:health |
space |
spacer, sp, s |
Insert a space. The space size is in pixels. | Integer |
space:10 |
text |
t |
Insert a placeholder supported text. | String |
<text:"Hello there!"> |