⚔️ CombatGuard
一款轻量且可配置的 Minecraft SMP 服务器战斗标记插件。
防止战斗登出,并通过简洁简单的系统追踪玩家数据。
✨ 功能
⚔️ 战斗标记系统
当两名玩家发生战斗时,双方都会被标记一段可配置的时间。操作栏上会显示一个进度条,实时展示剩余的战斗时间。
? 战斗登出惩罚
如果一名被标记的玩家断开连接,系统将自动对其进行惩罚。可选择即时击杀、临时封禁或两者兼有——所有选项均可配置。
? 数据统计
每次击杀、死亡和战斗登出都会按玩家进行追踪,并保存在各自的 JSON 文件中。数据在重启后依然保留。
?️ 标签页列表统计
可选地在标签页列表中直接显示每位玩家的击杀数和死亡数——可在配置文件中切换开关。
⚙️ 完整配置支持
自定义前缀、战斗持续时间、惩罚类型、封禁时长以及标签页统计数据展示。使用 /combatguard reload 命令重载配置而无需重启服务器。
? 命令
| 命令 |
描述 |
/stats <player> |
显示某位玩家的数据统计 |
/combatguard reload |
重载配置文件 |
? 权限
| 权限 |
描述 |
combatguard.admin |
访问 /combatguard reload 命令的权限 |
⚙️ 配置
# 插件前缀
prefix: "CombatGuard "
# 战斗标记持续时间(秒)
combat-duration: 15
# 战斗登出时的惩罚方式:kill(击杀)| ban(封禁)| both(两者)
punishment: kill
# 封禁持续时间(秒),仅在惩罚方式为 "ban" 或 "both" 时生效
ban-duration: 300
# 在标签页列表中显示击杀/死亡数
tab-stats: true
? 安装
将 .jar 文件放入 plugins/ 文件夹并重启服务器。无需任何依赖项。
? 兼容性
- ✅ Spigot / Paper
- ✅ Minecraft 1.21.x
由 Gregwll ❤️ 制作
⚔️ CombatGuard
A lightweight and configurable combat tag plugin for Minecraft SMP servers.
Prevent combat logging and track player stats with a clean and simple system.
✨ Features
⚔️ Combat Tag System
When two players fight, both are tagged for a configurable duration. A progress bar displayed on the action bar shows the remaining combat time in real time.
? Combat Logout Punishment
If a tagged player disconnects, they are automatically punished. Choose between an instant kill, a temporary ban, or both — all configurable.
? Stats Tracking
Every kill, death and combat logout is tracked per player and saved in individual JSON files. Stats are persistent across restarts.
?️ Tab List Stats
Optionally display each player's kills and deaths directly in the tab list — toggleable in the config.
⚙️ Full Config Support
Customize the prefix, combat duration, punishment type, ban duration, and tab stats display. Reload without restarting with /combatguard reload.
? Commands
| Command |
Description |
/stats <player> |
Display a player's combat stats |
/combatguard reload |
Reload the config |
? Permissions
| Permission |
Description |
combatguard.admin |
Access to /combatguard reload |
⚙️ Config
# Plugin prefix
prefix: "CombatGuard "
# Combat tag duration in seconds
combat-duration: 15
# Punishment on combat logout: kill | ban | both
punishment: kill
# Ban duration in seconds (only if punishment is "ban" or "both")
ban-duration: 300
# Show kills/deaths in the tab list
tab-stats: true
? Installation
Drop the .jar into your plugins/ folder and restart your server. No dependencies required.
? Compatibility
- ✅ Spigot / Paper
- ✅ Minecraft 1.21.x
Made with ❤️ by Gregwll
评论 0
登录后参与评分
还没有评论,来抢沙发吧