跳到正文

Combat Logger

作者:uOrb

Combat log Mod. Players get punished for logging out while in combat.

收藏

截图

介绍

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

Combat Log

Combat Log is a lightweight Fabric mod that adds configurable combat protection to your server. When a player is damaged, they are marked as being in combat for a set duration. During that time, selected commands can be blocked, and players who disconnect while still in combat can be punished according to your server settings.

🔧 How it works

Players enter combat after taking damage, and the combat state lasts for a configurable amount of time. While in combat, blocked commands are prevented, and players who leave the game during that window can be punished automatically based on your configuration.

✨ Features

/combatlog time <seconds>

– sets the combat duration

/combatlog status

– shows the current combat settings

/combatlog reload

– reloads the config from disk

/combatlog blockcommands on/off

– enables or disables command blocking during combat

/combatlog blockcommands list

– shows all blocked commands

/combatlog blockcommands add <command>

– adds a command to the blocked list

/combatlog blockcommands remove <command>

– removes a blocked command

/combatlog logoutpunish on/off

– enables or disables punishment on logout

/combatlog logoutpunish list

– shows all configured punishment commands

/combatlog logoutpunish add <command>

– adds a punishment command

/combatlog logoutpunish remove <command>

– removes a punishment command

/combatlog logoutpunish ifattacker on/off

– only punish if the player was the attacker

/combatlog markboth on/off

– mark both players as being in combat

⚙ Configurable

Combat duration
Command blocking during combat
Blocked command list
Logout punishment behavior
Punishment command list
Whether both players are marked in combat

Perfect for PvP servers, survival servers, and any community that wants stronger combat rules and better anti-abuse protection.

In Combat

In Combat

Punishment Message after logging in again

Punishment Message after logging in again

Punished Person after logging in.

Punished Person after logging in.

常见问题

Combat Logger 支持哪些 Minecraft 版本?

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

Combat Logger 怎么安装?

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

评论

登录后评论和评分

uOrb 的其他作品

查看全部 →