-
-
Notifications
You must be signed in to change notification settings - Fork 4
Placeholders
Moros edited this page Mar 31, 2024
·
8 revisions
Bending supports placeholders for:
- Multiple platforms through MiniPlaceholders
- Paper platform through PAPI
- Sponge platform through the builtin api
- Fabric platform through Patbox's Placeholder API
Placeholder | Argument | Description |
---|---|---|
bending_elements |
Returns all of the player's current elements separated by commas | |
bending_element |
Returns the player's current element (alternatively returns Avatar/NonBender if user has more/less than 1 element | |
bending_display_name |
Returns the player's display name using the proper color to describe their element if not overriden | |
bending_selected_ability |
Returns the player's selected ability | |
bending_slot |
<slot> |
Returns the ability display name for the selected slot [1-9] |
bending_ability_info |
<ability> |
Returns the description and instructions for the specified ability |
Parsing the placeholders is platform dependent. In Bukkit for instance (using PAPI) placeholders are wrapped in %
and the argument is appended at the end, after an underscore (_
).
<bending_elements>
<bending_ability_info:fireblast>
%bending_elements%
%bending_ability_info_fireblast%
%bending:elements%
%bending:ability_info/fireblast%