测试于 26.3
CommandAuditor 是什么?
CommandAuditor 是监控 Minecraft 服务器中玩家活动的一站式解决方案。它让追踪已发出的命令变得毫不费力,防止垃圾信息泛滥,并帮助管理员对服务器活动保持清晰的监督。通过查看权限、豁免设置以及便捷的黑白名单管理,管理员可以精确控制哪些内容被查看和记录,从而使服务器管理更加高效简便。
为什么要使用 CommandAuditor?
- 无垃圾信息,无杂乱:当玩家频繁发送命令时,CommandAuditor 仅在达到配置的阈值前显示第一条命令,从而保持工作人员频道的整洁。

- 可在配置文件中轻松设置垃圾信息阈值以满足您的需求。
- 自定义权限:分配查看命令的权限(commandauditor.see)、授予完全的管理员访问权限(commandauditor.admin),或免除特定玩家的日志记录(commandauditor.exempt)。
- 即时添加黑名单命令:直接在游戏内从黑名单中添加或删除命令,确保敏感命令保持私密且不被记录。
- 高度可定制:自定义所有内容,包括颜色和消息,支持完整的十六进制颜色代码。
命令 - /ca 或 /commandauditor
- enable:为您启用 CommandAuditor。
- disable:为您禁用 CommandAuditor。
- add <command>:将某个命令添加到黑名单中。
- remove <command>:将某个命令从黑名单中移除。
- reload:重新加载 CommandAuditor 的配置。
- /ca:显示帮助菜单。
权限:
- commandauditor.see:允许用户开启或关闭自己命令的查看功能。
- commandauditor.admin:授予对所有命令和功能的完全访问权限。
- commandauditor.exempt:排除特定玩家或组,使其命令不会被记录。
config.yml 示例:
# CommandAuditor 插件配置
# 启用或禁用调试模式(设置为 true 以在控制台中显示调试日志)
enable-debugging: false
# 在显示汇总消息之前,命令必须重复的次数阈值
spam-threshold: 5
# 应被插件忽略的命令列表。这些命令将不会被记录。
blacklisted-commands:
- examplecommand1
- examplecommand2
# 聊天中消息的颜色(可以使用有效的颜色代码进行自定义)
colors:
prefix: "?#FB8208[#E0B204C#C4E100A#FB8208]" # 发送给玩家的邮件前缀
player-name: "&6" # 玩家名称的颜色
command: "&a" # 显示命令的颜色
count-suffix: "&7[%count%x]" # 重复计数后缀的颜色和格式,例如 "[5x]"
消息设置(可选自定义)
messages:
enabled: "命令查看已启用。"
disabled: "命令查看已禁用。"
issued-command: "#dbff33发出命令:"
reload-success: "CommandAuditor 配置已重新加载。"
add-success: "命令 '%command%' 已添加到黑名单。"
remove-success: "命令 '%command%' 已从黑名单中移除。"
already-blacklisted: "命令 '%command%' 已在黑名单中。"
not-found: "未在黑名单中找到命令 '%command%'。"
permission-denied: "您没有使用此命令的权限。"
usage-add: "用法:/<command> add <command>"
usage-remove: "用法:/<command> remove <command>"
usage-general: "使用 /<command> enable、disable、add <command>、remove <command> 或 reload。"
如需帮助、反馈或技巧,请加入我的 Discord:[https://discord.gg/GXvTjq78mP](https://discord.gg/GXvTjq78mP)
Tested on 26.3
What is CommandAuditor?
CommandAuditor is your all-in-one solution for monitoring player activities on your Minecraft server. It makes tracking issued commands effortless, prevents spam, and helps maintain clear oversight over server activities. With permissions for viewing, exemptions, and easy blacklist management, admins can control exactly what is seen and logged, making server management streamlined and simple.
Why use CommandAuditor?
- No Spam, No Clutter: When players spam commands, CommandAuditor keeps your staff team's chat clean by only showing the first command until a configured threshold is met.

- Easily set the spam threshold to suit your needs in the config file.
- Custom Permissions: Assign permissions for viewing commands (commandauditor.see), give full admin access (commandauditor.admin), or exempt specific players (commandauditor.exempt) from being logged altogether.
- Blacklist Commands On-the-Fly: Add or remove commands from the blacklist directly in-game, ensuring that sensitive commands remain private and are not logged.
- Fully Customizable: Customize everything from colors to messages, including full hex color support.
Commands - /ca or /commandauditor
- enable: Enables CommandAuditor for you.
- disable: Disables CommandAuditor for you.
- add <command>: Adds a command to the blacklist.
- remove <command>: Removes a command from the blacklist.
- reload: Reloads the CommandAuditor's configuration.
- /ca: Displays the help menu.
Permissions:
- commandauditor.see: Allows users to enable or disable command viewing for themselves.
- commandauditor.admin: Grants full access to all commands and features.
- commandauditor.exempt: Excludes specific players or groups from having their commands logged.
Example of config.yml:
# Configuration for CommandAuditor plugin
# Enable or disable debugging (set to true to show debug logs in the console)
enable-debugging: false
# The threshold for how many times a command must be repeated before a summary message is shown
spam-threshold: 5
# List of commands that should be ignored by the plugin. These commands will not be logged.
blacklisted-commands:
- examplecommand1
- examplecommand2
# Colors for messages in the chat (can be customized with valid color codes)
colors:
prefix: "?#FB8208[#E0B204C#C4E100A#FB8208]" # Prefix for messages sent to players
player-name: "&6" # Color for player names
command: "&a" # Color for the command shown
count-suffix: "&7[%count%x]" # Color and format for the repeat count suffix, e.g., "[5x]"
# Message settings (optional customization)
messages:
enabled: "Command viewing enabled."
disabled: "Command viewing disabled."
issued-command: "#dbff33issued command: "
reload-success: "CommandAuditor configuration reloaded."
add-success: "Command '%command%' added to the blacklist."
remove-success: "Command '%command%' removed from the blacklist."
already-blacklisted: "The command '%command%' is already on the blacklist."
not-found: "The command '%command%' was not found on the blacklist."
permission-denied: "You do not have permission to use this command."
usage-add: "Usage: /<command> add <command>"
usage-remove: "Usage: /<command> remove <command>"
usage-general: "Use /<command> enable, disable, add <command>, remove <command>, or reload."
For help, feedback or tips join my discord:
评论 0
登录后参与评分
还没有评论,来抢沙发吧