跳到正文

Combat log mod

作者:CodeMC

Kills players, if they disconnect in combat.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Tired of players disconnecting in the middle of a fight to avoid losing their hard-earned gear? The Combat Log Mod is a lightweight, robust, and completely server-side solution designed to enforce fair play and eliminate combat logging on your server.

Perfect for Ranked PvP, Factions, Anarchy, or any competitive survival environment!

⚔️ Key Features

Automatic Combat Detection: Automatically detects when a player engages in PvP combat (either hitting another player or getting hit).
Combat Timer (Tag): Places players in a “Combat State” for a customizable duration. If they remain safe, the tag expires automatically.
Combat Logger Punishment: If a player purposely disconnects, closes their game, or crashes while under the Combat Tag, they are instantly punished (e.g., killed on the spot, dropping their inventory for the attacker).
Actionbar / Chat Notifications: Keeps players informed of their current combat status and shows a countdown timer so they know exactly when it is safe to log out.
100% Server-Side: No client-side installation required! Players can connect using a completely vanilla Minecraft client, making it seamless to integrate into existing servers.

⚙️ Configuration

The mod automatically generates a configuration file in your server’s config/ folder. You can easily customize:

The duration of the combat tag (in seconds).
The specific punishment for logging out (Kill player, drop items, etc.).
Custom chat or actionbar messages.

🛠️ Compatibility

Platform: Fabric
Versions: Works flawlessly on all 1.21 versions (including 1.21.1 through 1.21.11) and supports modern server environments.
Client Compatibility: Vanilla-compatible. Works perfectly with optimization clients like Lunar Client, Prism, and Sodium.

常见问题

Combat log mod 支持哪些 Minecraft 版本?

Combat log mod 支持 Minecraft Java 版 1.21.3–26.3,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Combat log mod 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

CodeMC 的其他作品

查看全部 →