/tags
also /tag
Open the tag shop, or put a tag on directly
/tags/tags id/tags offNeeds dtags.use, which everyone has by default.

Small coloured labels like [EXAMPLE] shown behind a player's name in chat and the tab list. Players buy tags in the point shop and wear one with /tags.
Main commands
/dtags reload/tags/tags example/tags off/dtags editWhy can I not see tags in chat?
DTags needs PlaceholderAPI and %dtags_tag% in your chat format. Without PlaceholderAPI, tags are saved but never shown.
What does /tags do with no word after it?
It runs the command set in menu-command, which by default opens the tags page of the point shop. Clear that setting to make it do nothing.
What happens if I delete a tag?
Players lose it for now. If you add it back with the same id, they get it back.
Who can use the commands?
dtags.use is on for everyone. dtags.admin, for operators, allows /dtags reload.
Menus and messages come from the default DTags files. Run a command, click an example, or pick a menu.
This plugin works through commands and chat. Try one below.
<name> you must fill in[name] optionalword typed as shown
also /tag
Open the tag shop, or put a tag on directly
/tags/tags id/tags offNeeds dtags.use, which everyone has by default.
Reload DTags or edit the tags in game
/dtags/dtags reload/dtags editNeeds dtags.admin, operators only by default.
Who has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| dtags.use | Everyone | Use /tags |
| dtags.admin | Operators | Reload the plugin and edit the tags in game |
plugins/DTags/aliases.yml
'dtags.tag.*'dtagspermissions:'dsmp.tag.*': 'dtags.tag.*'identifiers:dsmp: dtags
plugins/DTags/settings.yml
Tags: a small coloured label shown behind a player's name, like [EXAMPLE]. Edit, then run /dtags reload. Help and support: https://discord.devamy.net or dstudios@devamy.net
ENLanguage of the plugin's texts.
EN = English FR = French ES = Spanish
'�B5FF&lTAGS &8| 'Text shown in front of every chat message from this plugin. Use '' for no prefix. & colour codes and &#RRGGBB work.
'dtags.tag.'Which permission lets a player wear a tag? The tag id is added at the end of this text. Example: with 'dtags.tag.' the tag "example" needs dtags.tag.example. The old name 'dsmp.tag.' still works too, so tags players already own keep working. The point shop gives this permission when a tag is bought, and you can also give it by hand. If you change it here, change it in the point shop's categories/tags.yml too.
['off', 'remove', 'none']Words that take the tag off, as in /tags off. The point shop's remove button uses the first one. Keep each word in quotes, because YAML reads a bare off as false.
--- Showing the tag next to the name --- The tag is shown through the placeholder %dtags_tag%. The default chat format of the messages plugin already has it after the name. For the tab list, put it after the name in the TAB plugin's setup. The name is made of prefix + identifier below. %dtags_tag% always works, whatever you set here. The old name %dsmp_tag% still works too, so a TAB setup you already have keeps showing tags. Set a different prefix only if you want a third name as well, and put that name in TAB's groups.yml.
'dtags''tag'' &#%hex%&l[%name%]'How a worn tag looks. You can use: %name% (the tag's name) %hex% (its colour) The space at the start is on purpose: it keeps the tag from touching the last letter of the name.
--- Sounds --- Each event plays a Minecraft sound. For each one:
sound = the sound name (use '' for silence) volume = loudness, 1.0 is normal pitch = 1.0 is normal, higher is squeakier, lower is deeper
'entity.player.levelup'1.01.6'entity.villager.no'1.01.2'entity.villager.no'1.01.0--- Messages --- Chat messages. & colour codes and &#RRGGBB work. '' turns a message off (the action still happens).
'GF521Tag &8[%coloured%&8] GF521equipped!'You can use: %tag% (the tag's name) %coloured% (the name in its own colour) %hex% (just the colour)
'&#FF5C5CTag removed.''&#FF5C5CThere is no tag called &#FFD900%tag%&#FF5C5C.'You can use: %tag% (what the player typed)
'&#FF5C5CYou do not own that tag. Buy it in &#FFD900/pointshop&#FF5C5C.''&#FF5C5CYou are not allowed to do that.''&#FF5C5COnly players can use this.''GF521Reloaded - &f%count% GF521tags.'You can use: %count% (how many tags were loaded)
'Tags'In-game editor (/dtags edit): the names of its buttons.
'Tag %id%'You can use: %id% (the tag's id)
'Text in the brackets''Colour''Icon in the point shop''�B5FF» &fClick &7to edit'--- Database --- Where the tag each player wears is stored. With type default this plugin follows the database set in DCore's config.yml: a small sqlite file in this plugin's folder unless you chose mysql or mariadb there. Fill in the fields below only if this plugin should use a different database from the rest. Changes need a restart. The first start on this version moves data/tags.yml into the database by itself and keeps a copy in this plugin's backups folder.
defaultdefault follows DCore. Use sqlite, h2, mysql or mariadb to give this plugin its own database.
data/dtags.dbThe sqlite or h2 file inside this plugin's folder. Used when this plugin keeps its own file or when DCore uses a file database.
''A full jdbc:mysql:// or jdbc:mariadb:// address. When filled in, the fields below it are ignored.
localhostUsed only when type is mysql or mariadb. The database must exist and the user needs the right to create tables.
3306minecraft''''''Extra connection options joined with &, for example useSSL=false.
dtags_Every table of this plugin starts with this text. Use only a-z, 0-9 and _. Change it only if two servers must keep separate data in one database.
# Tags: a small coloured label shown behind a player's name, like [EXAMPLE].# Edit, then run /dtags reload.# Help and support: https://discord.devamy.net or dstudios@devamy.net# Used by updates. Do not edit.config-version: 1# Language of the plugin's texts.# EN = English# FR = French# ES = Spanishlanguage: EN# Text shown in front of every chat message from this plugin.# Use '' for no prefix. & colour codes and &#RRGGBB work.prefix: '�B5FF&lTAGS &8| '# --- How players pick a tag ---# /tags opens the point shop page that sells tags. /tags <id> wears one, /tags off takes it off.# The command that /tags (with nothing after it) runs for the player.# The default opens the "tags" page of the point shop, so players see one screen, not two.# '' = /tags alone does nothing.menu-command: 'pointshop tags'# Which permission lets a player wear a tag? The tag id is added at the end of this text.# Example: with 'dtags.tag.' the tag "example" needs dtags.tag.example.# The old name 'dsmp.tag.' still works too, so tags players already own keep working.# The point shop gives this permission when a tag is bought, and you can also give it by hand.# If you change it here, change it in the point shop's categories/tags.yml too.permission-prefix: 'dtags.tag.'# Words that take the tag off, as in /tags off. The point shop's remove button uses the first one.# Keep each word in quotes, because YAML reads a bare off as false.remove-words: ['off', 'remove', 'none']# --- Showing the tag next to the name ---# The tag is shown through the placeholder %dtags_tag%. The default chat format of the messages plugin# already has it after the name. For the tab list, put it after the name in the TAB plugin's setup.# The name is made of prefix + identifier below. %dtags_tag% always works, whatever you set here.# The old name %dsmp_tag% still works too, so a TAB setup you already have keeps showing tags.# Set a different prefix only if you want a third name as well, and put that name in TAB's groups.yml.placeholder:prefix: 'dtags'identifier: 'tag'# How a worn tag looks. You can use: %name% (the tag's name) %hex% (its colour)# The space at the start is on purpose: it keeps the tag from touching the last letter of the name.format: ' &#%hex%&l[%name%]'# --- The tags ---# Each tag has an id (what players type and what the permission ends with) and:# name = the text inside the brackets# hex = its colour as six letters/numbers, without the ## price = optional. Cost in stars, and the point shop's tags page then lists it by itself.# material = optional icon on that page. NAME_TAG if you leave it out.## To add a tag: add an entry here. With a price it is sold in the point shop by itself and the buyer gets the# permission. Without a price you give the permission (permission-prefix + id) by hand.# If you delete a tag, players lose it for now. Adding it back again returns it to them.tags:example:name: 'EXAMPLE'hex: '00B5FF'second:name: 'SECOND'hex: '71F521'# --- Sounds ---# Each event plays a Minecraft sound. For each one:# sound = the sound name (use '' for silence)# volume = loudness, 1.0 is normal# pitch = 1.0 is normal, higher is squeakier, lower is deepersounds:equipped:sound: 'entity.player.levelup'volume: 1.0pitch: 1.6removed:sound: 'entity.villager.no'volume: 1.0pitch: 1.2deny:sound: 'entity.villager.no'volume: 1.0pitch: 1.0# --- Messages ---# Chat messages. & colour codes and &#RRGGBB work. '' turns a message off (the action still happens).messages:# You can use: %tag% (the tag's name) %coloured% (the name in its own colour) %hex% (just the colour)equipped: 'GF521Tag &8[%coloured%&8] GF521equipped!'removed: '&#FF5C5CTag removed.'# You can use: %tag% (what the player typed)unknown-tag: '&#FF5C5CThere is no tag called &#FFD900%tag%&#FF5C5C.'not-owned: '&#FF5C5CYou do not own that tag. Buy it in &#FFD900/pointshop&#FF5C5C.'no-permission: '&#FF5C5CYou are not allowed to do that.'players-only: '&#FF5C5COnly players can use this.'# You can use: %count% (how many tags were loaded)reloaded: 'GF521Reloaded - &f%count% GF521tags.'# In-game editor (/dtags edit): the names of its buttons.editor-title: 'Tags'# You can use: %id% (the tag's id)editor-tag: 'Tag %id%'editor-name: 'Text in the brackets'editor-colour: 'Colour'editor-material: 'Icon in the point shop'editor-click: '�B5FF» &fClick &7to edit'# --- Database ---# Where the tag each player wears is stored. With type default this plugin follows the database set in DCore's config.yml:# a small sqlite file in this plugin's folder unless you chose mysql or mariadb there. Fill in the# fields below only if this plugin should use a different database from the rest. Changes need a restart.# The first start on this version moves data/tags.yml into the database by itself and keeps a copy in# this plugin's backups folder.database:# default follows DCore. Use sqlite, h2, mysql or mariadb to give this plugin its own database.type: default# The sqlite or h2 file inside this plugin's folder. Used when this plugin keeps its own file or when# DCore uses a file database.file: data/dtags.db# A full jdbc:mysql:// or jdbc:mariadb:// address. When filled in, the fields below it are ignored.url: ''# Used only when type is mysql or mariadb. The database must exist and the user needs the right to create tables.host: localhostport: 3306database: minecraftusername: ''password: ''# Extra connection options joined with &, for example useSSL=false.parameters: ''# Every table of this plugin starts with this text. Use only a-z, 0-9 and _. Change it only if two# servers must keep separate data in one database.table-prefix: dtags_
DCore
PlaceholderAPI. The tag is shown through %dtags_tag%, which TAB reads. Without PlaceholderAPI the commands still work, the tag just never appears.
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.