 
                Customize weapon damage, armor durability and add critical hits to your server!

A powerful and highly customizable combat enhancement plugin that allows you to fully control weapon damage, armor protection, enchantments, and combat mechanics!
⚔️ Key Features
🤺 Weapon Systems
• Customize damage multipliers for all swords and axes
• Enable/disable weapon systems independently
• Configure damage for each material type
• Custom critical hit system with configurable chances and multipliers
✨ Advanced Protection Systems
• Enhanced shield mechanics (1.9+)
• Classic sword blocking system (1.8)
• Configurable damage reduction
• Custom shield disable duration for axes
⭐ Custom Enchantments
• Extended Protection enchantments (beyond level 5)
• Extended Unbreaking enchantments (beyond level 3)
• Fully configurable enchantment effects
• Independent toggle for each enchantment type
🔧 Enhanced Potion Effects
• Custom Strength effect system
• Configure damage per strength level
• Support for high-level strength effects
• Customizable multipliers per level
🏹 Damage Calculation
• Precise damage control
• Configurable damage rounding
• Custom decimal places
• Empty hand damage control
📌 General Features
• Simple reload command
• Clean configuration file
• Version support from 1.8 to 1.21
• Extensive documentation
🛠️ Commands
- /damagemodifier reload - Reloads the plugin configuration
- Permission: damagemodifier.reload
⚙️ Configurations:
# =========================================================
#  ____                                   __  __           _
# |  _ \  __ _ _ __ ___   __ _  __ _  __|  \/  | ___   __| |
# | | | |/ _` | '_ ` _ \ / _` |/ _` |/ _ \ |\/| |/ _ \ / _` |
# | |_| | (_| | | | | | | (_| | (_| |  __/ |  | | (_) | (_| |
# |____/ \__,_|_| |_| |_|\__,_|\__, |\___|_|  |_|\___/ \__,_|
#                              |___/
# =========================================================
# DamageModifier Premium
# Developed by wwishh
# Version: 1.2.4
#
# Compatible versions:
# - Primary support: 1.13.x - 1.20.x
# - Partial support: 1.9.x - 1.12.x (some features may be limited)
# - For 1.8.x servers, please use DamageModifier Legacy
#
# Discord Support: discord.gg/m8V9pns6dB
# ===========================================
#           COMBAT SYSTEMS
# ===========================================
# Weapon System
# Controls weapon damage multipliers and behavior
weapon_system:
  enabled: true                    # Master switch for weapon system
  sword_system: true              # Controls sword mechanics
  axe_system: true                # Controls axe mechanics
  # Sword Damage Configuration
  # Multiplier Guide:
  # - 1.0 = Default damage (100%)
  # - 1.5 = 50% more damage (150%)
  # - 0.5 = 50% less damage (50%)
  swords:
    WOODEN_SWORD: 1.0     # Basic sword damage
    STONE_SWORD: 1.1      # +10% damage
    IRON_SWORD: 1.2       # +20% damage
    GOLDEN_SWORD: 1.0     # Special: High enchantability
    DIAMOND_SWORD: 1.3    # +30% damage
    NETHERITE_SWORD: 1.4  # +40% damage
  axes:
    WOODEN_AXE: 1.0       # Basic axe damage
    STONE_AXE: 1.1        # +10% damage
    IRON_AXE: 1.2         # +20% damage
    GOLDEN_AXE: 1.0       # Special: High enchantability
    DIAMOND_AXE: 1.4      # +40% damage
    NETHERITE_AXE: 1.5    # +50% damage
# Defense System
defense:
  # Legacy Sword Block (1.8.x)
  sword_block:
    enabled: false              # Enable for 1.8 servers
    damage_reduction: 0.5       # 50% damage reduction
# Modern Shield System (1.9+)
  shield:
    enabled: true              # Enable for modern versions
    damage_reduction: 0.5      # Block 50% of incoming damage
    durability_multiplier: 1.0 # Shield durability loss rate
    disable_duration: 1.0      # Shield disable time when hit by axe (seconds)
# Combat Enhancement System
combat:
  # Critical Hit System
  critical_hits:
    enabled: true              # Enable critical hits
    base_multiplier: 1.25      # Base crit multiplier (1.25 = +25% damage)
    chance: 0.15               # 15% chance to crit
    weapon_specific: true      # Enable weapon-specific crit multipliers
# Weapon-specific critical multipliers
    multipliers:
      WOODEN_SWORD: 1.5
      STONE_SWORD: 1.5
      IRON_SWORD: 1.5
      GOLDEN_SWORD: 2.0    # Gold weapons: Double crit damage
      DIAMOND_SWORD: 1.5
      NETHERITE_SWORD: 1.5
      WOODEN_AXE: 1.5
      STONE_AXE: 1.5
      IRON_AXE: 1.5
      GOLDEN_AXE: 2.0     # Gold weapons: Double crit damage
      DIAMOND_AXE: 1.5
      NETHERITE_AXE: 1.5
# Strength Effect Enhancement
  strength_effect:
    enabled: true              # Enable custom strength effect
    base_multiplier: 3.0       # Damage per level (vanilla = 3.0)
    max_vanilla_level: 2       # Maximum vanilla behavior level
    custom_levels:             # Custom high-level effects
      3: 9.0                  # Strength III: +9 damage
      4: 12.0                 # Strength IV: +12 damage
      5: 15.0                 # Strength V: +15 damage
# ===========================================
#         ENCHANTMENT SYSTEMS
# ===========================================
enchantments:
  enabled: true               # Master switch for enchantment system
# Protection Enchantment
  protection:
    enabled: true            # Enable custom protection
    max_vanilla_level: 4     # Vanilla max level
    max_reduction: 0.80      # Maximum damage reduction (80%)
    custom_levels:           # Extended protection levels
      5: 0.25               # Protection V: 25% reduction
      6: 0.30               # Protection VI: 30% reduction
      7: 0.35               # Protection VII: 35% reduction
# Unbreaking Enchantment
  unbreaking:
    enabled: true            # Enable custom unbreaking
    max_vanilla_level: 3     # Vanilla max level
    custom_levels:           # Extended unbreaking levels
      4: 0.20               # Level IV: 20% durability loss chance
      5: 0.16               # Level V: 16% durability loss chance
      6: 0.14               # Level VI: 14% durability loss chance
# ===========================================
#         ARMOR SYSTEM
# ===========================================
armor:
  enabled: true              # Master switch for armor system
# Durability multipliers per armor type
  # Values above 1.0 increase durability
  # Values below 1.0 decrease durability
  durability:
    LEATHER:
      enabled: true
      helmet: 1.0           # Standard durability
      chestplate: 1.0
      leggings: 1.0
      boots: 1.0
CHAINMAIL:
      enabled: true
      helmet: 1.2           # +20% durability
      chestplate: 1.2
      leggings: 1.2
      boots: 1.2
IRON:
      enabled: true
      helmet: 1.5           # +50% durability
      chestplate: 1.5
      leggings: 1.5
      boots: 1.5
GOLDEN:
      enabled: true
      helmet: 1.0           # Standard durability
      chestplate: 1.0
      leggings: 1.0
      boots: 1.0
DIAMOND:
      enabled: true
      helmet: 2.0           # Double durability
      chestplate: 2.0
      leggings: 2.0
      boots: 2.0
NETHERITE:
      enabled: true
      helmet: 2.5           # +150% durability
      chestplate: 2.5
      leggings: 2.5
      boots: 2.5
# ===========================================
#         TECHNICAL SETTINGS
# ===========================================
# Damage Calculation Settings
damage:
  round_numbers: true        # Round damage values
  decimal_places: 1          # Number of decimal places
  ignore_empty_hands: true   # Don't modify empty hand damage
  min_damage_percent: 0.2    # Minimum damage dealt (20% of base)
# Performance Settings
performance:
  cache_enabled: true        # Enable damage calculation cache
  cache_cleanup: 300         # Cache cleanup interval (seconds)
  debug_mode: false           # Enable debug messages
# Version-specific features:
# 1.9+: Shield mechanics, offhand functionality
# 1.13+: Modern material names
# 1.16+: Netherite equipment
#
# Note: Some features will automatically disable on unsupported versions
# ===========================================
#              EXAMPLES
# ===========================================
# 1. Double Diamond Sword damage:
#    weapon_system.swords.DIAMOND_SWORD: 2.0
#
# 2. Make Protection V reduce 40% damage:
#    enchantments.protection.custom_levels.5: 0.40
#
# 3. Make Strength III add 10 damage:
#    combat.strength_effect.custom_levels.3: 10.0
#
# 4. Make shields block 75% damage:
#    defense.shield.damage_reduction: 0.75
# ███████╗██████╗ ███╗   ███╗     ██╗     ███████╗ ██████╗  █████╗  ██████╗██╗   ██╗
# ██╔════╝██╔══██╗████╗ ████║     ██║     ██╔════╝██╔════╝ ██╔══██╗██╔════╝╚██╗ ██╔╝
# █████╗  ██║  ██║██╔████╔██║     ██║     █████╗  ██║  ███╗███████║██║      ╚████╔╝
# ██╔══╝  ██║  ██║██║╚██╔╝██║     ██║     ██╔══╝  ██║   ██║██╔══██║██║       ╚██╔╝
# ██║     ██████╔╝██║ ╚═╝ ██║     ███████╗███████╗╚██████╔╝██║  ██║╚██████╗   ██║
# ╚═╝     ╚═════╝ ╚═╝     ╚═╝     ╚══════╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝   ╚═╝
#
# DamageModifier Legacy (1.8.x)
# Developed by wwishh
# Version: 1.2.4
#
# Compatible versions: 1.8.x only
# Discord Support: discord.gg/m8V9pns6dB
#
# This is the legacy version of DamageModifier, specifically optimized for 1.8.x servers.
# It maintains vanilla-like combat mechanics while allowing customization of damage values.
# Weapon System Configuration
# Configure damage multipliers for different weapons
weapon_system:
  enabled: true
  swords:
    # Vanilla 1.8 sword damage values (multipliers)
    WOOD_SWORD: 4.0    # Base damage for wooden sword
    STONE_SWORD: 5.0   # Base damage for stone sword
    IRON_SWORD: 6.0    # Base damage for iron sword
    GOLD_SWORD: 4.0    # Base damage for golden sword
    DIAMOND_SWORD: 7.0 # Base damage for diamond sword
axes:
    # Vanilla 1.8 axe damage values (multipliers)
    WOOD_AXE: 3.0      # Base damage for wooden axe
    STONE_AXE: 4.0     # Base damage for stone axe
    IRON_AXE: 5.0      # Base damage for iron axe
    GOLD_AXE: 3.0      # Base damage for golden axe
    DIAMOND_AXE: 6.0   # Base damage for diamond axe
# Defense System Configuration
defense_system:
  sword_block:
    enabled: true       # Enable/disable sword blocking (1.8 mechanic)
    multiplier: 0.5     # Damage reduction when blocking (0.5 = 50% reduction)
# Critical Hit System
critical_hits:
  enabled: true        # Enable/disable critical hits
  chance: 0.2         # Chance of critical hit (0.2 = 20%)
  multiplier: 1.5     # Damage multiplier for critical hits
  visual_effect: true # Show critical hit particles
# Performance Settings
performance:
  debug_mode: false   # Enable debug messages in console
  round_damage: true  # Round damage values
  decimal_places: 1   # Number of decimal places for damage values
# Note: This legacy version does not support:
# - Shields (introduced in 1.9)
# - Netherite items (1.16+)
# - Modern combat mechanics
# - Offhand functionality
#
# For modern Minecraft versions (1.9+), please use the standard DamageModifier version.📦 Installation
1. Stop your server
2. Place the plugin .jar in your plugins folder
3. Start the server
4. Configure the plugin in config.yml
5. Use /damagemodifier reload to apply changes
🔧 Version Support
• Full support for Minecraft 1.8 - 1.21
• Automatic version detection
• Version-specific features
• Backwards compatibility
💡 Examples
• Make diamond swords deal double damage
• Create custom protection levels beyond vanilla
• Configure unique strength potion effects
• Customize shield mechanics
• Extend enchantment capabilities
🆘 Support
If you find any bugs or have suggestions, please report them in the discussion section.