BellCommand - 指令物品插件
版本信息
当前版本:1.4.0-beta.1
这是一个重大 Beta 版本,包含以下功能:
- ✅ 配置系统重构:模块化多文件夹架构,支持实时热重载(WatchService)和智能自动迁移。
- ✅ 消耗型物品系统:支持固定数量、基于概率以及随机范围三种消耗模式。
- ✅ 增强的线程安全性:全面实现 ReentrantReadWriteLock,确保高并发下的配置稳定性。
- ✅ 自动化发布流程:深度集成 GitHub Actions 与 Modrinth API,实现自动发布。
- ✅ 完整的指令物品系统
- ✅ 语言支持
- ✅ Bedrock 玩家支持(需要 Floodgate)
- ✅ 针对特定操作的冷却系统
- ✅ 自定义更新源支持(GitHub、Gitee、自定义 API)
简介
BellCommand 是一款强大的 Minecraft 插件,允许服务器管理员创建可执行指令的自定义物品。玩家可以通过左键或右键点击这些物品来触发预设的指令。
特性
- 模块化配置管理:支持多个文件夹(例如
Default_config/)来存储物品配置,将物品定义与主配置文件解耦。 - 实时热重载:基于
WatchService监控文件更改;修改后即时生效,无需手动重新加载。 - 可消耗物品系统:支持基于固定数量、概率或随机范围进行物品消耗,灵活控制物品的使用寿命。
- 增强的线程安全性:核心配置访问采用
ReentrantReadWriteLock实现,确保在高并发下的绝对稳定性。 - 多维交互:左键点击、右键点击以及 Shift+左键/右键点击拥有独立的命令触发机制。
- 深度基岩适配:为 Floodgate(基岩版)玩家提供专用的交互逻辑和命令配置。
- 细粒度权限控制:完善的权限系统,支持全局权限和物品专属权限。
- 独立冷却时间:不同的操作类型(例如左键/右键点击)可以拥有各自独立的冷却计时器。
- 国际化 (i18n):强大的
LanguageManager系统,支持系统日志和消息的实时切换。 - 自动更新提醒:集成 GitHub、Gitee 及自定义 API 的更新检测功能。
命令
/bc give <player> <itemID> [amount]- 给予指令物品/bc list- 查看可用的指令物品/bc reload- 重新加载插件配置
权限
bellcommand.command- 允许使用基本命令bellcommand.reload- 允许重载配置bellcommand.give- 允许给予物品bellcommand.list- 允许查看物品列表bellcommand.use- 允许使用命令物品bellcommand.item.<itemID>- 允许使用特定物品
安装
- 下载最新的 BellCommand.jar
- 将文件放入服务器的 plugins 文件夹中
- 重启服务器或重载插件
- 编辑配置文件
- 使用
/bc reload重载配置
BellCommand - Command Item Plugin
Version Info
Current Version: 1.4.0-beta.1
This is a major Beta release with the following features:
- ✅ Config System Overhaul: Modular multi-folder architecture with real-time hot-reloading (WatchService) and smart auto-migration.
- ✅ Consumable Item System: Support for fixed count, probability-based, and random range consumption modes.
- ✅ Enhanced Thread Safety: Full implementation of ReentrantReadWriteLock for configuration stability under high concurrency.
- ✅ Automated Release Pipeline: Deep integration with GitHub Actions and Modrinth API for automatic publishing.
- ✅ Complete command item system
- ✅ Language support
- ✅ Bedrock player support (requires Floodgate)
- ✅ Action-specific cooldown system
- ✅ Custom update source support (GitHub, Gitee, Custom API)
Introduction
BellCommand is a powerful Minecraft plugin that allows server administrators to create custom items that can execute commands. Players can trigger preset commands by left-clicking or right-clicking these items.
Features
- Modular Config Management: Support for multiple folders (e.g.,
Default_config/) to store item configurations, decoupling item definitions from the main config. - Real-time Hot-Reloading: Powered by
WatchServiceto monitor file changes; modifications take effect instantly without manual reloading. - Consumable Item System: Support for item consumption based on fixed counts, probabilities, or random ranges to flexibly control item lifespan.
- Enhanced Thread Safety: Implementation of
ReentrantReadWriteLockfor core configuration access, ensuring absolute stability under high concurrency. - Multi-Dimensional Interaction: Independent command triggers for Left-Click, Right-Click, and Shift+Left/Right-Click.
- Deep Bedrock Adaptation: Dedicated interaction logic and command configurations for Floodgate (Bedrock) players.
- Granular Permission Control: Comprehensive permission system supporting global and item-specific permissions.
- Independent Cooldowns: Different action types (e.g., Left/Right click) can have their own independent cooldown timers.
- Internationalization (i18n): Robust
LanguageManagersystem for real-time switching of system logs and messages. - Automatic Update Alerts: Integrated update detection for GitHub, Gitee, and custom APIs.
Commands
/bc give <player> <itemID> [amount]- Give command items/bc list- View available command items/bc reload- Reload plugin configuration
Permissions
bellcommand.command- Allow using basic commandsbellcommand.reload- Allow configuration reloadbellcommand.give- Allow giving itemsbellcommand.list- Allow viewing item listbellcommand.use- Allow using command itemsbellcommand.item.<itemID>- Allow using specific items
Installation
- Download the latest BellCommand.jar
- Place the file in your server's plugins folder
- Restart server or reload plugin
- Edit configuration file
- Use
/bc reloadto reload configuration
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BellCommand
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
release: v1.4.0-beta.4 - 修复 Floodgate 缺失语言键
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧