-
-
Notifications
You must be signed in to change notification settings - Fork 37
Appending JSON texts
montlikadani edited this page Dec 10, 2023
·
3 revisions
With the release of TabList starting from v5.6.3 you will be able to parse and append Raw JSON or a simple JSON text in header/footer including in group prefixes/suffixes.
A simple JSON text used in the group's prefix:
groups:
admin:
prefix: '["",{"text":"[","bold":true,"color":"gold"},{"text":"OWNER","bold":true,"italic":true,"underlined":true,"color":"dark_red"},{"text":"]","bold":true,"color":"gold"},{"text":" "}]'
This will results
To use JSON, you must start with ["",
and end with ]
so that the resource can read and parse plain json text from config. If these do not exist, only a plain json text will be displayed. JSON Text Generator helps you create json texts easily. If a JSON text does not appear as we expected, it may mean that the JSON text cannot be parsed and it contains invalid syntax(es).
- Home
- Commands & Permissions
- Bukkit
- Setting groups
- Initial documentation for TabList
- Placeholders
- Creating fake players
- Ping or tps formatting
- Using custom fonts in tablist
- Using 1.16+ HEX colors
- Appending JSON texts
- Appending image/banner in tablist
- Tablist objective
- Compatibility issue with eGlow
- Bungee
- Sponge
- Symbols