Simple Combat Log 图标

Minecraft 服务端插件

Simple Combat Log

The Simple-Combat-Log plugin prevents players from logging out during combat by setting a combat timer, disabling actions like Elytra use, and broadcasting a message if they leave the server mid-combat.

游戏机制性能优化工具类bukkitpaperpurpurspigot
版本范围
1.19–26.2
下载量
6.2 万

插件介绍

⚔ CombatLog

A lightweight and highly configurable Paper plugin that prevents combat logging and related PvP abuse. Built for competitive servers that need strict and predictable combat behavior.


🔥 Core Features

⏱ Combat Timer

  • Starts when a player deals or receives damage
  • Supports ActionBar or BossBar display
  • Fully configurable duration

🚫 Combat Restrictions

While in combat, you can disable:

  • Elytra usage (including boost)
  • Teleporting
  • Mending
  • Riptide
  • Explosion-based combat abuse (End Crystals / Respawn Anchors)

All restrictions are optional and configurable.


🧨 Smart Combat Triggers

  • Player vs Player damage
  • Projectile damage (Arrow, Trident, Wither Skull)
  • Explosion-based tagging
  • Ender Pearl land detection
  • Optional combat zone with radius detection

🔒 Anti Kill Abuse System

Prevents farming the same victim repeatedly.

  • Configurable kill limit
  • Configurable time window
  • Custom punish commands
  • Fully automated

🌍 WorldGuard Integration

If WorldGuard is installed:

  • Registers custom flag: allow-combat-entry
  • Blocks region entry while in combat
  • Fully optional integration

No hard dependency required.


discord github modrinth

版本与下载

推荐下载

CombatLog.jar版本 1.17 · 76.9 KBSHA-1 75e04c06f87556df0530a0407df1da8842b51268下载 CombatLog.jar

1.17

正式版
加载器
paper · purpur
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11 · 26.1 · 26.1.1 · 26.1.2 · 26.2
CombatLog.jar76.9 KBSHA-1 75e04c06f87556df0530a0407df1da8842b51268获取文件 CombatLog.jar
展开更新日志

Changelog - CombatLog [Version 1.17]

New Features

  • Subcommand system for /combatlog: reload, status, untag – better plugin management through commands
  • Visual WorldGuard safe-zone barrier with fake blocks – players see a clear visual barrier around safe zones

🔧 Improvements

  • Separate messages.yml introduced with full colorization support – easier message customization
  • Simplified CombatManager – cleaner, more maintainable code without unnecessary complexity
  • Optimized PlaceholderAPI integration
  • Tab-completion for all subcommands
  • Messages now use Adventure Components for better consistency

⚠️ Removed

  • Opponent-tracking simplified (no longer stored in data structures)

🐛 Bugfixes & Cleanup

  • WorldGuard now properly treated as an optional dependency
  • Barriers correctly cleared on untag
  • Improved timer cleanup on plugin shutdown

1.16

正式版
加载器
paper · purpur
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11 · 26.1 · 26.1.1 · 26.1.2
CombatLog.jar62.2 KBSHA-1 4e309ec30668f379102cb3989ce75fec27b1a6bc获取文件 CombatLog.jar
展开更新日志

New Features

PlaceholderAPI Integration CombatLog now supports PlaceholderAPI. Use these placeholders in any compatible plugin (scoreboards, TAB, HUDs, etc.):

  • %combatlog_in_combat%true / false
  • %combatlog_time_left% — remaining combat seconds
  • %combatlog_opponent_name% — name of the current opponent
  • %combatlog_opponent_health% — opponent's current HP (00.00 format)

PlaceholderAPI is optional — the plugin loads cleanly without it.

Permission Bypass (combatlog.bypass) Players or groups with the combatlog.bypass permission are fully exempt from CombatLog:

  • Will not be tagged into combat
  • Are not subject to any in-combat restrictions (elytra, teleport, commands, etc.)
  • Disconnecting while in combat produces no broadcast and no punishment
  • Default: op

Potion Effects on Combat Tag You can now configure potion effects that are automatically applied when a player enters combat and removed when combat ends. Effects are only applied if the player does not already have that effect active.

Configure in config.yml under combat-log.tag-effects:

tag-effects:
  - type: GLOWING
    duration-seconds: 15
    amplifier: 0
    show-particles: false

Supports any valid Bukkit PotionEffectType. The list in the default config includes GLOWING as an example — remove or comment it out if you don't want any effects.


Improvements

  • CombatManager now tracks the current opponent per player, enabling opponent-related placeholders to work correctly
  • PotionEffectType lookup updated to use Registry.EFFECT instead of the deprecated getByName() method (Paper 1.20.3+)

Dependencies

  • PlaceholderAPI: optional (softdepend)
  • WorldGuard: optional (unchanged)

1.15

正式版
加载器
paper · purpur
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
CombatLog.jar60.3 KBSHA-1 5d0b805fe440d0d5fb177bcd9c0eb08f0c0da1d5获取文件 CombatLog.jar
展开更新日志

Refactor — no functional changes

This release is a pure code refactor. Gameplay behaviour is identical to the previous version.


Package structure

Packages have been renamed to follow Java conventions (lowercase):

BeforeAfter
...Utils...util
...Combat...combat
...Config...config
...Listener...listener

What changed

CombatManager (new: combat package)

  • Now fully owns combatTimers, activeTimers and bossBars maps
  • Listeners no longer touch state directly — all changes go through the public API

PluginConfig (new: config package)

  • Centralises every config.getString / getBoolean / getInt call
  • Single instance passed to all listeners on startup

Listener split

  • CombatTagListener — damage, projectile, explosion and enderpearl tagging
  • CombatRestrictionListener — elytra, teleport, command block, mending, riptide
  • CombatZoneListener — proximity tagging on join
  • CombatLogoutListener — disconnect handling
  • AntiKillAbuse — kill-farming detection
  • WorldGuardListener — region entry guard (registered only when WorldGuard is present)

CombatLog (main class)

  • Reduced to wiring only: config → manager → listeners
  • registerListeners() is the single place to see which listeners are active

Migration

No config changes. No permission changes. No command changes. Simply replace the old jar with the new one and restart.

1.14

测试版
加载器
paper · purpur
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
CombatLog.jar49.8 KBSHA-1 77c7735630f27cd62fe9c60946e71ee2d1bb2282获取文件 CombatLog.jar
展开更新日志

Fixed an issue with the WorldGuard integration where the plugin checked an unused local flag instead of the actual WorldGuardHook status. As a result, the region entry restriction during combat now works correctly.

Additionally, blocked commands are now case-insensitive (/TPA, /Tpa, /tpa are treated the same), making the command restriction system more reliable.

1.13

正式版
加载器
paper · purpur
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
CombatLog.jar49.4 KBSHA-1 15cd789da0a1c01a30904c7dab84738fa2f9ec20获取文件 CombatLog.jar
展开更新日志

This update introduces a cleaner and fully restructured configuration.

All settings are now logically grouped (timer, restrictions, punishment, triggers, etc.), making the plugin easier to configure and extend. The Anti-Kill-Abuse system has also been adapted to the new structure.

⚠️ Old configs are not compatible. Please replace your existing config.


New Configuration

combat-log:
  timer:
    duration-seconds: 15
    display: actionbar

  restrictions:
    elytra:
      disabled-in-combat: true
    teleporting:
      disabled-in-combat: false
    mending:
      disabled-in-combat: true
    riptide:
      stop: false
      cooldown: 10000
    explosions:
      set-combat-on-explosion: true

  punishment:
    damage: 5.0
    kill-on-logout: false

  triggers:
    enderpearl:
      set-combat-on-land: true
      only-if-already-in-combat: false

  ignored-worlds:
    - "ffa"

  blocked-commands:
    - "tpa"

  combat-zone:
    enabled: true
    radius: 10

  messages:
    combat-log: "&c{player} has combat logged!"
    elytra-use-denied: "&dYou can't use elytra in combat"
    teleporting-denied: "&dYou can't teleport in combat"
    blocked-command: "&cYou can't use this command in combat"
    region-entry-denied: "&cYou can't enter this region in combat"

    timer:
      actionbar: "&c{timeLeft}/{maxTime}"
      bossbar-title: "&cIn Combat: {timeLeft}s"

anti-kill-abuse:
  enabled: true
  limits:
    max-kills: 5
    remove-kill-after-seconds: 60
  punish-commands:
    - "kick {killer} Kill-Abuse detected!"
    - "ban {killer}"

1.12

正式版
加载器
paper · purpur
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
CombatLog.jar47.2 KBSHA-1 7feb942b52bdd05b60869a19a044ce7859a74e15获取文件 CombatLog.jar
展开更新日志

Changelog

Added

  • New configuration options to control combat logging when an Ender Pearl lands.
  • Players can now be set into combat when landing an Ender Pearl.
  • Option to choose whether this should always happen or only if the player is already in combat.

Config

combat-log:
  enderpearl:
    set-combat-on-land: true
    only-if-already-in-combat: false

1.11

正式版
加载器
paper · purpur
MC 版本
1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
CombatLog.jar44.5 KBSHA-1 fb9c3074f6a7bd74c98b9a833de8d5db7debe2a8获取文件 CombatLog.jar
展开更新日志

Fixed a bug that the plugin coudn't start without worldguard

1.10

正式版
加载器
paper
MC 版本
1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10
CombatLog.jar40.9 KBSHA-1 a51865cefc0d99a64246ea6d9176462dc7a8e30b获取文件 CombatLog.jar
展开更新日志

Added: Mending Combat Restriction/Metrics

A new configuration option has been introduced:

combat-log:
  mending-disabled-in-combat: true

1.9

正式版
加载器
paper
MC 版本
1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10
CombatLog.jar18.3 KBSHA-1 a07ac9d9f15a588368c88188809ff9cb20cf23a8获取文件 CombatLog.jar
展开更新日志

New Feature

  • Prevents kill farming / griefing by tracking repeated kills on the same player.
  • If a player kills the same victim more than 5 times in 30s, punishment commands are executed.

⚙️ Config

anti-kill-abuse:
  enabled: true
  remove-kill-after: 60
  max-kills: 5
  punish-commands: # {victim} for victim
    - "kick {killer} Kill-Abuse detected!"

1.8

正式版
加载器
paper
MC 版本
1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7
CombatLog.jar14.3 KBSHA-1 fb7856daeddd72dbb3661a9e2aaf1c5e196cf228获取文件 CombatLog.jar
展开更新日志

Combat timer can now be shown in the actionbar or bossbar.

New config option: combat-log.display-mode (actionbar or bossbar)

1.7

正式版
加载器
paper
MC 版本
1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
CombatLog.jar14 KBSHA-1 5ae1549d96ea75adb095bcb1aabdd7ced69f08fd获取文件 CombatLog.jar
展开更新日志

Adds the option to block commands in combat

1.6

正式版
加载器
paper
MC 版本
1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
CombatLog.jar12.9 KBSHA-1 a6f81394cdd0b86ad21a0dca624a0cd34b03a92d获取文件 CombatLog.jar
CombatLog1.20.4.jar13 KBSHA-1 9eb0795006467dcbd648293809af15fc3e4ab7ab获取文件 CombatLog1.20.4.jar
展开更新日志

Adds the option to kill players when they combat log

1.5

正式版
加载器
paper
MC 版本
1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
CombatLog.jar12.8 KBSHA-1 f24c0d220f116a8ed45644f8f42ae0ad4de25050获取文件 CombatLog.jar
展开更新日志

Fixed a bug where stepping on farmland, carrots, or similar blocks caused unintended teleportation, sometimes launching players out of the world.

1.5

正式版
加载器
paper
MC 版本
1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
CombatLog.jar12.4 KBSHA-1 0a243299da02f39d665b412ad9f220caeaeb7743获取文件 CombatLog.jar
展开更新日志

New Features

Combat Zone System

  • Added a configurable zone where players are automatically put into combat.
  • The range of the combat zone can be adjusted.
  • The combat zone can be enabled or disabled as needed.

Punishment System

  • Players can receive damage as a penalty for breaking the rules.
  • The amount of damage can be adjusted in the configuration.

1.4

正式版
加载器
paper
MC 版本
1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
CombatLog.jar10.6 KBSHA-1 67f41e08e5cd0fb1a13bc76039201cbe8b7e35eb获取文件 CombatLog.jar
展开更新日志

Fixed the bug, that you can spam riptide

1.4

正式版
加载器
paper
MC 版本
1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
CombatLog.jar10.3 KBSHA-1 1f45ac8285a7763a2644d3818c28cf7e2f1104c3获取文件 CombatLog.jar
展开更新日志

Added the orption to disable riptiding in combat and set a timer to riptiding

1.3

正式版
加载器
paper
MC 版本
1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
CombatLog.jar8.6 KBSHA-1 16e72f8f26d7365a31c2a3391cdf945e99a1fbec获取文件 CombatLog.jar

1.2

正式版
加载器
paper
MC 版本
1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
CombatLog.jar8.8 KBSHA-1 8aab712c6695bf4369c9eb20b0cbdb428e487e06获取文件 CombatLog.jar
展开更新日志

Added the ability to disable teleporting while in combat

Should work on all game versions

1.1

正式版
加载器
bukkit · paper · spigot
MC 版本
1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
SpigotCombatLog.jar8.1 KBSHA-1 34a06b1419efd798c485faaf87dd2bcfc147f7d9获取文件 SpigotCombatLog.jar
展开更新日志

Combat Log but it supports Spigot/Bukkit

by ignoring the PlayerElytraBoostEvent wich shouldn't anyway get triggert

1.1

正式版
加载器
paper
MC 版本
1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
CombatLog.jar8.5 KBSHA-1 f3ca6767ba1e9a4e3a7dd76def62917e8390ea11获取文件 CombatLog.jar
展开更新日志

Hitting a player now automaticly sets them out of gliding

1.0

正式版
加载器
paper
MC 版本
1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
CombatLog.jar8.5 KBSHA-1 18ae986baad79ae6229d102dd599603a4658d728获取文件 CombatLog.jar
展开更新日志

This should work on all game versions