![[IMG]](/proxy/image?url=https%3A%2F%2Fcloud.k0bus.fr%2Findex.php%2Fs%2Fm7ijoTCoz43f4Bi%2Fpreview)
Commands :
- /tags (Or aliase in config.yml)
- Allow user accessing tag selector Gui (Need customtag.user permission)
- /ct reload (/customtag reload)
- Reload CustomTag settings / Reload tags.yml (Need customtag.admin permission)
- /ct <player> set <tag>
- /ct <player> remove
- /ct <player> info
- /ct
- Check if plugin loaded and show version
Settings :
Code (YAML):
lang
: en_US
tag
: '&r
[&6CustomTag&r
] '
gui-name
: '&6CustomTags'
How to add new tags ?
Go in your tags.yml and edit like this :
Code (YAML):
tagname:
name
: '
#ff8f00Tag in Gui'
tag
: '
#ff8f00Tag in Placeholder'
tag-female
: '
#ff8f00Tag for women in Placeholder'
price
: 20.0
unavailable-message
:
"You should buy VIP for this."
hide
: false
permission
: true
- name
- This text showed in ./tag
- tag
- This text replace CustomTag PlaceHolder
- tag-female
- This text replace CustomTag PlaceHolder for player select Women gender
- price
- Set a price if this is buyable
- unavailable-message
- Set a custom unavailable message for your tag
- hide
- If true your tag not showed if is not available
- permission
- If true player need permission customtag.use.tagname for using this tag
CustomCondition
For more customization you can now create your own condition in tags.yml with all placeholder like that :
Code (YAML):
conditions:
condition1:
placeholder
:
"%player_name%"
operator
:
"=="
value
:
"K0bus"
condition2:
placeholder
:
"%player_health%"
operator
:
"<="
value
:
"10"
All the available operator are :
- == : Text / number
- >= : Number only
- <= : Number only
- != : Number only
- > : Number only
- < : Number only
- contains : Text only
Placeholder
For using CustomTag PlaceHolder is : %customtag_tag%