LuTags | Tags and Medals icon

LuTags | Tags and Medals -----

Prefix, suffix, nametags, medals and more with LuTags.



Encounter a bug or have a feature request? Let us know on our Issues page.
Need assistance? Visit the Discussions page for help and support.

[​IMG]

Easily manage player prefixes and suffixes with our customizable formatting options, which can be tailored based on world, conditions, and more through a straightforward configuration file. Enjoy seamless medal and tag management with both in-chat selection and a dedicated GUI for convenience. Our plugin supports PlaceholderAPI and offers robust database options, including MongoDB, MySQL, Redis, and SQLite.

Images:

upload_2024-9-8_20-37-15.png
upload_2024-9-8_20-37-37.png

upload_2024-9-8_20-38-3.png

Commands:
Code (Text):
/lutags reload - Reload tags, medals and configurations
/lutags version - See the current plugin version
/lutags set <medal/tag> <player> <tag> - Set a players tag

/taggui - Open the GUI for selecting tags
/medalgui - Open the GUI for selecting medals

/tag <name> - Select a medal
/medal <name> - Select a tag
Configuration:
Code (YAML):
# Available placeholders:
#
# %lutags_maxtag_name%
# %lutags_maxtag_color%
# %lutags_maxtag_styled%
# %lutags_maxtag_prefix%
# %lutags_maxtag_priority%
# %lutags_maxtag_permission%
#
# %lutags_tag_name%
# %lutags_tag_color%
# %lutags_tag_styled%
# %lutags_tag_prefix%
# %lutags_tag_priority%
# %lutags_tag_permission%
#
# %lutags_tag_<tagname>_name%
# %lutags_tag_<tagname>_color%
# %lutags_tag_<tagname>_styled%
# %lutags_tag_<tagname>_prefix%
# %lutags_tag_<tagname>_priority%
# %lutags_tag_<tagname>_permission%
#
# %lutags_medal_name%
# %lutags_medal_icon%
# %lutags_medal_prefix%
# %lutags_medal_priority%
# %lutags_medal_permission%
#
# %lutags_medal_<medalname>_name%
# %lutags_medal_<medalname>_icon%
# %lutags_medal_<medalname>_prefix%
# %lutags_medal_<medalname>_priority%
# %lutags_medal_<medalname>_permission%

# Interval (in seconds) to update all player tags. Note: This may cause lag.
# If using our nametags, player nametags will automatically update when their medal or tag changes.
update_enabled
: true
update_interval
: 60

# Interval (in seconds) to verify if players still have the permission for their current tag and medal.
# If not, the tag or medal is removed. This check also occurs on player join, so this verification interval
# is optional but recommended for additional consistency.
verification_enabled
: true
verification_interval
: 120

# Interval (in ticks) to verify players formats.
# This is good to be low, but only if you have multiple formats.
placeholder_update_enabled
: true
placeholder_update_interval
: 20

# Enable or disable the nametags above the players heads.
custom_nametags
: true

# Enable or disable spam heaven, this is good for bug reporting.
debug
: false

# Enable or disable each system.
tag_system
: true
tag_interface
: true
medal_system
: true
medal_interface
: true

# Inventory title for each interface.
menus
:
  titles
:
    tag
: "Choose your tag"
    medal
: "Choose your medal"
  items
:
    tag
: "NAME_TAG"
    medal
: "DOUBLE_PLANT"
    remove_tag
: "REDSTONE"
    remove_medal
: "REDSTONE"
  names
:
    tag
: "%lutags_tag_prefix%%player_name% %lutags_medal_icon%"
    medal
: "%lutags_tag_prefix%%player_name% %lutags_medal_prefix%"
    remove_tag
: "§cRemove current tag"
    remove_medal
: "§cRemove current medal"
  lore
:
    tag
: "§eClick to select"
    medal
: "§eClick to select"
    remove_tag
: "§7Remove your current tag"
    remove_medal
: "§7Remove your current medal"
  position
:
    remove_tag
: "49"
    remove_medal
: "49"

# Message shown when a player does not have any tags or medals.
no_tags
: "§cYou do not have any tags."
no_medals
: "§cYou do not have any medals."

# Message displayed when a player tries to select a tag or medal that is already selected.
already_selected_medal
: "§cYou have already selected this medal."
already_selected_tag
: "§cYou have already selected this tag."

# Message displayed when a player tries to select a tag or medal that doesn't exist.
tag_not_found
: "§cThis tag has not been found."
medal_not_found
: "§cThis medal has not been found."

# Message shown when a player successfully selects a tag or medal.
successfully_selected_medal
: "§eYour medal has been set to %lutags_medal_icon%§e."
successfully_selected_tag
: "§eYour tag has been set to %lutags_tag_styled%§e."
successfully_set_medal
: "§eYou set §6{target}'s §emedal to {icon} §ewith success."
successfully_set_tag
: "§eYou set §6{target}'s §etag to {styled} §ewith success."

# Other messages.
only_players
: "§cThis command can only be executed by players."
no_permission
: "§cYou do not have permission."
reloaded_successfully
: "§aYou've reloaded LuTags successfully."
current_version
: "§ePlugin current version: §7{version}§e."
not_online
: "§cThis player is not online."

# Prefix used when displaying a list of a player's tags or medals.
prefix_medal_list
: "§aYour medals: "
prefix_tag_list
: "§aYour tags: "

# Message format for displaying a preview of a tag or medal selection.
preview
: "§6Preview: {preview}\n§eClick to select"

# Format configuration for custom nametags.
# This system allows powerful customization of player name tags based on specific conditions.
# It can be configured to apply different formats in different worlds or based on specific placeholders.
formats
:
  # Default format, typically used in lobbies or before a game starts.
  default
:
    enabled
: true   # If true, this format is active; if false, it will be ignored.
    prefix
: "%lutags_tag_prefix%"   # Prefix to display if all conditions are met.
    suffix
: " %lutags_medal_prefix%"   # Suffix to display if all conditions are met.
    priority
: "%lutags_tag_priority%"   # Numeric priority value to determine ordering in the tab list.
    worlds
:
     - "world"   # This format applies in the "world" world.
      - "build"   # This format applies in the "build" world.
      - "hub_*"   # Applies to any world with a name starting with "hub".
      - "lobby_*"   # Applies to any world with a name starting with "lobby".
    conditional
:
      # Additional conditions checked if the player is not in the specified worlds.
      game_status
: [ "waiting", "starting" ]   # Format applies if game status is "waiting" or "starting".
  game
:
    enabled
: true
    prefix
: "%team_color%(%team_letter%) "
    suffix
: ""
    priority
: "%team_priority%"
    worlds
:
     - "game_*"
    conditional
:
      game_status
: [ "running" ]
  spectator
:
    enabled
: true
    prefix
: "§7(SPEC) "
    suffix
: ""
    priority
: ""
    worlds
:
     - "game_*"
    conditional
:
      player_game_status
: [ "spectator" ]

# Explain the main command usage (/lutags)
# This can only be seen by those with the command permission.
main_command_permission
: "lutags.admin.all"
main_command_usage
:
 - "§7"
  - "§6Command usage:"
  - "§e  /lutags version §7- §bCurrent plugin version."
  - "§e  /lutags reload §7- §bReload configurations."
  - "§e  /lutags set <medal/tag> <player> <tag>  §7- §bSet a player's tag or medal."
  - "§7"

# Explain the usage of each command
# This can only be seen by those with the command permission.
usages
:
  admin_tag_set
: "§cUsage: /lutags set <medal/tag> <player> <tag>"
Code (YAML):
medals:
  Peace
:
    name
: "Peace"
    icon
: "&e✌"
    prefix
: "&e✌ "
    priority
: 1
    permission
: "lutags.medal.paz"
  Coffe
:
    name
: "Coffe"
    icon
: "&e&l☕"
    prefix
: "&e&l☕ "
    priority
: 2
    permission
: "lutags.medal.cafe"
  Flash
:
    name
: "Flash"
    icon
: "&6&l⚡"
    prefix
: "&6&l⚡ "
    priority
: 3
    permission
: "lutags.medal.flash"
  Music
:
    name
: "Music"
    icon
: "&5&l♬"
    prefix
: "&5&l♬ "
    priority
: 4
    permission
: "lutags.medal.music"
  YinYang
:
    name
: "YinYang"
    icon
: "&f&l☯"
    prefix
: "&f&l☯ "
    priority
: 5
    permission
: "lutags.medal.yinyang"
  Toxic
:
    name
: "Toxic"
    icon
: "&a&l☣"
    prefix
: "&a&l☣ "
    priority
: 6
    permission
: "lutags.medal.toxic"
  Love
:
    name
: "Love"
    icon
: "&4&l❤"
    prefix
: "&4&l❤ "
    priority
: 7
    permission
: "lutags.medal.love"
  None
:
    name
: "None"
    icon
: "&7None"
    prefix
: ""
    priority
: 8
    permission
: "lutags.medal.none"
Code (YAML):
tags:
  Owner
:
    name
: "Owner"
    color
: "&4"
    styled
: "&4Owner"
    prefix
: "&4&lOwner&4 "
    priority
: 1
    permission
: "lutags.tags.owner"
    aliases
: [ ]
  Admin
:
    name
: "Admin"
    color
: "&4"
    styled
: "&4Admin"
    prefix
: "&4&lAdmin&4 "
    priority
: 2
    permission
: "lutags.tags.admin"
    aliases
: [ "adm" ]
  Manager
:
    name
: "Manager"
    color
: "&c"
    styled
: "&cManager"
    prefix
: "&c&lManager&c "
    priority
: 3
    permission
: "lutags.tags.manager"
    aliases
: [ ]
  Mod+
:
    name
: "Mod+"
    color
: "&d"
    styled
: "&dMod&6+"
    prefix
: "&d&lMod&6+&d "
    priority
: 4
    permission
: "lutags.tags.mod+"
    aliases
: [ "moderator+" ]
  Mod
:
    name
: "Mod"
    color
: "&5"
    styled
: "&5Mod"
    prefix
: "&5&lMod&5 "
    priority
: 5
    permission
: "lutags.tags.mod"
    aliases
: [ "moderator" ]
  TrialMod
:
    name
: "Trial"
    color
: "&6"
    styled
: "&6Trial"
    prefix
: "&6&lTrial&6 "
    priority
: 6
    permission
: "lutags.tags.trialmod"
    aliases
: [ "tmod", "tmoderator" ]
  Helper
:
    name
: "Helper"
    color
: "&9"
    styled
: "&9Helper"
    prefix
: "&9&lHelper&9 "
    priority
: 7
    permission
: "lutags.tags.helper"
    aliases
: [ ]
  Builder
:
    name
: "Builder"
    color
: "&3"
    styled
: "&3Builder"
    prefix
: "&3&lBuilder&3 "
    priority
: 8
    permission
: "lutags.tags.builder"
    aliases
: [ "build" ]
  Vip
:
    name
: "Vip"
    color
: "&a"
    styled
: "&aVip"
    prefix
: "&a&lVip&a "
    priority
: 9
    permission
: "lutags.tags.vip"
    aliases
: [ ]
  Member
:
    name
: "Member"
    color
: "&7"
    styled
: "&7Member"
    prefix
: "&7"
    priority
: 10
    permission
: "lutags.tags.member"
    aliases
: [ "default" ]
Code (YAML):
# if you don't know what any of this means...
# DO NOT CHANGE ANYTHING, you might break something.

database_type
: "sqlite" # Possible values: sqlite, mysql, redis, mongodb

# Database configuration details for each type
database
:
  sqlite
:
    url
: "jdbc:sqlite:plugins/LuTags/users.db"
    clazz
: "org.sqlite.JDBC"
  mysql
:
    host
: "localhost"
    port
: "3306"
    database
: "database"
    username
: "user"
    password
: "password"
    clazz
: "com.mysql.cj.jdbc.Driver"
  mongodb
:
    uri
: "mongodb://user:password@localhost:27017"
    database
: "database"
  redis
:
    address
: "127.0.0.1"
    port
: "6379"
    password
: "password"


sql_table_creation
: "CREATE TABLE IF NOT EXISTS user_data (uuid TEXT PRIMARY KEY, tag TEXT, medal TEXT);"
sql_write
: "INSERT OR REPLACE INTO user_data (uuid, tag, medal) VALUES (?, ?, ?);"
sql_read_tag
: "SELECT tag FROM user_data WHERE uuid = ?;"
sql_read_medal
: "SELECT medal FROM user_data WHERE uuid = ?;"

Note: We do not support versions below 1.7 due to significant changes in the game’s code.
If you appreciate our resource, please leave a comment and rating. Your feedback is greatly valued!

[​IMG]
Resource Information
Author:
----------
Total Downloads: 221
First Release: Sep 6, 2024
Last Update: Sep 10, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings