This page documents all configuration options available in plugins/EternalCombat/config.yml.
Reload Configuration
After making changes, reload the configuration with:
/combatlog reload
General settings
Basic plugin settings that control core behavior.
settings:# Notify players about new plugin updates when they joinnotifyAboutUpdates:true# How long a player stays in combat after being attackedcombatTimerDuration: 20s
# Worlds where combat logging is disabledignoredWorlds:- your_world
Option
Type
Default
Description
notifyAboutUpdates
boolean
true
Notify admins about plugin updates
combatTimerDuration
duration
20s
Combat duration after last hit
ignoredWorlds
list
[]
Worlds where combat is disabled
Combat Duration Examples
10s - Fast-paced servers, quick fights
20s - Standard, recommended for most servers
30s - Longer combat, harder to escape
Combat settings
Controls what players can and cannot do during combat.
combat:# Release attacker when victim diesreleaseAttackerOnVictimDeath:true# Disable elytra during combatdisableElytraUsage:truedisableElytraOnDamage:true# Disable flying during combatdisableFlying:true# Disable firework boosting during combatdisableFireworks:true# Block inventory access during combatdisableInventoryAccess:false
Option
Type
Default
Description
releaseAttackerOnVictimDeath
boolean
true
End combat for attacker when victim dies
disableElytraUsage
boolean
true
Prevent elytra deployment during combat
disableElytraOnDamage
boolean
true
Deactivate elytra when taking damage
disableFlying
boolean
true
Force flying players to the ground
disableFireworks
boolean
true
Block firework boosting during elytra flight
disableInventoryAccess
boolean
false
Block opening containers during combat
Damage cause logging
Control which environmental damage sources trigger combat:
combat:# Enable combat from environmental damageenableDamageCauseLogging:false# WHITELIST = only listed causes trigger combat# BLACKLIST = all causes except listed ones trigger combatdamageCauseRestrictionMode: WHITELIST
# Damage causes affected by the modeloggedDamageCauses:- LAVA
- CONTACT
- FIRE
- FIRE_TICK
Projectile settings
Configure which projectiles should NOT trigger combat:
combat:# Projectiles that don't trigger combatignoredProjectileTypes:- ENDER_PEARL
- EGG
Kick punishment settings
Configure when kicked players should NOT be punished for combat logging:
combat:# Kick reasons that won't punish the playerwhitelistedKickReasons:-"Kicked for inactivity"-"Timed out"-"Server is restarting"
Server Restart Protection
Adding "Server is restarting" to whitelisted kick reasons prevents players from being punished when you restart your server.
Command restrictions
Block or allow specific commands during combat.
commands:# WHITELIST = only listed commands are ALLOWED# BLACKLIST = listed commands are BLOCKEDcommandRestrictionMode: BLACKLIST
restrictedCommands:- gamemode
- spawn
- tp
- tpa
- tpaccept
Mode
Behavior
BLACKLIST
Commands in the list are blocked during combat
WHITELIST
Only commands in the list are allowed during combat
Typical Configurations
Survival Server (Blacklist mode)
restrictedCommands:- spawn
- home
- tpa
- tpaccept
- warp
Anarchy Server (minimal restrictions)
restrictedCommands:- gamemode
- fly
Admin settings
Special settings for server administrators.
admin:# Exclude admins from combat (requires eternalcombat.bypass)excludeAdminsFromCombat:false# Exclude creative mode players from combatexcludeCreativePlayersFromCombat:false
Option
Type
Default
Description
excludeAdminsFromCombat
boolean
false
Players with eternalcombat.bypass can't be tagged
excludeCreativePlayersFromCombat
boolean
false
Creative mode players can't be tagged
Block placement restrictions
Prevent players from building during combat.
blockPlacement:# Enable block placement restrictionsdisableBlockPlacing:true# ABOVE = can't place blocks above Y coordinate# BELOW = can't place blocks below Y coordinateblockPlacementMode: ABOVE
blockPlacementModeDisplayName:"above"# Y coordinate for the restrictionblockPlacementYCoordinate:40# Specific blocks to restrict (empty = all blocks)restrictedBlockTypes:[]
Preventing Sky Base Escapes
Set blockPlacementMode: ABOVE with blockPlacementYCoordinate: 40 to prevent players from building up and escaping during combat.
Ender pearl settings
Configure ender pearl behavior during combat.
pearl:# Enable pearl fall damagepearlThrowDamageEnabled:true# Disable throwing pearls during combatpearlThrowDisabledDuringCombat:true# Enable pearl cooldownpearlCooldownEnabled:false# Cooldown durationpearlThrowDelay: 3s
DAMAGE_RESISTANCE: 0 - Resistance I (8% damage reduction)
GLOWING: 0 - Make players glow (visible through walls)
Drop settings
Configure what players drop when killed during combat.
drop:# Drop type:# UNCHANGED - Default Minecraft behavior# PERCENT - Drop a fixed percentage of items# PLAYERS_HEALTH - Drop based on health when logging outdropType: UNCHANGED
# Percentage of items to drop (only for PERCENT type)dropItemPercent:100# Minimum drop percentage for PLAYERS_HEALTH typeplayersHealthPercentClamp:20# Apply drop modification to experienceaffectExperience:false
Drop Type
Behavior
UNCHANGED
Normal Minecraft drop behavior
PERCENT
Drop exactly X% of inventory
PLAYERS_HEALTH
Drop more items when logging out with high health
Head drop system
drop:# Enable player head dropsheadDropEnabled:false# Chance to drop head (0-100)headDropChance:0.0# Only drop heads during combatheadDropOnlyInCombat:true# Display name of dropped headheadDropDisplayName:"{PLAYER}'s Head"# Lore linesheadDropLore:-"Slain by {KILLER}"-"Collected in battle"
Crystal PvP settings
Configure combat tagging from explosives.
crystalPvp:# Tag players from crystal damagetagFromCrystals:true# Tag players from respawn anchor damagetagFromRespawnAnchor:true
Knockback settings
Configure knockback when players try to enter protected regions.
knockback:# Knockback strength multipliermultiplier:1# Delay before forcing player out of safe zoneforceDelay: 1s
Border settings
Configure the visual combat border that shows protected regions.
border:# How far the border is visible (in blocks)distance:6.5block:# Enable block animationenabled:true# Block type for border# Custom: RAINBOW_GLASS, RAINBOW_WOOL, RAINBOW_TERRACOTTA, RAINBOW_CONCRETEtype: RAINBOW_GLASS
# Animation update delay (lower = smoother but more resource intensive)updateDelay: 250ms
chunkCacheDelay: 300ms
particle:# Enable particle animationenabled:true# Particle typetype: DUST
# Color: hex color like "#ca4c45" or "RAINBOW"color: RAINBOW
count:1scale:1.7
Performance Tip
If you experience lag, try:
Increasing updateDelay and chunkCacheDelay
Disabling one of the animations (block or particle)
Reducing distance
Region settings
Configure protected regions where players can't enter during combat.
regions:# Regions where combat is blocked - PUT YOUR REGION NAMES HEREblockedRegions:- spawn
- safezone
# Prevent entering WorldGuard regions with PvP disabledpreventPvpInRegions:true# Default spawn region radius (if WorldGuard is not used)restrictedRegionRadius:10
Setting Up Regions
To block a region during combat, you need to add its exact name to the blockedRegions list:
Create a WorldGuard region (e.g., /rg define spawn)
Add the region name to blockedRegions in config
Reload with /combatlog reload
Players in combat will now be blocked from entering that region.