StaffLogger
适用于 Paper 和 Spigot 服务器的轻量级、可配置的管理人员操作日志记录插件,支持经过验证的 Discord 报告。
与仅仅记录所有执行命令的插件不同,StaffLogger 会在将操作发送至 Discord 之前,验证该管理操作是否真正成功。不再因拼写错误、权限不足或命令失败而产生日志垃圾信息。
✨ 功能特性
✅ 验证式日志记录
StaffLogger 在记录之前会确认管理操作确实已经发生。
支持的验证类型包括:
- 玩家封禁 (Ban)
- 玩家解封 (Unban)
- 玩家踢出 (Kick)
如果命令执行失败,不会向 Discord 发送任何内容。
⚙️ 完全可配置的命令追踪
直接从 config.yml 追踪任何管理命令。
对于每个命令,您可以配置:
- 命令别名
- 验证类型
- Discord 嵌入颜色
- 显示标签
无需编码或重新编译。
? UUID + NameMC 集成
每条记录的日志都包含:
- 玩家用户名
- UUID
- 指向玩家 NameMC 主页的直接链接
即使玩家更改了名称,也能轻松识别玩家身份。
? 美观的 Discord 嵌入卡片
StaffLogger 发送清晰易读的 Discord 嵌入卡片,其中包含:
- ? 管理人员
- ? 目标玩家
- ? UUID
- ⚖️ 执行的操作
- ⏱️ 持续时间 (如适用)
- ? 原因
- ? 时间戳
每个命令都可以拥有其自定义的嵌入颜色。
⚡ 异步且轻量
Webhook 请求以异步方式处理。
⚙️ 示例配置
commands:
ban:
aliases:
- "ban"
- "banip"
type: BAN
color: "#E74C3C"
label: "Player Banned"
验证类型
选择 StaffLogger 在记录日志前如何验证每个命令。
| 类型 |
描述 |
BAN |
验证玩家是否成功被封禁 |
UNBAN |
验证玩家是否成功被解封 |
KICK |
验证玩家是否被踢出 |
GENERIC |
记录命令而不进行额外验证 |
? 依赖要求
- Paper / Spigot 1.21+
- Java 21+
- Discord Webhook URL
❤️ 为什么选择 StaffLogger?
大多数日志记录插件会记录输入的所有命令——即使它们失败了。
StaffLogger 仅记录成功的管理操作,为您的管理团队提供准确、可信的审计日志,而无需不必要的杂乱信息。
StaffLogger
Lightweight, configurable staff moderation logging for Paper and Spigot servers with verified Discord reporting.
Unlike plugins that simply log every command executed, StaffLogger verifies that the moderation action actually succeeded before sending it to Discord. No more log spam from typos, missing permissions, or failed commands.
✨ Features
✅ Verified Logging
StaffLogger confirms that moderation actions actually happened before logging them.
Supported verification includes:
- Player Bans
- Player Unbans
- Player Kicks
If the command fails, nothing is sent to Discord.
⚙️ Fully Configurable Command Tracking
Track any moderation command directly from config.yml.
For every command you can configure:
- Command aliases
- Verification type
- Discord embed color
- Display label
No coding or recompiling required.
? UUID + NameMC Integration
Every logged action includes:
- Player username
- UUID
- Direct link to the player's NameMC profile
This makes it easy to identify players even after name changes.
? Beautiful Discord Embeds
StaffLogger sends clean, easy-to-read Discord embeds containing:
- ? Staff Member
- ? Target Player
- ? UUID
- ⚖️ Action Performed
- ⏱️ Duration (if applicable)
- ? Reason
- ? Timestamp
Each command can have its own custom embed color.
⚡ Asynchronous & Lightweight
Webhook requests are processed asynchronously.
- No server lag
- No impact on TPS
- Safe for large servers
⚙️ Example Configuration
commands:
ban:
aliases:
- "ban"
- "banip"
type: BAN
color: "#E74C3C"
label: "Player Banned"
Verification Types
Choose how StaffLogger verifies each command before logging it.
| Type |
Description |
BAN |
Verifies the player was successfully banned |
UNBAN |
Verifies the player was successfully unbanned |
KICK |
Verifies the player was kicked |
GENERIC |
Logs the command without additional verification |
? Requirements
- Paper / Spigot 1.21+
- Java 21+
- Discord Webhook URL
❤️ Why StaffLogger?
Most moderation loggers record every command that's typed—even if it fails.
StaffLogger only logs successful moderation actions, giving your staff team accurate, trustworthy audit logs without unnecessary clutter.
评论 0
登录后参与评分
还没有评论,来抢沙发吧