Combat Log
Combat Log 是一款轻量级的 Fabric 模组,为服务器提供可配置的 combat 保护。当玩家受到伤害时,会被标记为处于战斗状态,持续时间为设定值。在此期间,选定的命令将被阻止,而在战斗状态下断开连接的玩家将根据服务器设置受到惩罚。
? 工作原理
玩家在受到伤害后进入战斗状态,该状态会持续一段可配置的时间。在战斗期间,被阻止的命令将失效;如果玩家在此窗口期内退出游戏,系统会根据你的配置自动对其进行惩罚。
✨ 功能
/combatlog time <seconds>
– 设置战斗持续时间
/combatlog status
– 显示当前战斗设置
/combatlog reload
– 从磁盘重新加载配置文件
/combatlog blockcommands on/off
– 启用或禁用战斗期间的命令阻止功能
/combatlog blockcommands list
– 显示所有被阻止的命令
/combatlog blockcommands add <command>
– 向被阻止命令列表中添加一个命令
/combatlog blockcommands remove <command>
– 移除被阻止的命令
/combatlog logoutpunish on/off
– 启用或禁用登出惩罚
/combatlog logoutpunish list
– 显示所有配置的惩罚命令
/combatlog logoutpunish add <command>
– 添加一个惩罚命令
/combatlog logoutpunish remove <command>
– 移除一个惩罚命令
/combatlog logoutpunish ifattacker on/off
– 仅当玩家是攻击者时才执行惩罚
/combatlog markboth on/off
– 将双方玩家都标记为处于战斗状态
⚙ 可配置项
- 战斗持续时间
- 战斗期间的命令阻止功能
- 被阻止的命令列表
- 登出惩罚行为
- 惩罚命令列表
- 是否将双方玩家都标记为处于战斗状态
非常适合 PvP 服务器、生存服务器以及任何希望拥有更强战斗规则和更好反滥用保护的社区。
战斗中

再次登录后的惩罚消息

登录后受罚的人

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

Punishment Message after logging in again

Punished Person after logging in.

评论 0
登录后参与评分
还没有评论,来抢沙发吧