Command Confirm
Command Confirm 允许服务器管理员通过要求玩家在危险命令执行前进行确认,从而轻松保护他们的服务器。
功能特性
- 在运行指定的危险命令前,需要点击聊天中的确认按钮。
- 可配置的命令列表和确认超时时间。
- 支持通过追加
--bypass 快速绕过(需要 commandconfirm.bypass 权限)。
- 通过
/commandconfirm reload 简单重载配置。
待办 / 计划功能
为什么使用 Command Confirm?
它通过在高风险命令执行前为管理员和玩家提供一个简单、可点击的安全网,从而防止灾难性的错误。
贡献项目
该插件是开源的,这意味着任何人都可以下载代码、进行修改并提交编辑。如果你想为项目做出贡献,可以按照以下步骤操作:
- 如果你还没有 GitHub 账号,请先创建一个。
- 将插件的代码库 Fork 到你的 GitHub 账号中。
- 将代码库克隆到本地机器,并对代码进行所需的修改。
- 提交并推送你的更改到你 Fork 的代码库。
- 从你 Fork 的代码库向原始插件的代码库创建拉取请求(Pull Request),描述你所做的更改及其益处。
指标收集
Command Confirm 通过 bStats 收集匿名的服务器统计数据,bStats 是一个面向 Minecraft 软件的开源统计服务。
Command Confirm
Command Confirm allows server administrators to easily protect their server by requiring players to confirm dangerous commands before they are executed.
Features
- Require a clickable chat confirmation before running specified dangerous commands.
- Configurable list of commands and confirmation timeout periods.
- Quick bypass support by appending
--bypass to a command (requires commandconfirm.bypass permission).
- Simple config reloading via
/commandconfirm reload.
To-Do / Planned Features
- Allow commands that need to be confirmed to be added in-game.
Why use Command Confirm?
It allows you to prevent catastrophic mistakes by giving administrators and players a simple, clickable safety net before executing high-risk commands.
Contributing to the Project
The plugin is open-source, which means anyone can download the code, make changes, and submit edits. If you'd like to contribute to the project, you can do so by following these steps:
- Create a GitHub account if you don't have one already.
- Fork the plugin's repository to your GitHub account.
- Clone the repository to your local machine and make your desired changes to the code.
- Commit and push your changes to your forked repository.
- Create a pull request from your forked repository to the original plugin's repository, describing the changes you've made and why they're beneficial.
Metrics collection
Command Confirm collects anonymous server statistics through bStats, an open-source statistics service for Minecraft software.
评论 0
登录后参与评分
还没有评论,来抢沙发吧