▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Danger Log
Danger Log

Danger Log

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.

61
0
Все версииDanger Log 1.1

Danger Log 1.1

Release1 мес. назад

Список изменений

⚔️ 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/20 and 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

ModeDescription
ZOMBIESpawns a zombie NPC with the player's name. If killed, drops all loot.
INSTANTImmediately 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

🎮 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)

CommandDescription
/dangerlog onEnable the plugin
/dangerlog offDisable the plugin
/dangerlog reloadReload configuration

👥 Ally Commands

Available to all players

CommandDescription
/ally invite <player>Send an ally request
/ally accept [player]Accept a pending invite
/ally remove <player>Remove an ally
/ally listView your allies

🔑 Permissions

PermissionDescriptionDefault
dangerlog.adminAccess admin commandsOP
dangerlog.bypassBypass combat log systemfalse

⚙️ Configuration

# ===========================================
#         DANGER LOG CONFIGURATION
# ===========================================

# Combat detection radius (in blocks)
radius: 30

# Combat timer duration (seconds)
timer-duration: 20

# ------ 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

# ------ 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

PropertyValue
NamePlayer's name (bold red)
AIDisabled
Burns in SunNo
HealthSame as player at logout
DropsPlayer's full inventory
DespawnsNever (unless configured)

📁 Data Files

FilePurpose
config.ymlPlugin configuration
allies.ymlStored ally relationships
zombies.ymlActive combat log zombies

💡 Tips

  • For SMP servers: Set zombie-log-timer-max to -1 so zombies stay forever
  • For minigames: Use INSTANT death-type for immediate punishment
  • For teams: Enable allies with a reasonable max-allies limit
  • For staff: Give dangerlog.bypass permission to moderators

📞 Support

Having issues? Contact the developer!


Made with ❤️ by CrystalPT

Файлы

DangerLog-1.1.jar(36.44 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.1

Загрузчики

Bukkit
Paper
Spigot

Версии игры

1.21–1.21.11

Загрузок

5

Дата публикации

1 мес. назад

Загрузил

ID версии

Главная