Skip to content

Configuration

Nik edited this page Aug 2, 2026 · 1 revision
# +----------------------------------------------------------------------------------------------+
# |                                                                                              |
# |                                          QualityCombat                                       |
# |                                                                                              |
# |                               Discord: https://discord.gg/m7j2Y9H                            |
# |                                                                                              |
# |                                           Author: Nik                                        |
# |                                                                                              |
# +----------------------------------------------------------------------------------------------+
# How often should we clear invalid player cache? (In minutes)
cache_interval: 10

# Should the bypass permission be disabled?
# Enabling this means all players including operators will be unable to bypass the combat log, features e.t.c
disable_bypass_permission: false

# Combat Log
combatlog:

  # Should we enable this?
  enabled: true

  # How long should players be tagged? (In seconds)
  cooldown: 15

  # Should players get tagged when fighting Mobs?
  mobs: false

  # Should players get tagged if they shoot players with projectiles?
  projectiles: true

  # Should Combat Plus send an Actionbar message to the player?
  actionbar: true

  # Should Combat Plus broadcast when a player dies due to logging out when tagged?
  broadcast: true

  # Should we disable the tagged player's flight?
  disable_flight: true

  # Should we prevent elytra gliding when tagged?
  disable_elytra: true

  # Should we prevent riptiding when tagged?
  disable_riptide: true

  # Should we prevent tagged players from teleporting?
  prevent_teleportations: true

  # Should we prevent tagged players from using ender pearls?
  prevent_enderpearl_usage: false

  # Should we prevent tagged players from dropping items?
  prevent_dropping_items: false

  # Should we prevent tagged players from picking up items?
  prevent_picking_items: false

  # Fake Wall Settings
  fake_wall:

    # Should we prevent combat tagged players from moving outside PvP areas?
    # Quality Combat will automatically detect your protection plugin
    enabled: true

    # Any valid block material name (ie BARRIER)
    wall_material: RED_STAINED_GLASS

    # The range before the fake wall is shown
    range: 10

    # The throttle value for the fake wall
    throttle: 200

    # How many blocks out from center (in each direction) the fake wall extends (1 = 3x3 wall)
    radius: 3

    # How long (in ticks, 20 = 1 second) the fake blocks stay before reverting to the real block
    ticks: 40

  # Worlds listed below will be exempted
  disabled_worlds:
    - example_world

  # Combat Log Disabled Commands
  commands:

    # Should we prevent tagged players from Using Commands?
    enabled: true

    # Commands listed below will not be blocked from tagged players
    excluded:
      - /heal
      - /feed

# Damage Effects
damage_effects:

  # Should we enable this?
  enabled: true

  # Hit Effect
  hit_effect:

    # Should we enable hit effects?
    enabled: true

    # The particle effect to show when a player hits an entity
    effect: ENDER_SIGNAL

    # The amount of particle effects to show
    amount: 2

  # Damage - Health Indicator
  indicator:

    # Should we enable the indicator?
    enabled: true

    # For how long should the indicator show? (In ticks)
    show_ticks: 20

    # How often should the indicator update? (In ticks)
    update_interval: 2

    # The indicator format to show
    # Color codes allowed
    format: '&6-%damage% &r%healthbar%'

    # Health Bar
    healthbar:

      # The health symbol
      health_symbol: ❤

      # The available health color
      health_color: RED

      # The missing health color
      missing_health_color: DARK_GRAY

# Ender Pearl Cooldown
enderpearl_cooldown:

  # Should we enable this?
  enabled: true

  # The cooldown for ender pearl usage
  cooldown: 10

  # Worlds listed below will be exempted
  disabled_worlds:
    - example_world

# Golden Apple Cooldown
golden_apple_cooldown:

  # Should we enable this?
  enabled: true

  # The cooldown for eating golden apples
  cooldown: 10

  # Worlds listed below will be exempted
  disabled_worlds:
    - example_world

# Enchanted Golden Apple Cooldown
enchanted_golden_apple_cooldown:

  # Should we enable this?
  enabled: true

  # The cooldown for eating enchanted golden apples
  cooldown: 10

  # Worlds listed below will be exempted
  disabled_worlds:
    - example_world

# Custom Attack Speed
# NOTE: This module is not available in 1.8.8
custom_attack_speed:

  # Should we enable this?
  enabled: true

  # The custom attack speed to set to players
  # The default value removes the cooldown entirely
  attack_speed: 24

# Custom Player Health
# NOTE: This module is not available in 1.8.8
custom_player_health:

  # Should we enable this?
  enabled: false

  # The custom player health to set to players
  player_health: 40

# Custom Hit Delay
custom_hit_delay:

  # Should we enable this?
  enabled: true

  # The hit delay to be applied for players
  players: 15

  # The hit delay to be applied for mobs
  mobs: 15

# Player Kill Animation
player_kill_animation:

  # Should we enable this?
  enabled: true

  # The animation to use when the player gets killed
  # Available animations: FLAME, ENDER
  animation: FLAME

# Custom Armor Durability
custom_armor_durability:

  # Should we enable this?
  enabled: true

  # The durability reduction amount
  reduction_amount: 2

# Custom Player Knockback
custom_player_knockback:

  # Should we enable this?
  enabled: true

  # Should we optimize math randomness?
  # It's recommended to keep this enabled for perfomance reasons
  optimized_randomness: true

  # The velocity friction
  friction: 2.0

  # The horizontal knockback
  horizontal: 0.35

  # The extra horizontal knockback
  extra_horizontal: 0.425

  # The vertical knockback
  vertical: 0.35

  # The extra vertical knockback
  extra_vertical: 0.085

  # The vertical velocity limit
  vertical_limit: 0.4

# Custom Player Regeneration
# NOTE: This module is not available in 1.8.8
custom_player_regeneration:

  # Should we enable this?
  enabled: true

  # The regeneration rate (In seconds)
  # The default value replicates 1.8 regeneration
  frequency: 3

  # The regeneration amount
  # The default value replicates 1.8 regeneration
  amount: 1

  # The exhaustion amount
  # The default value replicates 1.8 regeneration
  exhaustion: 3

# Fishing Rod Knockback
# NOTE: This module is not available in 1.8.8
fishing_rod_knockback:

  # Should we enable this?
  enabled: true

  # The knockback damage
  damage: 0.01

  # Should we disable the fishing rod dragging mechanic?
  cancel_dragging: true

Clone this wiki locally