Customize weapon damage, armor durability and add critical hits to your server!
A lightweight plugin that enhances your server's combat mechanics by allowing you to customize weapon damage, armor durability, and adding an exciting critical hit system!
⚔️ Features
• Customize damage multipliers for swords and axes
• Modify armor durability rates
• Critical hit system with configurable chance and multiplier
• Shield defense system (Modern) / Sword blocking defense (Legacy)
• Simple and clean configuration file
• Easy reload command
Commands
- /damagemodifier reload - Reloads the plugin configuration
- Permission: damagemodifier.reload
⚙️ Configuration
Everything can be easily customized in the config.yml:
# ██████╗ █████╗ ███╗ ███╗ █████╗ ██████╗ ███████╗
# ██╔══██╗██╔══██╗████╗ ████║██╔══██╗██╔════╝ ██╔════╝
# ██║ ██║███████║██╔████╔██║███████║██║ ███╗█████╗
# ██║ ██║██╔══██║██║╚██╔╝██║██╔══██║██║ ██║██╔══╝
# ██████╔╝██║ ██║██║ ╚═╝ ██║██║ ██║╚██████╔╝███████╗
# ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝
# ███╗ ███╗ ██████╗ ██████╗ ██╗███████╗██╗███████╗██████╗
# ████╗ ████║██╔═══██╗██╔══██╗██║██╔════╝██║██╔════╝██╔══██╗
# ██╔████╔██║██║ ██║██║ ██║██║█████╗ ██║█████╗ ██████╔╝
# ██║╚██╔╝██║██║ ██║██║ ██║██║██╔══╝ ██║██╔══╝ ██╔══██╗
# ██║ ╚═╝ ██║╚██████╔╝██████╔╝██║██║ ██║███████╗██║ ██║
# ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
#
# DamageModifier v1.3.1 - Modern Version (Minecraft 1.9+)
# Made by wwishh <3
# For support or bugs: Discord @wwishh
# ╔════════════════════════════════════════════════════════╗
# ║ WEAPONS CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Sword damage modifier settings
sword_damage_modifiers:
enabled: true # Set to false to completely disable sword damage modifiers
# Values greater than 1.0 increase damage
# Values less than 1.0 reduce damage
# Example: 1.3 = 30% more damage
WOOD_SWORD: 1.0 # Base damage for wooden sword
STONE_SWORD: 1.1 # 10% more damage than base
IRON_SWORD: 1.2 # 20% more damage than base
GOLD_SWORD: 1.0 # Same damage as base
DIAMOND_SWORD: 1.3 # 30% more damage than base
NETHERITE_SWORD: 1.4 # 40% more damage than base
# Axe damage modifier settings
axe_damage_modifiers:
enabled: true # Set to false to completely disable axe damage modifiers
# Works the same as sword multipliers
WOOD_AXE: 1.0 # Base damage for wooden axe
STONE_AXE: 1.1 # 10% more damage than base
IRON_AXE: 1.2 # 20% more damage than base
GOLD_AXE: 1.0 # Same damage as base
DIAMOND_AXE: 1.4 # 40% more damage than base
NETHERITE_AXE: 1.5 # 50% more damage than base
# ╔════════════════════════════════════════════════════════╗
# ║ DEFENSE CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Shield Settings
shield_configuration:
enabled: true # Set to false to disable shield mechanics
damage_reduction: 0.5 # Reduces damage by 50%
durability_multiplier: 1.0 # Shield Durability Multiplier
disable_duration: 1.0 # Duration in seconds that the shield is disabled when hit by an axe
# ╔════════════════════════════════════════════════════════╗
# ║ DURABILITY CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Main setting to enable/disable all armor durability modifiers
armor_durability:
enabled: true # Set to false to disable all armor durability modifications
# Durability modifiers for armor
# enabled: true/false - Enables or disables the modifier
# multiplier: Value that affects durability
# - Values greater than 1.0 = more durability
# - Values less than 1.0 = less durability
armor_durability_multipliers:
LEATHER:
enabled: true
multiplier: 1.0 # Base durability for leather
CHAINMAIL:
enabled: true
multiplier: 1.2 # 20% more durability than base
IRON:
enabled: true
multiplier: 1.5 # 50% more durability than base
GOLD:
enabled: true
multiplier: 1.0 # Same durability as base
DIAMOND:
enabled: true
multiplier: 2.0 # Double durability than base
NETHERITE:
enabled: true
multiplier: 2.5 # 150% more durable than base
# ╔════════════════════════════════════════════════════════╗
# ║ CRITICAL HITS CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Critical hits system
critical_hits:
enabled: true # Set to false to disable ALL critical hit functionality
default_multiplier: 1.5 # Default critical hit multiplier (1.5 = 50% more damage)
chance: 0.2 # Critical hit chance (0.2 = 20% chance)
visual_effect: true # Set to false to disable the critical hit visual effect
# Weapon-specific critical multipliers (only used when critical_hits.enabled is true)
weapon_multipliers:
WOOD_SWORD: 1.5
STONE_SWORD: 1.5
IRON_SWORD: 1.5
GOLD_SWORD: 2.0 # Gold weapons do double critical damage
DIAMOND_SWORD: 1.5
NETHERITE_SWORD: 1.5
WOOD_AXE: 1.5
STONE_AXE: 1.5
IRON_AXE: 1.5
GOLD_AXE: 2.0 # Gold weapons do double critical damage
DIAMOND_AXE: 1.5
NETHERITE_AXE: 1.5
# ╔════════════════════════════════════════════════════════╗
# ║ DAMAGE CALCULATION CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
damage_calculation:
round_damage: true # Whether the damage should be rounded
decimal_places: 2 # Number of decimal places for rounding
ignore_empty_hands: true # Whether empty-handed punches should be ignored
# ╔════════════════════════════════════════════════════════╗
# ║ METRICS CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Controls whether anonymous usage data is sent to bStats
metrics:
enabled: true # Set to false to completely disable metrics
# ╔════════════════════════════════════════════════════════╗
# ║ MESSAGES CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Use & for color codes, for example &a for green text
messages:
command:
reload_success: "&aConfiguration reloaded successfully!"
no_permission: "&cYou don't have permission to use this command."
usage: "&eUsage: /damagemodifier reload"
# ██████╗ █████╗ ███╗ ███╗ █████╗ ██████╗ ███████╗
# ██╔══██╗██╔══██╗████╗ ████║██╔══██╗██╔════╝ ██╔════╝
# ██║ ██║███████║██╔████╔██║███████║██║ ███╗█████╗
# ██║ ██║██╔══██║██║╚██╔╝██║██╔══██║██║ ██║██╔══╝
# ██████╔╝██║ ██║██║ ╚═╝ ██║██║ ██║╚██████╔╝███████╗
# ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝
# ███╗ ███╗ ██████╗ ██████╗ ██╗███████╗██╗███████╗██████╗
# ████╗ ████║██╔═══██╗██╔══██╗██║██╔════╝██║██╔════╝██╔══██╗
# ██╔████╔██║██║ ██║██║ ██║██║█████╗ ██║█████╗ ██████╔╝
# ██║╚██╔╝██║██║ ██║██║ ██║██║██╔══╝ ██║██╔══╝ ██╔══██╗
# ██║ ╚═╝ ██║╚██████╔╝██████╔╝██║██║ ██║███████╗██║ ██║
# ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
#
# DamageModifier v1.3.1 - Legacy Version (Minecraft 1.8)
# Made by wwishh <3
# For support or bugs: Discord @wwishh
# ╔════════════════════════════════════════════════════════╗
# ║ WEAPONS CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Sword damage modifier settings
sword_damage_modifiers:
enabled: true # Set to false to completely disable sword damage modifiers
# Values greater than 1.0 increase damage
# Values less than 1.0 reduce damage
# Example: 1.3 = 30% more damage
WOOD_SWORD: 1.0 # Base damage for wooden sword
STONE_SWORD: 1.1 # 10% more damage than base
IRON_SWORD: 1.2 # 20% more damage than base
GOLD_SWORD: 1.0 # Same damage as base
DIAMOND_SWORD: 5.3 # 30% more damage than base
# Axe damage modifier settings
axe_damage_modifiers:
enabled: true # Set to false to completely disable axe damage modifiers
# Works the same as sword multipliers
WOOD_AXE: 1.0 # Base damage for wooden axe
STONE_AXE: 1.1 # 10% more damage than base
IRON_AXE: 1.2 # 20% more damage than base
GOLD_AXE: 1.0 # Same damage as base
DIAMOND_AXE: 1.4 # 40% more damage than base
# ╔════════════════════════════════════════════════════════╗
# ║ DEFENSE CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Sword blocking configuration (mainly for 1.8)
sword_block_defense:
enabled: true # Set to false to disable sword blocking defense
# Lower value = more defense
# Example: 0.5 means damage is reduced by half
multiplier: 0.5 # Damage multiplier when blocking with a sword
# ╔════════════════════════════════════════════════════════╗
# ║ DURABILITY CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Main setting to enable/disable all armor durability modifiers
armor_durability:
enabled: true # Set to false to disable all armor durability modifications
# Durability modifiers for armor
# enabled: true/false - Enables or disables the modifier
# multiplier: Value that affects durability
# - Values greater than 1.0 = more durability
# - Values less than 1.0 = less durability
armor_durability_multipliers:
LEATHER:
enabled: true
multiplier: 1.0 # Base durability for leather
CHAINMAIL:
enabled: true
multiplier: 1.2 # 20% more durability than base
IRON:
enabled: true
multiplier: 1.5 # 50% more durability than base
GOLD:
enabled: true
multiplier: 1.0 # Same durability as base
DIAMOND:
enabled: true
multiplier: 2.0 # Double durability than base
# ╔════════════════════════════════════════════════════════╗
# ║ CRITICAL HITS CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Critical hits system
critical_hits:
enabled: true # Set to false to disable ALL critical hit functionality
default_multiplier: 1.5 # Default critical hit multiplier (1.5 = 50% more damage)
chance: 0.2 # Critical hit chance (0.2 = 20% chance)
visual_effect: true # Set to false to disable the critical hit visual effect
# Weapon-specific critical multipliers (only used when critical_hits.enabled is true)
weapon_multipliers:
WOOD_SWORD: 1.5
STONE_SWORD: 1.5
IRON_SWORD: 1.5
GOLD_SWORD: 2.0 # Gold weapons do double critical damage
DIAMOND_SWORD: 1.5
WOOD_AXE: 1.5
STONE_AXE: 1.5
IRON_AXE: 1.5
GOLD_AXE: 2.0 # Gold weapons do double critical damage
DIAMOND_AXE: 1.5
# ╔════════════════════════════════════════════════════════╗
# ║ DAMAGE CALCULATION CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
damage_calculation:
round_damage: true # Whether the damage should be rounded
decimal_places: 2 # Number of decimal places for rounding
ignore_empty_hands: true # Whether empty-handed punches should be ignored
# ╔════════════════════════════════════════════════════════╗
# ║ METRICS CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Controls whether anonymous usage data is sent to bStats
metrics:
enabled: true # Set to false to completely disable metrics
# ╔════════════════════════════════════════════════════════╗
# ║ MESSAGES CONFIGURATION ║
# ╚════════════════════════════════════════════════════════╝
# Use & for color codes, for example &a for green text
messages:
command:
reload_success: "&aConfiguration reloaded successfully!"
no_permission: "&cYou don't have permission to use this command."
usage: "&eUsage: /damagemodifier reload"
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
If you find any bugs or have suggestions, please report them in the discussion section.