> For the complete documentation index, see [llms.txt](https://wiki.staffplusplus.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.staffplusplus.org/general-information/other/text-parsing.md).

# Text parsing

### Introduction

In staff++ there are messages file which contain most of the text used within staff++.

### New lines

New lines can be achieved using 2 ways

#### \n notation

```
ban-permabanned-kick: "[Banned] You have been permanently banned\nfrom this server"
```

#### YAML multiline notation

```
ban-permabanned-kick: |
    [Banned] You have been permanently banned 
    from this server
```

### Tooltips

Tooltips are supported in the newest version of staff++.\
These can be configured by using the notation:

#### \[tooltip|\<hoverable text>|\<tooltip text>]

#### Example

\[tooltip|&6%player%''s|&6%player%\n&7This guy] armor has been removed!

![](https://3621425798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPQohtcLxhXAvpSXOMt-3566562695%2Fuploads%2FEvwyHXqpRRgzLIZZRYGW%2Ftooltip.png?alt=media\&token=7c6c3cbe-7b1a-4b33-8c72-ba53fac5c04a)

### Basic colors

Basic colors are supported using **"&"**

![](https://3621425798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPQohtcLxhXAvpSXOMt-3566562695%2Fuploads%2FCcsOH4lUXopFqaZvzt34%2Fbukkit_colors.png?alt=media\&token=b6a40b67-829b-43b2-8eff-bda9576e4dbe)

### Hex Colors

In versions >= 1.16 hex colors are supported using hex notation

```markup
#FF0044This is in some color. #EE8833This is another color.
```

### Gradients

In versions >= 1.16 gradient colors are supported using:

```markup
<#00d8e6>This is gradient</#8ae0e6>
```
