placeholders - magemonkeystudio/divinity GitHub Wiki
🧩 Placeholders
Divinity supports dynamic placeholders for use with PlaceholderAPI, allowing you to display player item stats, damage types, and defense bonuses in chat, GUIs, scoreboards, and more.
📦 Supported Placeholders
Placeholder | Description |
---|---|
%divinity_itemstat_[TYPE]% |
Displays the item stat value of the item in the player’s hand. Replace [TYPE] with a stat like strength , crit , or haste . |
%qrpg_damage_[TYPE]% |
Displays the active damage bonus for a given damage type (e.g. fire , dark , true ). |
%qrpg_defense_[TYPE]% |
Displays the active defense value for a specific type (e.g. armor , block , magic ). |
🧪 Examples
Placeholder | Example Output |
---|---|
%divinity_itemstat_strength% |
+12 |
%qrpg_damage_fire% |
+8.5 |
%qrpg_defense_block% |
+6.0 |
✅ Setup
To use these:
- Make sure PlaceholderAPI is installed.
- Install and enable the Divinity plugin (Codex required).
- Use the placeholders in any compatible plugin (EssentialsX, Scoreboard plugins, etc.).
🧩 Custom Expansion?
All placeholders are registered automatically through Codex’s internal placeholder engine — no need to manually register an expansion.