Text Objects
Text
## object name, you can set this to anything that is unique
text1:
## object type, in this case text
type: text
## x and y positions relative to the parent
position: 0 0
## the horizontal alignment of the object (left/center/right)
alignment: left
## the vertical alignment of the object (top, center, bottom)
vertical-alignment: top
## the text
text: 'Welcome to the server %player_name%'
## formatting to use (possible settings: legacy, minimessage)
formatting: legacy
## text capitalization (possible settings: default, uppercase, lowercase)
capitalization: default
## font name of the font the text should use (Impact, Calibri, etc.)
font: Default
## size of text
font-size: 45
## if text is bold
bold: false
## if the text is italic
italic: false
## color of text
color: white
## the spacing between letters, shouldn't be changed unless the font spacing is wrong. The value should be between -0.3 and 0.1
spacing: 0.0
## the color of the outline (no outline if color isn't set)
outline-color: none
## the stroke width of the outline
outline-stroke: 2.0
## base line ensures the text is consistently positioned when the text content changes
use-base-line: true ## functions that the object executes when clickedPixel Text
Auto Font Size Text
Last updated