NightExpress's Plugins Wiki

Create custom item sets and define bonuses for wearing the specified parts amount of the set.

Set Items:

  • Define the set item prefix and suffix or remove them.
  • Define the set color.
  • Define the items amount and item materials of the set.

Item Format:

  • Dynamic Lore: Highlights the equipped parts of the set and active set bonuses.
  • Define the lore order for item set info.

Stats, Damage, Defense and Potion Effect bonuses:

  • Amount of bonuses are limited only to the amount of Stats/Damage/Defense types.​
  • Bonuses are sums from all set parts like 2 parts + 4 parts.​
  • Bonuses may be both positive and negative.​
  • Bonuses may be as a multiplier to the current stats of holder.

Media:

Settings.yml

Default module settings are described HERE.

cfg_version: 0.1
command-aliases: sets
messages-output: ACTION_BAR

general:
  # Highlights for set parts.
  item-have: '%c%• %name% &a✓'
  item-miss: '%c%• %name% &c✗'
  # Set info format in item lore.
  lore:
  - ''
  - '%set%:'
  - '%parts%'
  - ''
  - '%effects%'

Sets

NOTE: This module only provides the sets setup, not the final items. To make the item with set bonuses you should do:

  • Create a set, setup it's prefix, suffix, parts and other things.
  • Create an item with the name that starts with set prefix, ends with set suffix and have the same name (which is between the prefix and suffix) as in set settings. Also, it must be the same type as in set settings.
  • Then you need to add the placeholder %SET% in any position of item lore.
  • If everything is correct, the placeholder will be replaced and item will have set bonuses.

# Name of the set
name: '&eWild Cat Set'
# Set prefix. Leave this empty for no prefix.
# Item name must starts with this text to be recognized as a part of the set.
prefix: '&a&fBroken '
# Set suffix. Leave this empty for no suffix.
# Item name must ends with this text to be recognized as a part of the set.
suffix: 'of Wild Cat'
# Set highlight colors.
color:
  have: '&a'
  miss: '&8'

# Set parts.
parts:
  # Part type.
  # Allowed values: HELMET, CHESTPLATE, LEGGINGS, BOOTS, MAIN_HAND, OFF_HAND.
  HELMET:
    enabled: true
    # Item Material.
    material: GOLDEN_HELMET
    # Full set item name including prefix and suffix.
    # %prefix% - Set prefix, %suffix% - Set suffix.
    name: '%prefix%Helmet %suffix%'
  CHESTPLATE:
    enabled: true
    material: GOLDEN_CHESTPLATE
    name: '%prefix%Chestplate %suffix%'
  LEGGINGS:
    enabled: true
    material: GOLDEN_LEGGINGS
    name: '%prefix%Leggings %suffix%'
  BOOTS:
    enabled: true
    material: GOLDEN_BOOTS
    name: '%prefix%Boots %suffix%'
# Set bonuses
effects:
  parts:
    # Amount of parts the holder should have equipped to get these bonuses.
    '2':
      # Bonus description.
      lore:
      - '%c%&lSet Bonuses (2/4):'
      - '%c%▸ +25% PvE Damage'
      - '%c%▸ +10 Max. Health'
      - '%c%▸ Speed I'
      # List of bonuses.
      bonuses:
        # Define stat bonus here.
        #
        # Format: ITEM_STAT : Number
        #
        # Add the percent (%) symbol at the end of number to make it work as a multiplier. 
        # Multiplier = (1 + Number / 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
          
        # Define damage bonus here.
        #
        # Format: Damage Type : Number
        #
        # Add the percent (%) symbol at the end of number to make it work as a multiplier. 
        # Multiplier = (1 + Number / 100). Example: 15% Damage = Damage * 1.15, while flat 15 Damage = Damage + 15.
        damage-types: {}
        
        # Define defense bonus here.
        #
        # Format: Defense Type : Number
        #
        # Add the percent (%) symbol at the end of number to make it work as a multiplier. 
        # Multiplier = (1 + Number / 100). Example: 15% Defense = Defense * 1.15, while flat 15 Defense = Defense + 15.
        defense-types: {}
      
      # Potion Effects.
      # Format PotionEffect:Level
      potion-effects:
      - 'SPEED:1'
Navigation