Pages » Qrpg » Modules » Sets


Settings.yml

# Lore format.
format:
  # Set element format.
  # Placeholders:
  # - %name% - Name of the Set Element.
  element:
    active: '%c%• %name% &a✓'
    inactive: '%c%• %name% &c✗'
  # Text, that will replace the %ITEM_SET% placeholder in item lore.
  # Placeholders:
  # - %set% - Item Set name.
  # - %elements% - List of Set Elements with format above.
  # - %effects% - List of Set Element bonuses.
  lore:
  - ''
  - '%set%:'
  - '%elements%'
  - ''
  - '%effects%'

Set Example

NOTE: Item will be count as a Set Element, only if both item Material and item Name (regardless of the color) are equals to the one of any set elements.

# Set name.
name: '&eWild Cat Set'
# Set Prefix and Suffix.
prefix: '&a&fBroken '
suffix: 'of Wild Cat'
# Set colors.
color:
  active: '&a'
  inactive: '&8'
Set elements.
elements:
  # Element identifier. Must be unique.
  helmet:
    # List of Materials that are applicable to this element.
    materials:
    - GOLDEN_HELMET
    # Name of the Set Element.
    # Placeholders:
    # - %prefix% - Set Prefix.
    # - %suffix% - Set Suffix.
    name: '%prefix%Helmet %suffix%'
  chestplate:
    materials:
    - GOLDEN_CHESTPLATE
    name: '%prefix%Chestplate %suffix%'
  leggings:
    materials:
    - GOLDEN_LEGGINGS
    name: '%prefix%Leggings %suffix%'
  boots:
    materials:
    - GOLDEN_BOOTS
    name: '%prefix%Boots %suffix%'

# List of Set bonuses.
bonuses:
  # Amount of Set Elements that entity must have equipped to unlock the bonus.
  by-elements-amount:
    '2':
      # This text will replace %effects% placeholder in global set lore format.
      lore:
      - '%c%&lSet Bonuses (2/4):'
      - '%c%▸ +25% PvE Damage'
      - '%c%▸ +10 Max. Health'
      - '%c%▸ Speed I'
      # Provide Item Stats bonuses here.
      # Add percent (%) symbol at the end of value to make it work as a multiplier. 
      # Multiplier = (1 + Value / 100). Example: 15% BURN_RATE = BURN_RATE * 1.15, while flat 15 BURN_RATE = BURN_RATE + 15.
      item-stats:
        MAX_HEALTH: 10.0
        PVE_DAMAGE: 25
      # Provide Damage Type bonuses here.
      # Add percent (%) symbol at the end of value to make it work as a multiplier. 
      damage-types: {}
      # Provide Defense Type bonuses here.
      # Add percent (%) symbol at the end of value to make it work as a multiplier. 
      defense-types: {}
      # Provide Potion Effect bonuses here.
      # Key = Effect, Value = Level.
      potion-effects:
        SPEED: 1
18+