Best Combat System for SMP's to use to prevent logging out mid fight! We use advanced methods that really help owners and other players to have a fun experience in server fights.
Combat logging protection for Minecraft Paper 1.21+ servers
Danger Log is a powerful combat logging protection plugin that prevents players from escaping PvP situations by disconnecting. When a player logs out during combat, a zombie NPC spawns in their place — if the zombie dies, so does the player!
20/20 and stays at max while enemies are nearby| Mode | Description |
|---|---|
| ZOMBIE | Spawns a zombie NPC with the player's name. If killed, drops all loot. |
| INSTANT | Immediately kills the player upon combat logging. |
Requires dangerlog.admin permission (default: OP)
| Command | Description |
|---|---|
/dangerlog on |
Enable the plugin |
/dangerlog off |
Disable the plugin |
/dangerlog reload |
Reload configuration |
Available to all players
| Command | Description |
|---|---|
/ally invite <player> |
Send an ally request |
/ally accept [player] |
Accept a pending invite |
/ally remove <player> |
Remove an ally |
/ally list |
View your allies |
| Permission | Description | Default |
|---|---|---|
dangerlog.admin |
Access admin commands | OP |
dangerlog.bypass |
Bypass combat log system | false |
# ===========================================
# DANGER LOG CONFIGURATION
# ===========================================
# Combat detection radius (in blocks)
radius: 50
# Combat timer duration (seconds)
timer-duration: 45
# ------ DEATH TYPE ------
# ZOMBIE = Spawns NPC zombie
# INSTANT = Kills player immediately
death-type: ZOMBIE
# ------ ZOMBIE SETTINGS ------
# How long before zombie auto-expires (-1 or 0 = never)
# Minimum: 10 seconds
zombie-log-timer-max: -1
# ------ ALLY SYSTEM ------
# Enable/disable allies
allow-allies: true
# Max allies per player (-1 or 0 = unlimited)
max-allies: 6
# Ally invite duration (seconds)
invite-duration: 120
# ------ COMBAT RESTRICTIONS ------
# Disable tridents (Riptide) while in combat
disable-tridents: true
# Trident cooldown in combat (seconds, 0 = no cooldown)
# Only applies if disable-tridents is false
trident-cooldown: 10
# Disable elytras while in combat
disable-elytras: true
# Disable ender pearls while in combat
disable-pearls: false
# Disable firework rockets while in combat
disable-fireworks: false
# Pearl cooldown in combat (seconds, 0 = no cooldown)
pearl-cooldown: 10
# Firework cooldown in combat (seconds, 0 = no cooldown)
firework-cooldown: 10
# ------ GENERAL ------
# Plugin enabled state
enabled: true
1️⃣ Two players enter combat range (30 blocks)
↓
2️⃣ Both see combat timer: [20/20]
↓
3️⃣ Timer stays at max while in range
↓
4️⃣ Player leaves range → timer counts down
↓
5️⃣ Player logs out with active timer
↓
┌─────────────────────────────────────┐
│ ⚠️ COMBAT LOG DETECTED! │
│ Zombie spawns at logout location │
│ Chat: "Player has logged out in │
│ combat." │
└─────────────────────────────────────┘
↓
6️⃣ If zombie is killed → loot drops
↓
7️⃣ Player rejoins → DEATH SCREEN
| Property | Value |
|---|---|
| Name | Player's name (bold red) |
| AI | Disabled |
| Burns in Sun | No |
| Health | Same as player at logout |
| Drops | Player's full inventory |
| Despawns | Never (unless configured) |
| File | Purpose |
|---|---|
config.yml |
Plugin configuration |
allies.yml |
Stored ally relationships |
zombies.yml |
Active combat log zombies |
zombie-log-timer-max to -1 so zombies stay foreverINSTANT death-type for immediate punishmentmax-allies limitdangerlog.bypass permission to moderatorspearl-cooldown to 10+ seconds to limit pearl spamHaving issues? Contact the developer!
Made with ❤️ by CrystalPT