⚔️ CombatLogPlugin
一款适用于 Minecraft Paper 服务器的轻量级防战斗退出插件,防止玩家不公平地逃避战斗。
CombatLogPlugin 会在玩家发生战斗时为其标记状态,显示操作栏倒计时,并对在战斗中登出的玩家进行惩罚。
功能特性
- ?️ 玩家互相攻击时触发战斗标记
- ? 支持近战、弓箭和三叉戟
- ⏳ 操作栏倒计时计时器
- ? 惩罚在战斗期间登出的玩家
- ? 简洁的消息提示,减少刷屏
- ☠️ 被标记的玩家死亡时战斗结束
- ? 可在战斗状态下禁止使用鞘翅
- ⚙️ 可自定义配置项
- ? 支持重载命令
- ? 兼容 TogglePVPCustom 战斗检测
- ? 当前版本支持 Paper 26.1+
版本支持
当前版本的 CombatLogPlugin 支持 Paper 26.1+,应使用 Java 25 构建或运行。
| 目标平台 |
Java 版本 |
状态 |
| Paper 26.1+ |
Java 25 |
当前版本 |
| Paper 1.21+ / 1.21.11 |
Java 21 |
请查看版本 1.2.1 |
如需支持 Paper 1.21+ / 1.21.11,请在此下载发行版 1.2.1:
https://github.com/Frwostella/CombatLogPlugin/releases/tag/1.2.1
输出结果应显示 Java 版本为 25。
安装方法
- 下载或构建最新的
.jar 文件。
- 将其放入服务器的
plugins 文件夹中。
- 启动或重启服务器。
- 根据需要配置
config.yml。
- 编辑配置文件后使用
/combatlog reload 命令重载。
命令
| 命令 |
描述 |
/combatlog reload |
重载插件配置 |
权限
| 权限节点 |
描述 |
默认值 |
combatlog.reload |
允许使用重载命令 |
OP(管理员) |
配置说明
示例 config.yml:
combat-time: 15
logout-action: "kill"
logout-command: "kill %player%"
messages:
tagged: "&c你已进入战斗状态!请勿登出。"
safe: "&a你已脱离战斗状态。"
actionbar: "&c战斗剩余时间:&e%time%s"
配置选项可能因插件当前版本而异。
TogglePVPCustom 支持
CombatLogPlugin 可与 Frwostella 的 TogglePVPCustom 插件配合使用:
https://github.com/Frwostella/TogglePVPCustom
当启用 TogglePVPCustom 的 CombatLog 钩子时,处于战斗标记状态的玩家无法禁用 PvP。
依赖要求
⚔️ CombatLogPlugin
A lightweight combat logging plugin for Minecraft Paper servers that prevents players from escaping fights unfairly.
CombatLogPlugin tags players when they fight, shows an action bar countdown, and punishes players who log out while still in combat.
Features
- ?️ Combat tagging when players hit each other
- ? Supports melee, bows, and tridents
- ⏳ Action bar countdown timer
- ? Punishes players who log out during combat
- ? Clean messaging with less spam
- ☠️ Combat ends when the tagged player dies
- ? Can block Elytra usage while in combat
- ⚙️ Configurable settings
- ? Reload command support
- ? Compatible with TogglePVPCustom combat checks
- ? Current release support for Paper 26.1+
Version Support
The current version of CombatLogPlugin supports Paper 26.1+ and should be built or used with Java 25.
| Target |
Java |
Status |
| Paper 26.1+ |
Java 25 |
Current version |
| Paper 1.21+ / 1.21.11 |
Java 21 |
Check release 1.2.1 |
For Paper 1.21+ / 1.21.11 support, download release 1.2.1 here:
https://github.com/Frwostella/CombatLogPlugin/releases/tag/1.2.1
The output should show Java version 25.
Installation
- Download or build the latest
.jar file.
- Put it in your server's
plugins folder.
- Start or restart your server.
- Configure
config.yml to your liking.
- Use
/combatlog reload after editing the config.
Commands
| Command |
Description |
/combatlog reload |
Reloads the plugin configuration |
Permissions
| Permission |
Description |
Default |
combatlog.reload |
Allows use of the reload command |
OP |
Configuration
Example config.yml:
combat-time: 15
logout-action: "kill"
logout-command: "kill %player%"
messages:
tagged: "&cYou are now in combat! Do not log out."
safe: "&aYou are no longer in combat."
actionbar: "&cCombat: &e%time%s"
Config options may vary depending on your current plugin version.
TogglePVPCustom Support
CombatLogPlugin can be used with Frwostella's TogglePVPCustom plugin:
https://github.com/Frwostella/TogglePVPCustom
When TogglePVPCustom's CombatLog hook is enabled, players cannot disable PvP while they are combat tagged.
Requirements
评论 0
登录后参与评分
还没有评论,来抢沙发吧