CombatLogX 战斗日志
作者:SirBlobman
发布时间:2016年11月12日
原生版本:未知
测试支持:未知
一个模块化的战斗标记插件。
点此下载插件详细介绍
CombatLogX 是一款基于 PVP 的插件,旨在惩罚在战斗中退出的玩家。它提供了丰富的配置选项,例如惩罚类型和命令。该插件还支持多种扩展,以增加额外功能并保持主插件的轻量级。
⚔️ CombatLogX
📦 插件介绍
CombatLogX 通过多种配置选项(如惩罚类型和指令)来惩罚在战斗中退出的玩家。它还具有许多扩展功能,用于添加额外的功能,并保持主插件的轻量级。
➕ 扩展
CombatLogX 使用扩展来增加主插件的功能。在安装插件之前,请务必查阅CombatLogX 扩展文档,了解更多关于扩展的信息。
⚙️ 安装指南
CombatLogX 的安装步骤与其他插件有所不同。在尝试将 CombatLogX 添加到服务器之前,请务必阅读本指南!
- 从 Jenkins 或 SpigotMC 下载 CombatLogX.zip 文件。
- 将 CombatLogX.zip 的内容解压到您的电脑。
- 点击面板上的停止按钮。如果您的服务器没有使用面板,请在控制台中输入 stop。
- 将 CombatLogX.jar 和 BlueSlimeCore.jar 上传到服务器的 /plugins/ 文件夹。
- 将 CombatLogX/expansions 的内容上传到服务器的 /plugins/CombatLogX/expansions 文件夹。
- 如果文件上传和解压正确,您的服务器应该具有以下文件:
- 文件: /plugins/CombatLogX.jar
- 文件: /plugins/BlueSlimeCore.jar
- 文件夹: /plugins/CombatLogX/
- 文件夹: /plugins/CombatLogX/expansions/
- 多个文件: /plugins/CombatLogX/expansions/*.jar
- 删除 CombatLogX.zip 文件。
- 使用面板或启动脚本重启服务器。
- 编辑主插件、语言和扩展的配置文件。
- 输入命令
/clx reload重新加载配置文件。 - 如果要删除扩展,请从 /plugins/CombatLogX/expansions 中删除 jar 文件。
👨💻 开发者
CombatLogX 是一个使用 GPL-3.0 许可的开源项目。您可以在 GitHub 上找到源代码。GitHub 上还有关于 API 的信息。我的 Jenkins CI 具有 CombatLogX 的开发者构建版本,用于测试新功能。
❓ 帮助和支持
如果您在使用 CombatLogX 时遇到问题,请确保您已按照安装指南操作,并阅读了所有配置。如果仍然存在问题,请在我的 GitHub 页面上创建一个新的 “Bug Report”。
您也可以在 Discussion 选项卡上发帖或向我发送私信,但我回复的速度会比较慢,因为我不会经常查看这些页面。
🤝 赞助
我的项目由 Alien Host 赞助。点击横幅查看!
ℹ️ 额外信息
请不要使用评论来留下错误报告或错误信息。我无法通过评论为您提供帮助。如果您需要帮助,请使用上面提供的联系方式。
📜 命令和权限
⚔️ 主要命令
/combatlogx reload- 重载插件
🛡️ 权限节点
combatlogx.reload- 允许重载插件
⚙️ 配置文件示例
# Configuration for CombatLogX
# General Settings
general:
# Should the plugin be enabled?
enabled: true
# Plugin prefix.
prefix: "&7[&cCombatLogX&7] "
# How many seconds before a player is no longer in combat?
combat-time: 15
# Should a tag be reapplied when a player takes damage?
extend-on-hit: true
# List of worlds where the plugin should not work.
disabled-worlds:
- "example_world"
# Should players be able to bypass combat using a permission node?
bypass-combat:
enabled: false
permission: "combatlogx.bypass"
# List of entity types that trigger combat.
combat-entity-types:
- "PLAYER"
- "ZOMBIE"
- "SKELETON"
- "SPIDER"
# Punishment for logging out during combat.
punishment:
# List of punishments.
punishments:
- "KILL"
# Command to run on the player.
# Use {player} to represent the player's name.
commands:
- "kick {player} You logged out during combat!"
# Combat Messages
messages:
# When a player enters combat.
tag: "&cYou are now in combat!"
# When a player leaves combat.
untag: "&aYou are no longer in combat!"
# When a player logs out during combat.
logout: "&c{player} logged out during combat!"
# When a player is killed for logging out.
logout-death: "&c{player} was killed for logging out during combat!"
# Combat Title Messages
titles:
# Should the plugin send title messages when a player is tagged?
enabled: true
# Enter Combat Title
enter-combat:
title: "&cCombat!"
subtitle: "&7You are now in combat."
fade-in: 10
stay: 70
fade-out: 20
# Exit Combat Title
exit-combat:
title: "&aSafe!"
subtitle: "&7You are no longer in combat."
fade-in: 10
stay: 70
fade-out: 20
# Tab List Name
tab-list-name:
# Should the plugin change the player's tab list name when in combat?
enabled: true
# Color code to use when in combat.
color-code: "&c"
# Glowing Effect
glowing-effect:
# Should the plugin give players a glowing effect when in combat?
enabled: false
# Color of the glowing effect.
# Valid options: BLACK, DARK_BLUE, DARK_GREEN, DARK_AQUA, DARK_RED, DARK_PURPLE, GOLD, GRAY, DARK_GRAY, BLUE, GREEN, AQUA, RED, LIGHT_PURPLE, YELLOW, WHITE
color: "RED"
# Settings that handle the NPC.
npc:
# Should the plugin spawn a npc when a player logs out during combat?
enabled: true
# Name of the npc.
name: "&cCombat NPC"
# Should the NPC have the player's skin?
copy-skin: true
# How long before the NPC despawns?
despawn-time: 30
# Should the npc be removed when the player rejoins?
remove-on-rejoin: true
# Should the npc be invulnerable?
invulnerable: true
# Should the NPC have the no AI?
no-ai: true
# Should the NPC show damage?
show-damage: false