Module: title
Overview
This module allows you to define titles
to display in the chat.
Or display the active title
in any place that supports placeholders.
Color Boxes
◉ Give the fisher
title to player Alice.
Issue: /lp user Alice permission set fuji.title.obtain.fisher true
◉ Give the fisher
title to player Alice, but it expires in 7 days.
Issue: /lp user Alice permission settemp fuji.title.obtain.fisher true 7d
◉ To display the active title
.
Insert the %fuji:active_title%
in any place that supports placeholders. (Like a chat mod that supports the placeholders).
Configurations
The following JSON content is provided for reference only. It must NOT be copied directly into the configuration directory, as it does not represent valid JSON syntax.
- File Name:
config.json
- File Content:
Click to see the default
content...
{
"default_active_title_id": "resident",
"no_active_title_text": "<grey>[None]",
"title_descriptors": [
{
"id": "resident",
"item": "minecraft:grass_block",
"display_name": "<dark_green>[Resident]",
"lore": [
"<yellow>The title for a resident."
]
},
{
"id": "farmer",
"item": "minecraft:iron_hoe",
"display_name": "<green>[Farmer]",
"lore": [
"<yellow>The title for a farmer."
]
},
{
"id": "fisher",
"item": "minecraft:fishing_rod",
"display_name": "<blue>[Fisher]",
"lore": [
"<yellow>The title for a fisher."
]
}
]
}
- File Name:
data.json
- File Content:
Click to see the default
content...
{
"preferences": []
}
Commands
-
Command Syntax:
/title!
-
Document: Open the
title
GUI. -
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null
Placeholders
- Placeholder Name:
fuji:active_title
- Document: Returns the
display name
ofthe active title
for the player.