The region name must exactly match the WorldGuard region name. Region names are case-sensitive!
Reload configuration
Reload EternalCombat to apply changes:
/combatlog reload
Test the region
Tag yourself in combat and try to enter the region:
/combatlog tag YourName
# Now try to walk into the protected region
You should be pushed back with an animated border visible.
Configuration options
regions:# List of blocked region names - ADD YOUR REGIONS HEREblockedRegions:- spawn
- safezone
# Block regions where WorldGuard has PvP disabledpreventPvpInRegions:true# Spawn region radius if WorldGuard is not installedrestrictedRegionRadius:10
Option
Type
Default
Description
blockedRegions
list
[]
WorldGuard region names to block
preventPvpInRegions
boolean
true
Auto-block regions with PvP disabled
restrictedRegionRadius
int
10
Spawn protection radius (no WorldGuard)
WorldGuard integration
Automatic PvP region detection
When preventPvpInRegions is enabled, EternalCombat will automatically block entry to:
Regions with the pvp flag set to deny
This means you don't need to manually add every safe region to blockedRegions.
Recommended Setup
For most servers, just enable preventPvpInRegions: true and EternalCombat will automatically protect all regions with PvP disabled.
Use blockedRegions for additional regions that have PvP enabled but should still be protected during combat.
Priority order
If a region is in both WorldGuard (with PvP disabled) AND blockedRegions:
blockedRegions takes priority
WorldGuard check is secondary
Without WorldGuard
If you don't have WorldGuard installed, EternalCombat will create a circular spawn protection zone:
regions:# Radius of the protected spawn arearestrictedRegionRadius:10
This creates a 10-block radius protection zone around the world spawn point.
Border appearance
The visual border that appears at protected regions can be customized:
border:# How far players can see the borderdistance:6.5block:enabled:truetype: RAINBOW_GLASS
particle:enabled:truetype: DUST
color: RAINBOW