UPDATE 2.0
Name: Holograms Nametags
Commands: (/Hologramstags and /hnt)
/Hologramstags (open GUI)
Admin command: Hologramstags.admin
/Hologramstags set [player] [HologramsName] (temporarily assign a title to a player)
/Hologramstags create [HologramsName] (create a title with the default display name "NONAME")
/Hologramstags tags set [HologramsName] [HologramsDisplay] <line> (modify the display name and line number for tags)
/Hologramstags tags remove [HologramsName] <line> (remove a line from the created tags)
/Hologramstags add [HologramsName] <effect> (add an effect to the title)
/Hologramstags remove [HologramsName] [effect] (remove an effect from the title)
/Hologramstags describe [HologramsName] <describe> <line> (add description lines for the displayed tags in the GUI)
/Hologramstags Delete [HologramsName] (delete the created tags, requires running the command twice to confirm deletion)
/Hologramstags reload (reload the plugin)
/Hologramstags maxtags <value> (adjust the maximum number of tags that can be equipped on the server)
New Permissions:
Hologramstags.admin (access admin commands)
Hologramstags.tags.equi.<value> (number of tags that can be equipped)
Features:
+ Added permissions to titles
+ Supports PlaceholderAPI (PAPI)
+ Supports additional EXP gain when killing mobs with SkillAPI
+ Supports English and Vietnamese languages (LANG file)
Updated default GUI display as shown in the image:
https://imgur.com/a/ImsSwIa
The default item displayed for each tag is a minecraft:name_tag, but the item ID can be customized in the YAML file.
After equipping tags, the selected slot will automatically change its display type to redstone. When not equipping tags, the type will revert to the previously set type in the tags.yml file.
New features for items in the GUI:
- Paper: Allows switching between pages.
- Beacon: Toggles between two states of the tags.
- The first state displays owned tags.
- The second state displays existing tags, excluding certain specific tags that are set to be hidden in the YAML file.
Updated file names:
- Config.yml (no changes required)
- Renamed custom.yml to tags.yml
Specific changes in the tags.yml file:
Default template:
- Permission: "Hologramstags.default"
- type: minecraft:name_tag (default type for each tag)
- Describe: (added description lines displayed in the GUI)
- "This is the coolest tag"
- Tags: /Hologramstags tags set [HologramsName] [HologramsDisplay] <line>
- "Line 1"
- "Line 2"
- Buffs: /Hologramstags add [HologramsName] <effect> <level>
- "HEALTH_BOOST:1"
- "EXP:1"
- The sorting of tags is based on the order in which players receive them: 0->1->2->?
- For admins, the sorting is based on the ranking in the tags.yml file.
Updated config.yml file:
- Default height of tags: 2.3
- Change time for switching tags to a different form (measured in ticks, 20 ticks = 1 second)
- GUI name: "&eGUI"
- MaxTags: "&cAdmin &a<player> has set the maximum number of equipped tags to <value> for the entire server"
- EquipMax: "&aYou can only equip a maximum of <value> tags."
- CanNotUse: "&cYou do not have permission to use this tag"
- Selected: "&aYou have equipped the tag [HologramsDisplay]" (only displays line 1)
- Reload: "&aReload successful"
- NoPermission: "&cYou do not have permission to use this command"
- ErrorCommand: "&cIncorrect command, please check again"
- ErrorPlayer: "&cPlayer not found, please check again"
Removed the following lines from tags.yml:
Slot: 0
Selected:
Type: "DIAMOND_BLOCK"
Name: "&eSelected Title 1"
Lore:
- "&f- Click to deselect."
NotSelected:
Type: "STONE"
Name: "&aNot Selected Title 1"
Lore:
- "&f- Click to select."
CanNotUse:
Type: "BEDROCK"
Name: "&cCannot Select Title 1"
Lore:
- "&f- You need the medal.danhhieu1 rank to select."
Language file:
+ Language settings can be adjusted in the GUI and some areas that do not affect the operation of the plugin.
Translation to English.