GoodBlocker
一款功能强大且灵活的 Minecraft 插件,用于阻止服务器上的命令执行。
? 描述
GoodBlocker 是一款 Spigot/Paper 插件,允许服务器管理员禁止玩家使用特定命令。它具备灵活的配置系统、通配符支持以及直观的命令界面。
✨ 特性
- 阻止任何命令 - 防止玩家使用特定命令
- 通配符支持 - 使用
* 来阻止一组命令(例如 minecraft:*)
- 权限系统 - 通过权限绕过阻止限制
- 动态管理 - 无需编辑文件即可添加/移除被阻止的命令
- 自定义消息 - 完整支持颜色代码
- 日志系统 - 追踪被阻止的命令尝试
- Tab 补全 - 轻松使用命令
- 轻量级 - 对性能影响极小
? 安装
- 从 Releases 页面下载最新的
GoodBlocker.jar
- 将文件放入服务器的
plugins/ 文件夹中
- 重启服务器
- 在
plugins/GoodBlocker/config.yml 中配置插件
- 使用
/gb reload 应用更改
? 要求
- Minecraft 1.17 或更高版本
- Spigot、Paper 或其他兼容的服务器软件
- Java 16 或更高版本
? 命令
| 命令 |
描述 |
权限 |
/gb reload |
重新加载配置 |
goodblocker.reload |
/gb list |
列出所有被阻止的命令 |
goodblocker.admin |
/gb add <command> |
将命令添加到阻止列表 |
goodblocker.admin |
/gb remove <command> |
从阻止列表中移除命令 |
goodblocker.admin |
别名: /goodblocker, /gb, /blocker
? 权限
| 权限 |
描述 |
默认 |
goodblocker.admin |
完全访问插件 |
OP |
goodblocker.bypass |
绕过所有命令阻止 |
OP |
goodblocker.reload |
重新加载配置 |
OP |
⚙️ 配置
# 被阻止的命令列表
blocked-commands:
- "op"
- "deop"
- "stop"
- "reload"
- "minecraft:give"
- "plugins"
- "pl"
- "version"
- "ver"
# 插件消息
messages:
blocked-command: "&c&l拒绝访问!&7此命令已被阻止。"
no-permission: "&c你没有权限使用此命令。"
reload-success: "&a配置重新加载成功!"
command-added: "&a命令已添加到阻止列表。"
command-removed: "&a命令已从阻止列表中移除。"
# 启用被阻止命令尝试的日志记录
enable-logging: true
? 使用示例
阻止单个命令
/gb add gamemode
阻止来自某个命名空间的所有命令
/gb add minecraft:*
移除被阻止的命令
/gb remove gamemode
查看所有被阻止的命令
/gb list
重新加载配置
/gb reload
? 贡献
欢迎贡献!请随时提交 Pull Request。
? 许可证
本项目采用 MIT 许可证授权。
? 作者
Vnxsitoow
? Bug 报告
如果你发现了 Bug,请在 GitHub 上开启 Issue,并提供以下信息:
- Minecraft 版本
- 服务器软件及版本
- 插件版本
- 复现步骤
- 错误日志(如果有)
? 支持
如需支持,请在 GitHub 上开启 Issue 或联系作者。
由 ❤️ 为 Minecraft 社区制作
GoodBlocker
A powerful and flexible Minecraft plugin to block commands on your server.
? Description
GoodBlocker is a Spigot/Paper plugin that allows server administrators to block specific commands from being used by players. It features a flexible configuration system, wildcard support, and an intuitive command interface.
✨ Features
- Block any command - Prevent players from using specific commands
- Wildcard support - Use
* to block groups of commands (e.g., minecraft:*)
- Permission system - Bypass blocks with permissions
- Dynamic management - Add/remove blocked commands without editing files
- Customizable messages - Full color code support
- Logging system - Track blocked command attempts
- Tab completion - Easy command usage
- Lightweight - Minimal performance impact
? Installation
- Download the latest
GoodBlocker.jar from releases
- Place the file in your server's
plugins/ folder
- Restart your server
- Configure the plugin in
plugins/GoodBlocker/config.yml
- Use
/gb reload to apply changes
? Requirements
- Minecraft 1.17 or higher
- Spigot, Paper, or any compatible server software
- Java 16 or higher
? Commands
| Command |
Description |
Permission |
/gb reload |
Reload the configuration |
goodblocker.reload |
/gb list |
List all blocked commands |
goodblocker.admin |
/gb add <command> |
Add a command to the block list |
goodblocker.admin |
/gb remove <command> |
Remove a command from the block list |
goodblocker.admin |
Aliases: /goodblocker, /gb, /blocker
? Permissions
| Permission |
Description |
Default |
goodblocker.admin |
Full access to the plugin |
OP |
goodblocker.bypass |
Bypass all command blocks |
OP |
goodblocker.reload |
Reload the configuration |
OP |
⚙️ Configuration
# List of blocked commands
blocked-commands:
- "op"
- "deop"
- "stop"
- "reload"
- "minecraft:give"
- "plugins"
- "pl"
- "version"
- "ver"
# Plugin messages
messages:
blocked-command: "&c&lAccess Denied! &7This command is blocked."
no-permission: "&cYou don't have permission to use this command."
reload-success: "&aConfiguration reloaded successfully!"
command-added: "&aCommand added to the block list."
command-removed: "&aCommand removed from the block list."
# Enable logging of blocked command attempts
enable-logging: true
? Usage Examples
Block a single command
/gb add gamemode
Block all commands from a namespace
/gb add minecraft:*
Remove a blocked command
/gb remove gamemode
View all blocked commands
/gb list
Reload configuration
/gb reload
? Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
? License
This project is licensed under the MIT License.
? Author
Vnxsitoow
? Bug Reports
If you find a bug, please open an issue on GitHub with:
- Minecraft version
- Server software and version
- Plugin version
- Steps to reproduce
- Error logs (if any)
? Support
For support, please open an issue on GitHub or contact the author.
Made with ❤️ for the Minecraft community
评论 0
登录后参与评分
还没有评论,来抢沙发吧