If you wish to have GUI integration with this plugin, I strongly recommend using DeluxeMenus, as it is what I used in the video provided.
You will need to do at least one thing to ensure this works. Depending on what chat plugin you use will differ. All you need to do is add <prefix> and <suffix> next to the display name in the chat format!
Essentials
format: '<prefix>{DISPLAYNAME}<suffix>&7: {MESSAGE}'
How to make a title
Dropdown
- /title create <title>
- /title edit <title> <prefix/suffix> <new prefix/suffix>
Done!
Configurations (settings.yml)
Dropdown
# Permission beginner for titles, you're able to customize this!
# For example:
# permission: "myserver.titles" - Which means, to give someone access to a title, you give them "myserver.titles.<title>"!
permission: "cosmetics.titles"
use-mysql: false
mysql:
host: ""
port: ""
database: ""
username: ""
password: ""
Configurations (lang.yml)
Dropdown
selected: "&eYou have selected &6%title%&e."
removed: "&eYou have cleared your title."
no-permission: '&cYou do not have permission to use this!'
reloaded: '&eReloaded configurations!'
doesnt-exist: "&eThis title does not exist!"
exists: "&eThis title already exists!"
created-title: "&eYou have created title &6%name%&e!"
deleted-title: "&eYou have deleted title &6%name%&e."
edited-prefix: "&eYou have set &6%title%&e's prefix to &e'%prefix%&e'"
edited-suffix: "&eYou have set &6%title%&e's suffix to &e'%suffix%&e'"
help:
- ''
- '&6&lCosmetic Titles'
- '&e/title set <title> &7- Set your title'
- '&e/title remove &7- Remove your selected title'
- ''
- '&e/title create <title> &7- Create a title'
- '&e/title delete <title> &7- Deletes a title'
- "&e/title edit <name> <prefix/suffix> <new prefix/suffix> &7- Edit a title, use 'none' for no prefix/suffix"
- '&e/title reload &7- Reload configurations'
- ''
PlaceholderAPI Placeholders
Dropdown
%cosmetictitles_getexample_<title>% - Gets an example of the title if the player were to have it selected
%cosmetictitles_gettitle_self% - Gets the title name, returns "No Title" if they don't have one
%cosmetictitles_gettitle_other_<player>% - Gets the title name of a player, returns "No Title" if they don't have one
%cosmetictitles_hastitle_self_<title>% - Checks to see if you have that title
%cosmetictitles_hastitle_other_<title>% - Checks to see if a player has that title
Deluxe Menus example
Dropdown
menu_title: '&eSelect a Title!'
open_command:
- titles
- tag
- tags
register_command: true
size: 36
items:
'overlord_tag':
material: NAME_TAG
slot: 9
priority: 2
update: true
hide_attributes: true
display_name: '&cOverlord Tag'
lore:
- '&b&lExample'
- '%cosmetictitles_getexample_overlord%'
view_requirement:
requirements:
tag_requirements:
type: string equals
input: '%cosmetictitles_hastitle_self_overlord%'
output: 'true'
left_click_commands:
- '[player] title set overlord'
- '[close]'
'overlord_tag_no_perms':
material: NAME_TAG
slot: 9
priority: 1
update: true
hide_attributes: true
display_name: '&cOverlord Tag &7- &4&lNO PERMISSION'
lore:
- '&b&lExample'
- '%cosmetictitles_getexample_overlord%'
- ''
- '&cYou do not have this title unlocked!'
view_requirement:
requirements:
tag_requirements:
type: string equals
input: '%cosmetictitles_hastitle_self_overlord%'
output: 'false'
'hacker_tag':
material: NAME_TAG
slot: 10
priority: 2
update: true
hide_attributes: true
display_name: '&3Hacker Tag'
lore:
- '&b&lExample'
- '%cosmetictitles_getexample_hacker%'
view_requirement:
requirements:
tag_requirements:
type: string equals
input: '%cosmetictitles_hastitle_self_hacker%'
output: 'true'
left_click_commands:
- '[player] title set hacker'
- '[close]'
'hacker_tag_no_perms':
material: NAME_TAG
slot: 10
priority: 1
update: true
hide_attributes: true
display_name: '&3Hacker Tag &7- &4&lNO PERMISSION'
lore:
- '&b&lExample'
- '%cosmetictitles_getexample_hacker%'
- ''
- '&cYou do not have this title unlocked!'
view_requirement:
requirements:
tag_requirements:
type: string equals
input: '%cosmetictitles_hastitle_self_hacker%'
output: 'false'
'xx_tag':
material: NAME_TAG
slot: 11
priority: 2
update: true
hide_attributes: true
display_name: '&eXX Tag Tag'
lore:
- '&b&lExample'
- '%cosmetictitles_getexample_xx%'
view_requirement:
requirements:
tag_requirements:
type: string equals
input: '%cosmetictitles_hastitle_self_xx%'
output: 'true'
left_click_commands:
- '[player] title set xx'
- '[close]'
'xx_tag_no_perms':
material: NAME_TAG
slot: 11
priority: 1
update: true
hide_attributes: true
display_name: '&eXX Tag &7- &4&lNO PERMISSION'
lore:
- '&b&lExample'
- '%cosmetictitles_getexample_xx%'
- ''
- '&cYou do not have this title unlocked!'
view_requirement:
requirements:
tag_requirements:
type: string equals
input: '%cosmetictitles_hastitle_self_xx%'
output: 'false'
'filler_item':
material: STAINED_GLASS_PANE
data: 15
slots:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
display_name: ' '
PROOF OF OWNERSHIP
https://i.imgur.com/fyGLwJY.png