需要支持、请求新功能或想要报告漏洞?欢迎前往我的 Discord 服务器!
功能特性
核心战斗系统
- 战斗标记:当玩家进行 PvP 并造成伤害或受到伤害时,会自动被标记为处于战斗中
- 可配置计时器时长:设置战斗计时器的持续时间,在此之后玩家可以安全地登出
- 战斗开始延迟:在战斗计时器开始前设置可选的延迟时间,防止在 PvP 期间意外被标记
- 世界白名单:指定战斗计时器生效的世界
- 玩家豁免:管理员可以给特定玩家授予临时豁免权
视觉显示选项
- Boss 栏显示:在屏幕顶部显示带有剩余时间的彩色 Boss 栏
- 操作栏显示:在操作栏中显示计时器
- 动态颜色系统:Boss 栏颜色根据剩余时间变化(高、中、低)
- 自定义消息:配置向玩家显示的所有消息
惩罚系统
- 自定义惩罚命令:当玩家战斗登出时执行任意命令(如击杀、经济惩罚等)
- 旧版物品栏掉落:可选择让玩家掉落其物品栏而非执行其他惩罚
- 可配置惩罚措施:定义多个包含玩家占位符的命令
命令拦截
- 战斗期间命令限制:阻止玩家在战斗中使用特定命令
- 可配置拦截列表:轻松添加或移除被拦截的命令
日志与监控
- 详细战斗日志:所有战斗登出违规行为都会被记录到文件中,包含时间戳和玩家信息
- 管理员追踪:跟踪战斗登出事件以便审查
命令
玩家命令
/combatlog <player>- 切换指定玩家的战斗豁免状态(仅限管理员)/combatlogreload- 重新加载插件配置而无需重启服务器(仅限管理员)
权限
combatlog999.admin- 授予访问管理员命令的权限(默认:OP)
配置
config.yml 文件包含大量用于自定义插件行为的选项:
计时器设置
combat-timer-duration: 玩家在可以安全登出之前需要经过的秒数combat-start-delay: 战斗计时器开始前的可选延迟(防止意外标记)
视觉自定义
timer-display-mode: 选择 BOSS_BAR、ACTION_BAR 或 NONEbossbar-color: 计时器较高时的颜色bossbar-color-medium: 计时器中等时的颜色bossbar-color-low: 计时器较低时的颜色low-time-threshold: 低颜色的阈值(秒)medium-time-threshold: 中颜色的阈值(秒)
惩罚设置
use-custom-punishments: 启用自定义命令惩罚punishments: 当玩家在战斗中登出时执行的命令列表drop-inventory-on-combat-log: 旧版物品栏掉落惩罚(当自定义惩罚禁用时)
世界设置
permitted-worlds: 强制执行战斗登出的世界列表(为空表示所有世界)
命令拦截
blocked-commands: 战斗期间无法使用的命令
Get Support, request a new feature, or want to report a bug? Then feel free to head on over to my discord!
Features
Core Combat System
- Combat Tagging: Players are automatically tagged in combat when they engage in PvP with damage dealt or received
- Configurable Timer Duration: Set how long the combat timer lasts before players can safely log out
- Combat Start Delay: Optional delay before the combat timer begins, preventing accidental tagging during PvP
- World Whitelist: Specify which worlds the combat timer is active in
- Player Exemption: Admins can grant temporary exemptions to specific players
Visual Display Options
- Boss Bar Display: Show a colored boss bar at the top of the screen with remaining time
- Action Bar Display: Show the timer in the action bar
- Dynamic Color System: Boss bar colors change based on remaining time (high, medium, low)
- Customizable Messages: Configure all messages displayed to players
Punishment System
- Custom Punishment Commands: Execute any command when a player combat logs (kill, economy penalties, etc.)
- Legacy Inventory Drop: Option to make players drop their inventory instead
- Configurable Punishments: Define multiple commands with player placeholders
Command Blocking
- Combat Command Restrictions: Prevent players from using specific commands while in combat
- Configurable Block List: Easily add or remove commands to the blocked list
Logging & Monitoring
- Detailed Combat Log: All combat log violations are recorded to a file with timestamps and player information
- Admin Tracking: Keep track of combat log incidents for review
Commands
Player Commands
/combatlog <player>- Toggle combat exemption status for a specified player (Admin only)/combatlogreload- Reload the plugin configuration without restarting the server (Admin only)
Permissions
combatlog999.admin- Grants access to admin commands (default: OP)
Configuration
The config.yml file contains extensive options for customizing the plugin's behavior:
Timer Settings
combat-timer-duration: How long in seconds before players can safely log outcombat-start-delay: Optional delay before the combat timer begins (prevents accidental tagging)
Visual Customization
timer-display-mode: Choose between BOSS_BAR, ACTION_BAR, or NONEbossbar-color: Color when timer is highbossbar-color-medium: Color when timer is mediumbossbar-color-low: Color when timer is lowlow-time-threshold: Threshold (in seconds) for low colormedium-time-threshold: Threshold (in seconds) for medium color
Punishment Settings
use-custom-punishments: Enable custom command punishmentspunishments: List of commands to execute when a player logs out during combatdrop-inventory-on-combat-log: Legacy inventory drop punishment (when custom punishments disabled)
World Settings
permitted-worlds: List of worlds where combat logging is enforced (empty for all worlds)
Command Blocking
blocked-commands: Commands that cannot be used while in combat
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CombatLog999
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.1.1 - 2026-07-17
新增
- PvP 统计命令,显示击杀数、死亡数、K/D 比、最长战斗时间、连胜记录以及个人资料倍率
- 支持分页的战斗日志历史查询功能,供工作人员审查玩家战斗违规行为
- 战斗回放命令,可查看详细的战斗事件,包括攻击、伤害、被阻止的命令和逃脱尝试
- PlaceholderAPI 扩展,新增以下占位符:kills(击杀数)、deaths(死亡数)、K/D ratio(K/D 比)、longest combat(最长战斗时间)、current streak(当前连胜)、best streak(最佳连胜)
- 基于数据库的战斗会话追踪功能,记录攻击、命令块、逃脱尝试及会话结束原因等事件日志
修复
- 战斗计时器现在通过数据库存储,在服务器重启后能正确持久化保存
- Boss 栏颜色阈值若配置顺序错误,现能正确交换
- 进入安全世界时的战斗状态清理不再遗留孤立的数据库条目
- 个人资料追踪现能正确记录战斗日志、逃脱尝试和攻击统计数据
- 惩罚倍率现能根据玩家个人资料类型正确应用
- 重复的战斗标记事件不再为同一玩家创建多个计时器
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧