-
Notifications
You must be signed in to change notification settings - Fork 0
Tag configuration
Houska02 edited this page Jul 3, 2023
·
6 revisions
What is tag?
Tag can be a text that appears, for example, before a players's name. Player can select special tag from menu and in Tags.yml
you are setting items (that will appear in menu) and tag formats.
And everything related to this file
In this file you can create or edit tags and items that will be in /tag
menu. You ca also create categories, where you can put the tags to keep them sorted. I would personally recomend doing this if you have a large number of tags.
- Setting up Tags
- Creating categories
- Developers Guide (TODO)
Tags.yml file
#### EXAMPLE
#tags:
# example:
# # The format you want the tag to have
# tag: "&4&lOwner &8&l|&7"
# # Information that will appear instead of %tag_info% in gui
# info: "Owner tag"
# enabled: true # ALL TAGS WITHOUT THIS SETTING ARE ENABLED
#
# # These options are not needed. For example if you want something special for one specific tag
# permission: "specialperm.tag.owner"
# # Special Name, used instead of path name.
# # Example: official name is superTag05 but you don't want player to see this. So you can use this.
# name: "SuperExample"
#
# # Special actions when tag is selected
# select:
# commands: []
# messages: []
#
# # You can find all item options here: https://github.com/TheDevTec/TheAPI/wiki/ItemMaker
# item:
# type: "DIAMOND" # YOU ALWAYS NEED TYPE IF YOU WANT TO CHANGE SOMETHING (just name or lore).
# # displayName will be on material in GUI
# displayName: "&7&l» %tag_name%"
# lore: []
# # If you want to have HEAD as item, you need to set type to "PLAYER_HEAD"¨
# # and use these settings:
# head:
# type: ""
# owner: ""
tags:
default:
tag: "&7&lPlayer &8&l|&7"
info: "Default tag"
enabled: true # ALL tags enabled unless specified otherwise
#categories:
# test:
# # Add here all the tags you want to put in the category
# content:
# - "Owner"
# - "quest_2"
#
# ## Special option:
# # This option can show special group of tags, ALL or PERM
# # ALL - will show all tags
# # PERM - just tags that player can use (if player can see tag and can't use it, it won't show in this category)
# special: "ALL"
# ## Permissions:
# # Special permission to OPEN this category in menu (not needed)
# permission: ""
# # Special permission to SEE this category in menu (not needed) (menu could look bit ugly)
# see_permission:
# ## Item options:
# # All item settings here: https://github.com/TheDevTec/TheAPI/wiki/ItemMaker
# item:
# type: "PAPER"
# displayName: "Test category"
# lore:
# - "amazing category, CLICK!!"
# # If slot is -1, GUI will automatically add items in order (like tags)
# slot: 5
- Home
-
Tag configuration
- Setting up Tags
- Creating categories
- Developers Guide
- GUI.yml configuration