> 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!

![](/files/5xe8Va14ZMXmTutz6fOj)

### Basic colors

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

![](/files/RBh7Ka9wrrxZAsV7eRLK)

### 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>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.staffplusplus.org/general-information/other/text-parsing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
