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

CombatLOG

Combat logging prevention. Tags players during PvP with a boss bar, blocks configured commands, and kills anyone who disconnects while tagged. Configurable duration, projectiles, worlds and messages.

Оцените первым
5
0

CombatLOG

PvP combat-logging prevention for Paper/Purpur 1.21.x

Version 1.0.0 · Minecraft 1.21.x · Java 21 · Server-side

CombatLOG stops players from escaping PvP by disconnecting. When two players fight, both become combat tagged for a configurable time (refreshed on each hit). While tagged, players see a countdown boss bar, titles and chat messages, and cannot run configured commands (like /tpa or /home). If a tagged player disconnects, they are killed and their items drop where they logged out.

Features

  • Combat tagging on melee and (optionally) projectile hits, refreshed on every hit.
  • Disconnect punishment: tagged players who log out are killed via a normal vanilla death (setHealth(0)) — no manual drop/clear, so no dupe window, and totems cannot save the logout death.
  • Countdown boss bar with configurable color and overlay.
  • Titles and chat messages on tag start/end, plus optional periodic countdown reminders.
  • Blocked commands while tagged, with namespace stripping (e.g. essentials:tpa is matched as tpa).
  • combatlog.bypass permission for staff/VIP who should not be tagged.
  • World and mode filters: ignore configured worlds, and optionally skip creative-mode players.
  • Broadcast when a player combat logs.
  • Multi-language (English, Portuguese, French) with optional per-player language via PlayerSettings.
  • Developer API (CombatLogApi via the services manager) plus combat tag/end/log events.

Commands

CommandDescriptionPermission
/combatlog reload (aliases /clog, /cl)Reload the configurationcombatlog.admin
/combatlog statusShow your combat status
/combatlog versionShow plugin version

Permissions

NodeDescriptionDefault
combatlog.adminReload the pluginop
combatlog.bypassNot combat taggedfalse

Configuration

language: en_US               # en_US | pt_PT | fr_FR

combat:
  tag-seconds: 30
  apply-to-projectiles: true
  apply-in-creative: false
  ignore-worlds: []

punishment:
  kill-on-disconnect: true
  broadcast: true

bossbar:
  enabled: true
  color: RED                  # PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE
  overlay: PROGRESS           # PROGRESS, NOTCHED_6/10/12/20
  title: "&c⚔ Combat &7| &f{time}s"   # {time} = remaining seconds
  update-ticks: 2

titles:
  on-tag-start: true
  on-tag-end: true

chat:
  tag-start: true
  tag-end: true
  countdown:
    enabled: false
    interval-seconds: 5

blocked-commands:
  enabled: true
  list: [tpa, tpaccept, tpahere, spawn, home, sethome, warp, back, rtp]

Per-language boss bar titles live in lang/*.yml (bossbar.title); the bossbar.title in config.yml is a fallback.

Installation

  1. Requires Paper or Purpur 1.21.x and Java 21.
  2. Drop the JAR into plugins/ and start the server once to generate config.yml.
  3. Adjust combat, punishment and blocked-commands, then run /combatlog reload.

Dependencies

  • PlayerSettings (optional) — per-player language selection, if installed.

No hard dependencies.

Notes

Combat tags are kept in memory and are not persisted across restarts. The blocked-commands list stops configured commands but not non-command escapes (ender pearls, teleport GUIs, unlisted aliases). Best suited to melee/bow PvP; indirect PvP (end crystals, TNT, beds/anchors) is not tagged in this release.

Support / Source

Source code: https://github.com/henriquescrrrr/carrageis-combatlog

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:3 недели назад
Обновлён:3 недели назад
Главная