Staff++
latest
latest
  • Staff++
  • General information
    • Quick start
    • Reload Configuration
    • Multi Server Setup
    • General Configuration
    • Other
      • Text parsing
      • Styling the GUIs
        • Gui structure
        • Selectors
      • Configuring command hooks
  • Permissions & Commands
    • Commands
    • Permissions
      • Legacy permissions
  • Features
    • Alerts
      • X-Ray
    • Alt account detection
    • Authentication
    • Banning
      • IP Banning
        • Messages
      • Fixed Ban Reason
      • Templates
    • Blacklist
    • Broadcasting
    • Chat module
    • Chest/Inventory Interaction
    • Command detection
    • Examine players
    • Freezing
      • Command hooks
      • Luckperms integration
      • Chat channels
    • Infractions
    • Investigate
      • Command hooks
    • Join messages
    • Player IPs
    • Kicking
    • Muting
      • Appealing
    • Protection
    • Player information
    • Player notes
    • Reporting
      • Command hooks
      • Messages
      • Finding reports
      • Report types & Reasons
      • Chat channels
    • Staff Chat
    • Staff Mode
      • Multiple modes
      • Staff Modules
      • Custom Staff Modules
        • State dependent modules
      • Command hooks
      • Luckperms integration
    • Staff Locations
    • Teleporting
    • Vanish
      • Luckperms integration
    • Warnings
      • Quick start
      • Severity levels
      • Thresholds
      • Actions (punishments)
      • Appealing
      • Warning workflow
  • Web Platform
    • Register Players
    • Setup Web Platform
    • Architecture
  • Integrations
    • Discord Integration
      • Staff Chat
      • Template Packs
      • Customize Discord Templates
    • Trello Integration
    • PAPI expansion
      • PAPI Examples
  • Migration guides
    • Staff+ migration guide
    • Migrating to >=V1.16.43
    • Upgrading Discord Integration to 1.16.51
  • Developers
    • API guide
Powered by GitBook
On this page
  • Introduction
  • New lines
  • Tooltips
  • Basic colors
  • Hex Colors
  • Gradients

Was this helpful?

  1. General information
  2. Other

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!

Basic colors

Basic colors are supported using "&"

Hex Colors

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

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

Gradients

In versions >= 1.16 gradient colors are supported using:

<#00d8e6>This is gradient</#8ae0e6>
PreviousOtherNextStyling the GUIs

Last updated 2 years ago

Was this helpful?