This plugin was created due to a few people wanting it and the SkillAPI developer not being interested in adding to the the basic expansion.
This should be fairly future proof. I may add requested variables but prefer to keep my spaghetti code off spigot.
Default Placeholders
These are basic SkillAPI placeholders that should cover what most people want. The placeholders are for the players current/default group.
These placeholders start with %sap_default_<variable>%.
An example is %sap_default_currentlevel%.
- currentlevel
- The players current level.
- maxlevel
- The players max level.
- currentmaxmana
- The players maximum mana.
- scurrentmaxmana
- The players maximum mana formatted.
- currentmana
- The players available mana.
- scurrentmana
- The players available mana formatted.
- currentmaxhealth
- The players maximum health.
- scurrentmaxhealth
- The players maximum health formatted.
- currenthealth
- The players available health.
- scurrenthealth
- The players available health formatted.
- currentmananame
- The players current groups mana name.
- scurrentmananame
- The players current groups mana name formatted.
- currentgroupname
- The players current group name.
- currentavailableattributepoints
- The players available attribute points.
- currentprefix
- The players current groups prefix.
- scurrentprefix
- The players current groups prefix formatted.
- currentexp
- The players exp.
- scurrentexp
- The players exp formatted.
- currentrequiredexp
- The players required exp for the next level.
- scurrentrequiredexp
- The players required exp for the next level fomatted
Player Placeholders
These are SkillAPI placeholders that will only work if the player has data in the chosen group.
These placeholders start with %sap_player_<groupname>_<variable>%.
An example is %sap_player_blacksmith_level%.
- attribute:<attributename>
- How many points the player has in that attribute.
- availableattributepoints
- How many available attribute points the player has.
- investedattributepoints
- How many available attribute points the player has. (AFIK)
- mainclass
- The name of the group.
- currentexp
- The current exp of the player in that group.
- requiredexp
- The required exp of the player in that group.
- scurrentexp
- The current exp of the player in that group formatted
- srequiredexp
- The required exp of the player in that group formatted.
- level
- The level of the player in that group.
- currentmana
- The available mana of the player in that group.
- maxmana
- The maximum mana of the player in that group.
- scurrentmana
- The available mana of the player in that group formatted.
- smaxmana
- The available mana of the player in that group formatted.
- scurrenthealth
- The available health of the player in that group formatted.
- smaxhealth
- The maximum health of the player in that group formatted.
- skillevel:<skillname>
- The players skill level of that skill in that group.
Group Placeholders
These are SkillAPI placeholders that much like the player ones but the player doesn't have to be in that group.
These placeholders start with %sap_group_<groupname>_<variable>%.
An example is %sap_group_warchief_level%.
- basehealth
- The health at level 1 of this group.
- sbasehealth
- The health at level 1 of this group formatted.
- basemana
- The mana at level 1 of this group.
- sbasemana
- The mana at level 1 of this group formatted.
- healthat:<level>
- The health you would have at chosen level.
- shealthat:<level>
- The health you would have at chosen level formatted.
- healthscale
- How much health scales per level of this group.
- manaat:<level>
- The mana you would have at chosen level.
- smanaat:<level>
- The mana you would have at chosen level formatted.
- mananame
- The mana name for this group.
- smananame
- The mana name for this group formatted.
- manaregen
- The mana regen for this group.
- manascale
- How much mana scales per level of this group.
- maxlevel
- The max level for this group.
- parent
- The parent group of this group. (Human > Blacksmith).
- prefix
- The prefix for this group.
- sprefix
- The prefix for this group formatted.
- requiredexpat:<level>
- The required exp you would need at the chosen level.
- children
- Returns the children of this group as a list. [Human, Orc, Troll]
- schildren
- Returns the children of this group as formatted a list. Human, Orc, Troll
Installation and Usage
The .jar goes into your /plugins directory NOT your PlaceholderAPI directory.
The variables can be used as %SAP_<variable_name>%.
Below are example usages in 4 popular plugins.
VentureChat: {sap_default_currentlevel}
DeluxChat: %sap_default_currentlevel%
ChatControlPlus: {sap_group_human_children}
Maximvdw's ActionBar, Featherboard, etc: {placeholderapi_sap_default_currentlevel}
Note: This plugin gets its placeholders from the API provided in the Free and Premium versions of SkillAPI as well as being created prior to "PlaceholderAPI" being added into the premium version. Happy to remove if requested by Eniripsa96.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta