Combat log preventer
The mod kills you, if you log off the server during combat with another player.
截图
介绍
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, NeoForge
- Client Compatibility: Vanilla-compatible. Works perfectly with optimization clients like Lunar Client, Prism, and Sodium.
常见问题
Combat log preventer 支持哪些 Minecraft 版本?
Combat log preventer 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。
Combat log preventer 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
CodeMC 的其他作品
查看全部 →
Mace cooldown mod
Disables the mace when you hit a player. The cooldown doesen't start if you hit a entity.
Combat log mod
Kills players, if they disconnect in combat.
Combat log mod
Kills players, if they disconnect in combat.
Combat-Ranked mod
A server side mod, that makes combat more fair and gives potion effects and hearts to most skilled players.
评论
登录后评论和评分