Placeholders - CryptoMorin/SkillsPro GitHub Wiki
SkillsPro supports its own placeholders without needing a placeholder plugin. It supports PlaceholderAPI & MVdWPlaceholderAPI. You don't need to download the expansion from Papi ecloud, they're internally implemented into the plugin. The plugin's internal placeholder system is much more optimized than any other placeholder plugin, so it's technically better if you don't install these plugins when you don't need to use them.
Short & Fancy Placeholders
SkillsPro has a very unique feature for showing number placeholders. These features can also be used via PlaceholderAPI.
Short Placeholders
A short placeholder is a number placeholder that is shortened with number suffixes for big numbers to fix in small messages.
To display a number placeholder as a short placeholder, you have to use short
after %skills_
So the proper format would be %skills_short_<placeholder>%
Fancy Placeholders
A fancy placeholder is a number placeholder that is formatted with the currency format ###.00
.
To display a number placeholder as a fancy placeholder, you have to use fancy
after %skills_
So the proper format would be %skills_fancy_<placeholder>%
Examples:
Short Placeholder | Fancy Placeholder | Value | Short Output | Fancy Output |
---|---|---|---|---|
%skills_short_level% |
%skills_fancy_level% |
130 | 130 | 130 |
%skills_short_xp% |
%skills_fancy_xp% |
12330.34 | 12.3K | 12,330.34 |
%skills_short_souls% |
%skills_fancy_souls% |
42345234 | 42.3M | 42,345,234 |
Placeholders
If you don't have a kingdom, all the text (string) placeholder will output an empty text (no spaces) and all the number placeholders will give 0 with a few exceptions.
Placeholder | Description |
---|---|
%skills_skill% |
Your skill internal name. The name used for files in Skills folder. |
%skills_skill_displayname% |
Your skill name that is in each skill config defined with name |