Skip to content
JasperLorelai edited this page Oct 1, 2022 · 3 revisions

Version 5.1:

Changes:

  • You can now edit the expansion identifier in plugins/PlaceholderAPI/config.yml under magicspells.
  • Added placeholders:
    • %magicspells_int2hex_[int]%
    • %magicspells_unicode_[string]%

Placeholders:

Arguments in [] brackets are required, while arguments in () brackets are optional - the placeholders will work without them.

Placeholder Description
%magicspells_variable_[varname],(precision)% Returns MS variable value of the target, string or floating point.
%magicspells_variable_max_[varname],(precision)% Returns maximal value of MS variable value of the target, floating point.
%magicspells_variable_min_[varname],(precision)% Returns minimal value of MS variable value of the target, floating point.
%magicspells_cooldown_[spellname],(precision)% Returns MS initial spell cooldown.
%magicspells_cooldown_now_[spellname],(precision)% Returns current MS spell cooldown of the target.
%magicspells_charges_[spellname]% Returns MS initial spell charges.
%magicspells_charges_consumed_[spellname]% Returns consumed charges of the target.
%magicspells_mana%
%magicspells_mana_max%
%magicspells_buff_[spellname],(precision)% Returns initial buff spell duration.
%magicspells_buff_now_[spellname],(precision)% Returns current buff spell duration of the target.
%magicspells_selectedspell% Returns the internal name of the selected spell on the target's item.
%magicspells_int2hex_[int],(empty)% Converts integers to hex. Useful for translating MS number variables to hex, combined with the unicode placeholder. Optional empty parameter should be a number of zeros to prepend. Optional because 4 is the default value.
%magicspells_unicode_[string]% Parses anything matching the unicode format to its character. (Format: \uXXXX)

Versions:

Clone this wiki locally