sets settings - magemonkeystudio/divinity GitHub Wiki

βš™οΈ settings.yml

This file controls global settings for how item sets are displayed and matched in the Sets module, including command aliases, formatting of set elements, and lore layout.


πŸ“ File Location

plugins/Divinity/modules/sets/settings.yml

🧾 Configuration

command-aliases: sets

format:
  element:
    active: '%c% %name% &aβœ“'
    inactive: '%c% %name% &cβœ—'
  lore:
    - '&8---------------'
    - '%set%:'
    - '%elements%'
    - '%effects%'

πŸ” Explanation of Settings

Key Description
command-aliases Specifies the command label players will use (e.g., /sets).
format.element.active Controls how individual set elements appear when equipped. %c% is replaced by the color defined in the item file, %name% by the element name.
format.element.inactive Same as above, but shown when the piece is missing.
format.lore Sets the layout of the set bonus section in item lore:
  • %set% is replaced with the set name
  • %elements% shows each piece and whether it’s active
  • %effects% displays the bonuses currently unlocked |

πŸ“˜ Example Lore Output

When two of four items from a set are equipped:

&8---------------
&eWild Cat Set:
&aβœ“ Broken Helmet of Wild Cat
&cβœ— Broken Chestplate of Wild Cat
&aβœ“ Broken Leggings of Wild Cat
&cβœ— Broken Boots of Wild Cat
&6- +25% PvE Damage
&6- +10 Max. Health
&6- Speed I

The display updates in real-time as the player equips or removes set items.


πŸ”— Back to Hub

← Return to Sets Module