Combat Log Detector 插件
版本: 1.0.0
Minecraft 版本: 1.16.5
平台: Spigot
使用 Java 8 开发
概述:
Combat Log Detector 插件帮助服务器管理员检测战斗日志玩家(在 PvP 期间离开服务器的玩家)。它提供了一些基本功能,如战斗检测、监控战斗日志以及与 Discord 集成以发送通知。该插件不会惩罚或杀死战斗日志玩家,但会向管理员提供有价值的信息。
主要功能:
-
战斗检测:
追踪玩家在 PvP 中的互动。玩家在攻击或被攻击后会被标记为“战斗中”持续 10 秒。
-
战斗日志检测:
监控玩家活动并检测玩家是否在战斗中退出。它不会惩罚或杀死玩家,但会将事件记录供管理员审查。
-
Discord 集成:
当玩家进行战斗日志时,通过 webhook 向 Discord 发送实时通知。消息内容包括:
配置:
- 插件的 Discord webhook URL 可以在
config.yml 文件中配置。
- 首次安装插件时,会生成
config.yml 文件,你可以在其中添加你的 Discord webhook URL。
安装:
- 将 JAR 文件放入 Spigot 服务器的
plugins 文件夹中。
- 启动服务器以生成
config.yml 文件。
- 打开
config.yml 文件并添加你的 Discord webhook URL。
- 重启服务器以应用设置。
兼容性:
- Minecraft 版本: 1.16.5
- API: Spigot 1.16.5(兼容大多数 Minecraft 服务器)
- Java 版本: Java 8
许可证:
本插件是开源且免费使用的!欢迎贡献!
Combat Log Detector Plugin
Version: 1.0.0
Minecraft Version: 1.16.5
Platform: Spigot
Developed with Java 8
Overview:
The Combat Log Detector plugin helps server administrators detect players who combat log (leave the server during PvP). It provides essential features like combat detection, monitoring combat logs, and integration with Discord for notifications. This plugin doesn't punish or kill players for combat logging, but it provides valuable information to admins.
Key Features:
-
Combat Detection:
Tracks player interactions during PvP. Players are tagged as "in combat" for 10 seconds after hitting or being hit.
-
Combat Log Detection:
Monitors player activity and detects when players quit during combat. It will not punish or kill the player but will log the event for admin review.
-
Discord Integration:
Sends real-time notifications to Discord using webhooks when a player combat logs. The message includes:
- Player name
- World name
- Coordinates (X, Y, Z)
Configuration:
- The plugin's Discord webhook URL can be configured in the
config.yml file.
- When the plugin is first installed, the
config.yml file will be generated, where you can add your Discord webhook URL.
Installation:
- Place the JAR file in the
plugins folder of your Spigot server.
- Start the server to generate the
config.yml file.
- Open the
config.yml file and add your Discord webhook URL.
- Restart the server to apply the settings.
Compatibility:
- Minecraft Version: 1.16.5
- API: Spigot 1.16.5 (Compatible with most Minecraft servers)
- Java Version: Java 8
License:
This plugin is open-source and free to use. Contributions are welcome!
评论 0
登录后参与评分
还没有评论,来抢沙发吧