Cosmetic Titles | MySQL Support icon

Cosmetic Titles | MySQL Support 2.0.1

An easy way to monetize your Minecraft server!

This is CosmeticTitles, a cosmetic tag plugin that allow you to not set just suffixes, but prefixes as well! Or both!

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 and next to the display name in the chat format!

Essentials
format: '{DISPLAYNAME}&7: {MESSAGE}'

How to make a title
[dropdown]
- /title create 

- /title edit   

Done!
[/dropdown]
See? Very simple!

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."!
permission: "cosmetics.titles"

use-mysql: false
mysql:
  host: ""
  port: ""
  database: ""
  username: ""
  password: ""
[/dropdown]
Once again, it's pretty simple and very configurable for your server's needs!

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  &7- Set your title'
  - '&e/title remove &7- Remove your selected title'
  - ''
  - '&e/title create  &7- Create a title'
  - '&e/title delete  &7- Deletes a title'
  - "&e/title edit    &7- Edit a title, use 'none' for no prefix/suffix"
  - '&e/title reload &7- Reload configurations'
  - ''
[/dropdown]
I'm personally a fan of plugins that are extremely configurable, which is why in my plugins I try to make everything as configurable as possible

PlaceholderAPI Placeholders
[dropdown]
%cosmetictitles_getexample_% - 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_% - Gets the title name of a player, returns "No Title" if they don't have one

%cosmetictitles_hastitle_self_% - Checks to see if you have that title
%cosmetictitles_hastitle_other_% - Checks to see if a player has that title

[/dropdown]

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: ' '

[/dropdown]
If you'd like to see what that looks like in-game, please view the video of me talking about the plugin!





PROOF OF OWNERSHIP
https://i.imgur.com/fyGLwJY.png
You might also like...