What is ArmorPlaceholders? It uses PlaceholderAPI (PAPI) to return a number based on the items a player is holding and equipped with.
To use ArmorPlaceholders you must have
PlaceholderAPI installed
Available Placeholders
%armorplaceholders_calculate% - This is how you return the score from PlaceHolderAPI.
%armorplaceholders_calc% - Alternate shorter placeholder
Example config
In the config, you have default values for materials and enchantments. It is optional to assign specific points to specific materials.
Code (Text):
# ------------- Default Settings -------------
check-main-hand: true
check-offhand-hand: true
check-armor: true
only-include-defined-items: true
apply-damage-scale-to-enchantments: true
item-default-value: 1.0
enchantment-default-value: 0.5
use-item-damage-scale: true
enchantment-level-scale: 1.0
final-scale: 1.0
final-score-cap: 500
enchantments:
SHARPNESS:
1: 11.0
2: 22.0
3: 33.0
4: 44.0
5: 55.0
materials:
WOODEN_SWORD: 2.0
STONE_SWORD: 3.0
IRON_SWORD: 7.0
GOLDEN_SWORD: 3.0
DIAMOND_SWORD: 12.0
NETHERITE_SWORD: 17.0
For more details, see the wiki page:
Home · stumper66/ArmorPlaceholders Wiki (github.com)
How to use it with LevelledMobs:
in LevelledMobs/rules.yml:
Code (YAML):
lvlmodifier-player-variable:
name
: 'LVL Modifier - Player Variable'
modifiers:
player-variable-mod:
player-variable
: '
%armorplaceholders_calculate%' # changed this variable from %level%
player-variable-scale
: 1.0
player-variable-tiers:
'31-45'
: 3-7
'16-30'
: 2-5
'0-15'
: 1-3
default
: 1
match-variable
: false
use-variable-as-max
: false
recheck-players
: true
decrease-output
: true
output-cap
: 25
preserve-entity
: 5s
Examples:
Join the Discord Arcane Plugins:
https://www.discord.io/arcaneplugins
Absolutely no support will be provided in the reviews section.
Rather, contact us via the Discord Server, or you can PM stumper66 if you can't use Discord.
The reviews section was designed specifically for reviews to be posted, not for questions, feature requests, bug reports, and so on. Our support team therefore cannot possibly reply to you here as the reviews section was never intended for providing support. We are left with no choice other than to disregard posts in the reviews section which are not reviews.
Thank you for your understanding 