Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Links
Tags
Creators
Details
Licensed ARR
Published 3 months ago
โ๏ธ Danger Log
Combat logging protection for Minecraft Paper 1.21+ servers
๐ Overview
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!
โจ Features
๐ฏ Combat Timer System
- Players within a configurable radius receive a combat timer in their action bar
- Timer displays as
20/20and stays at max while enemies are nearby - Timer counts down when players leave combat range
- Logging out with an active timer = combat logging
๐ง Combat Log Protection
| 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. |
๐ค Ally System
- Team up with friends to avoid triggering each other's combat timers
- Clickable invite system with expiration
- Configurable max allies per player
๐พ Persistence
- Zombies survive server restarts
- Player inventories are safely stored
- All data saved to files
๐ซ Combat Restrictions
- Disable Tridents (Riptide) while in combat โ no flying away!
- Disable Elytras while in combat โ stay and fight!
- Disable/Cooldown Ender Pearls โ configurable cooldown or full disable
- Disable/Cooldown Firework Rockets โ prevent elytra boosting
๐ฎ Smart Detection
- Only affects Survival mode players
- Creative, Spectator, and Adventure players are ignored
- Bypass permission available for staff
๐ Commands
๐ง Admin Commands
Requires dangerlog.admin permission (default: OP)
| Command | Description |
|---|---|
/dangerlog on |
Enable the plugin |
/dangerlog off |
Disable the plugin |
/dangerlog reload |
Reload configuration |
๐ฅ Ally Commands
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 |
๐ Permissions
| Permission | Description | Default |
|---|---|---|
dangerlog.admin |
Access admin commands | OP |
dangerlog.bypass |
Bypass combat log system | false |
โ๏ธ Configuration
# ===========================================
# 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
๐ฌ How It Works
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
๐ง Zombie NPC Details
| 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) |
๐ Data Files
| File | Purpose |
|---|---|
config.yml |
Plugin configuration |
allies.yml |
Stored ally relationships |
zombies.yml |
Active combat log zombies |
๐ก Tips
- For SMP servers: Set
zombie-log-timer-maxto-1so zombies stay forever - For minigames: Use
INSTANTdeath-type for immediate punishment - For teams: Enable allies with a reasonable
max-allieslimit - For staff: Give
dangerlog.bypasspermission to moderators - Anti-escape: Keep tridents and elytras disabled to prevent flying away
- Pearl cooldown: Set
pearl-cooldownto 10+ seconds to limit pearl spam
๐ Support
Having issues? Contact the developer!
Made with โค๏ธ by CrystalPT


