CrateBundles - 可自定义的奖励宝箱!
通过 CrateBundles 为你的服务器奖励系统注入强大动力!这是一款功能强大的服务端 Fabric 模组,允许你创建高度可定制、分层级的奖励宝箱(称为“Bundles”),其中包含物品、命令甚至复杂的工具包。凭借直观的游戏内 GUI 配置界面、动态开启动画以及完善的权限控制,CrateBundles 为玩家奖励提供了多功能解决方案。
? 联系我 & 支持信息
? 主要支持渠道(推荐)
所有常规问题、功能请求和非紧急的错误报告,请发布在我们 Discord 服务器 的相应频道中。 我们会积极监控该服务器并尽快回复。这能确保整个社区都能从讨论和解决方案中受益。
? 紧急私聊 (PM) 政策
虽然我们倾向于所有问题都优先通过 Discord 服务器处理,但在特定的紧急情况下,欢迎直接私聊我:
- 允许的原因: 你的服务器正在崩溃或出现与我的某个模组/插件直接相关的严重、破坏游戏性的错误。
- 要求: 你必须是服务器的所有者。
- 时区: 我处于 (CET/CEST) 时区。
- 私聊时间: 请仅在 上午 10:00 至晚上 10:00(布鲁塞尔时间) 之间发送私聊消息。
我会尽力尽快回复你的私聊以提供帮助,并看看我能做些什么来解决你的紧急问题。然而,请注意,无法保证即时回复,且私聊是一种职业礼貌,而非一种权利。感谢你的理解与合作!
主要特性:
深度可定制的奖励宝箱:
- 定义无限数量的“Bundle 类型”(例如:投票宝箱、传说钥匙),这些类型存储在配置文件中。
- 将奖励配置为物品(带有自定义名称、描述、NBT、附魔和数量)、命令(由服务器执行,支持玩家占位符)或工具包(MULTI 奖励),后者包含多个子奖励。
- 为每个奖励分配权重以控制掉落几率。
- 为每种 Bundle 类型设置自定义显示名称、描述、基础 Minecraft 宝箱物品(例如
minecraft:red_bundle、minecraft:black_bundle),甚至可以为每种 Bundle 类型添加装饰性的附魔光效。
动画宝箱开启体验:
- 当玩家打开 Bundle 时,用视觉上吸引人的 GUI 动画吸引玩家的注意。
- 选择 8 种不同的物品展示样式(由
itemCycleVariant控制),这些样式决定了物品在滚动动画期间如何出现和移动(例如:标准单列、双水平线滚动、对角线扫过、随机闪烁并保持)。 - 为每种 Bundle 类型选择十多种面板动画样式(例如:彩虹波浪、边框追逐、螺旋进入、环境闪光、行脉冲、中心脉冲等),使每个宝箱的背景感觉独一无二。
- 使用 9 种不同的结构变体自定义开启 GUI 布局本身,影响行数奖励排列方式。
全面的游戏内 & 文件配置:
- 基于 GUI 的管理:管理员可以使用如
/bundle modify <Bundle_name>的命令来打开直观的 GUI,用于:- 向工具箱中添加/移除奖励。
- 编辑物品/命令属性(数量、稀有度/权重、显示名称、NBT 方面)。
- 管理工具包内容、图标和属性(显示名称、图标、权重、描述)。
- 更改宝箱动画样式(面板动画、物品循环变体、GUI 布局)。
- 聊天驱动编辑:通过从 GUI 发起的引导式聊天提示,配置特定属性,如命令预览名称、命令字符串、命令预览描述(描述)以及工具包元数据。
- JSON 配置:所有设置都存储在人可读的 JSON 文件(
cratebundles.json,cratebundles_messages.json)中,便于备份、共享或高级手动编辑。会生成详细的默认配置以助你快速上手。
高级工具包系统(MULTI 奖励):
- 创建“工具包”,作为单一奖励授予多个物品和/或执行多个命令。
- 工具包在其父级工具箱中可以拥有自定义显示图标(任何物品,带 NBT)、名称、描述和权重。
- 通过物品属性编辑器 GUI,轻松将现有的物品或命令奖励转换为新的工具包。
如果工具包在编辑后仅包含一个物品或命令奖励,它可以自动“解开”回该单一奖励类型,从而简化你的配置。
玩家友好特性:
- 宝箱预览:玩家可以 Shift+右键点击宝箱以查看其潜在奖励。管理员可以使用
/bundle list(悬停在宝箱名称上会显示物品)或切换/bundle adminlore以启用带有更多细节的高级预览模式。 - 工具包兑换箱:如果玩家在赢得工具包时背包已满,他们会收到一个特殊的“工具包兑换箱”(自定义玩家头颅物品),以便稍后领取他们的物品,确保不会丢失任何奖励。
- 服务器广播:配置可选的可定制消息,以宣布玩家打开了哪些特定的高价值宝箱。
- 受保护的宝箱:CrateBundle 物品是密封的;玩家不能使用原版宝箱机制手动从中添加或移除物品。
- CrateBundles 不自动拾取:制作/给予的 CrateBundle 物品具有特殊标签,以防止玩家在拾取物品时被原版宝箱机制自动填充。
- 可定制的消息:模组发送给玩家的几乎所有消息都可以通过
cratebundles_messages.json进行定制。
命令 & 权限:
所有命令都需要初始权限等级 2(通常是 op),然后检查特定的权限节点。主要命令是 /bundle(别名:/cb, /cratebundle)。
/bundle give <玩家> <捆绑包名称> [数量]
- 描述: 向指定玩家发放一个 CrateBundle 物品或 Kit Redeem Chest(例如,
bundle_key:kit_name)。 - 权限:
cratebundles.command.give
/bundle reload
- 描述: 重新加载所有 CrateBundles 配置文件。
- 权限:
cratebundles.command.reload
/bundle list
- 描述: 列出所有已配置的 CrateBundle 类型。将鼠标悬停在捆绑包名称上会显示物品,点击其 ID 会执行
/bundle modify <id>。 - 权限:
cratebundles.command.list(如果未配置权限管理器,默认允许所有人使用,但通常仅授予 0 级访问权限)。
/bundle create <Bundle_name>
- 描述: 使用给定的内部名称(将转换为小写)创建一个新的空 CrateBundle 类型,并打开其配置 GUI。
- 权限:
cratebundles.command.create
/bundle modify <Bundle_name>
- 描述: 打开指定整合包类型的主配置 GUI(仅限玩家指令)。
- 权限:
cratebundles.command.modify
/bundle commanditem \"<Display Name>\" /<command_to_run>
- 描述: 向管理员发放一个特殊的“命令物品”(即光之方块),该物品已预先配置了指定的自定义显示名称和执行命令。此物品随后可以放入整合包的奖励配置 GUI 中。
- 权限:
cratebundles.command.addcmditem
/bundle adminlore
- 描述: 在预览 GUI 中切换更详细的信息 lore 视图,供管理员使用。
- 权限:
cratebundles.preview.admin
/bundle rename <old_Bundle_name> <new_Bundle_name>
- 描述: 重命名现有整合包类型的内部键名(键名会被视为小写处理)。
- 权限:
cratebundles.command.modify
/bundle name <Bundle_name> <display_name>
- 描述: 设置或更改指定捆绑类型的显示名称。支持颜色代码。
- 权限:
cratebundles.command.modify
/bundle lore <Bundle_name> set <line_number> <lore_text>
- 描述: 设置实体 Bundle 物品的特定行 Lore(描述文本)。支持颜色代码。
- 权限:
cratebundles.command.modify
/bundle lore <Bundle_name> add <lore_text>
- 描述: 向实体 Bundle 物品添加一行新的 Lore。支持颜色代码。
- 权限:
cratebundles.command.modify
/bundle lore <Bundle_name> remove <line_number>
- 描述: 从实体 Bundle 物品中移除特定的 Lore 行。
- 权限:
cratebundles.command.modify
/bundle lore <Bundle_name> clear
- 描述: 清除实体 Bundle 物品上的所有自定义 Lore。
- 权限:
cratebundles.command.modify
/bundle color <Bundle_name> <color_name_or_code>
- 描述: 设置用于实体 CrateBundle 物品的原版 Bundle 基础材质(例如,通过 "blue" 或 "&1" 使用
minecraft:blue_bundle)。使用 "none" 或 "&" 可恢复为默认的棕色 Bundle。 - 权限:
cratebundles.command.modify
/bundle glint <Bundle_name>
- 描述: 切换实体 Bundle 物品上的附魔光泽特效。
- 权限:
cratebundles.command.modify
其他重要权限:
cratebundles.preview:允许玩家按住 Shift 键并右键点击以打开手中持有的 Bundle 的预览 GUI。cratebundles.command.configure_rewards:在内部检查的各种与更改奖励、套件属性或物品属性相关的 GUI 操作中使用的通用权限。通常与cratebundles.command.modify一同授予。
权限信息: 本模组使用了 Fabric Permissions API。为了使权限功能正常运行,服务器上必须安装兼容的权限管理器(例如 LuckPerms)。如果未检测到权限管理器,某些功能可能会默认启用或需要操作员状态(等级 2+)。
整合包政策:
- 允许将 CrateBundles 包含在任何整合包中。
- 请勿直接修改该模组的 JAR 文件。
- 不得出售整合包本身,也不得出售该整合包内访问此模组的权限。
CrateBundles - Customizable Reward Crates!
Supercharge your server's reward system with CrateBundles! This powerful server-side Fabric mod allows you to create highly customizable, tiered reward crates (called "Bundles") packed with items, commands, or even complex kits. Featuring intuitive in-game GUIs for configuration, dynamic opening animations, and robust permission controls, CrateBundles offers a versatile solution for player rewards.
? Contact Me & Support Information
? Primary Support Channel (Preferred)
All general questions, feature requests, and non-urgent bug reports should be posted in the appropriate channels on our Discord Server. We actively monitor the server and will respond as soon as possible. This ensures that the whole community can benefit from the discussion and solutions.
? Urgent Private Messaging (PM) Policy
While we prefer all issues to be handled via the Discord server first, you are welcome to PM me directly under specific urgent circumstances:
- Allowed Reason: Your server is crashing or experiencing critical, game-breaking errors directly related to one of my mods/plugins.
- Requirement: You must be the owner of the server.
- Time Zone: I am operating in the (CET/CEST) Time Zone.
- PM Hours: Please only send private messages between 10:00 AM and 10:00 PM (Brussels Time).
I will endeavor to answer your PM as soon as I can to be helpful and see what I can do to resolve your urgent issue. However, please understand that immediate responses are not guaranteed, and private messaging is a professional courtesy, not an entitlement. Thank you for your understanding and cooperation!
Key Features:
Deeply Customizable Reward Crates:
- Define unlimited "Bundle Types" (e.g., Vote Crate, Legendary Key) stored in the configuration.
- Configure rewards as Items (with custom names, lore, NBT, enchantments, and counts), Commands (executed by the server, with player placeholders), or Kits (MULTI rewards) containing multiple sub-rewards.
- Assign weights to each reward to control drop chances.
- Set custom display names, lore, the base Minecraft bundle item (e.g.,
minecraft:red_bundle,minecraft:black_bundle), and even add a cosmetic enchantment glint for each Bundle Type.
Animated Crate Opening:
- Engage players with a visually appealing GUI animation when they open a Bundle.
- Choose from 8 different item presentation styles (controlled by
itemCycleVariant) that dictate how items appear and move during the rolling animation (e.g., Standard Single, Dual Horizontal Line Scroll, Diagonal Sweep, Random Flash & Hold). - Select from over a dozen pane animation styles per Bundle Type (e.g., Rainbow Wave, Border Chase, Spiral In, Ambient Sparkle, Row Pulse, Center Pulse, and more!) to make each crate's background feel unique.
- Customize the opening GUI layout itself with 9 different structural variants, affecting row count and reward placement.
Comprehensive In-Game & File Configuration:
- GUI-Based Management: Admins can use commands like
/bundle modify <Bundle_name>to open intuitive GUIs for: * Adding/removing rewards from bundles. * Editing item/command properties (count, rarity/weight, display names, NBT aspects). * Managing kit contents, icons, and properties (display name, icon, weight, description). * Changing bundle animation styles (pane animation, item cycle variant, GUI layout). - Chat-Driven Editing: Configure specific properties like command preview names, command strings, command preview lore (descriptions), and kit metadata through guided chat prompts initiated from the GUIs.
- JSON Configuration: All settings are stored in human-readable JSON files (
cratebundles.json,cratebundles_messages.json) for easy backup, sharing, or advanced manual editing. A detailed default configuration is generated to get you started.
Advanced Kit System (MULTI Rewards):
- Create "Kits" that grant multiple items and/or execute multiple commands as a single reward.
- Kits can have custom display icons (any item, with NBT), names, descriptions, and weights within their parent bundle.
- Easily convert existing Item or Command rewards into new Kits via the Item Property Editor GUI.
If a kit contains only one Item or Command reward after editing, it can automatically "unwrap" back into that single reward type, simplifying your configuration.
Player-Friendly Features:
- Bundle Previews: Players can shift-right-click a Bundle to see its potential rewards. Admins can use
/bundle list(hovering over bundle names shows the item) or toggle/bundle adminlorefor an enhanced preview mode with more details. - Kit Redeem Chest: If a player's inventory is full when winning a Kit, they receive a special "Kit Redeem Chest" (a custom player head item) to claim their items later, ensuring no rewards are lost.
- Server Broadcasts: Configure optional, customizable messages to announce when players open specific high-value bundles.
- Protected Bundles: CrateBundle items are sealed; players cannot manually add or remove items from them using vanilla bundle mechanics.
- No Auto-Pickup for CrateBundles: Crafted/given CrateBundle items have a special tag to prevent them from being auto-filled by vanilla bundle mechanics if a player picks up items.
- Customizable Messages: Almost all messages sent to players by the mod can be customized via
cratebundles_messages.json.
Commands & Permissions:
All commands require an initial permission level of 2 (typically op) and then check for specific permission nodes. The primary command is /bundle (aliases: /cb, /cratebundle).
/bundle give <player> <Bundle_name> [amount]
- Description: Gives the specified player a CrateBundle item or a Kit Redeem Chest (e.g.,
bundle_key:kit_name). - Permission:
cratebundles.command.give
/bundle reload
- Description: Reloads all CrateBundles configuration files.
- Permission:
cratebundles.command.reload
/bundle list
- Description: Lists all configured CrateBundle types. Hovering over a bundle name shows the item, and clicking its ID runs
/bundle modify <id>. - Permission:
cratebundles.command.list(Defaults to allow all if no permission manager, but generally level 0 access is intended).
/bundle create <Bundle_name>
- Description: Creates a new, empty CrateBundle type with the given internal name (which will be converted to lowercase) and opens its configuration GUI.
- Permission:
cratebundles.command.create
/bundle modify <Bundle_name>
- Description: Opens the main configuration GUI for the specified bundle type (player-only command).
- Permission:
cratebundles.command.modify
/bundle commanditem \"<Display Name>\" /<command_to_run>
- Description: Gives the admin a special "Command Item" (a Light block) pre-configured with the specified custom display name and the command to be executed. This item can then be placed into a bundle's reward configuration GUI.
- Permission:
cratebundles.command.addcmditem
/bundle adminlore
- Description: Toggles a more detailed informational lore view for admins in preview GUIs.
- Permission:
cratebundles.preview.admin
/bundle rename <old_Bundle_name> <new_Bundle_name>
- Description: Renames the internal key of an existing bundle type (keys are treated as lowercase).
- Permission:
cratebundles.command.modify
/bundle name <Bundle_name> <display_name>
- Description: Sets or changes the display name for the specified bundle type. Supports color codes.
- Permission:
cratebundles.command.modify
/bundle lore <Bundle_name> set <line_number> <lore_text>
- Description: Sets a specific line of lore for the physical bundle item. Supports color codes.
- Permission:
cratebundles.command.modify
/bundle lore <Bundle_name> add <lore_text>
- Description: Adds a new line of lore to the physical bundle item. Supports color codes.
- Permission:
cratebundles.command.modify
/bundle lore <Bundle_name> remove <line_number>
- Description: Removes a specific line of lore from the physical bundle item.
- Permission:
cratebundles.command.modify
/bundle lore <Bundle_name> clear
- Description: Clears all custom lore from the physical bundle item.
- Permission:
cratebundles.command.modify
/bundle color <Bundle_name> <color_name_or_code>
- Description: Sets the base vanilla bundle item used for the physical CrateBundle item (e.g.,
minecraft:blue_bundlevia "blue" or "&1"). Use "none" or "&" for the default brown bundle. - Permission:
cratebundles.command.modify
/bundle glint <Bundle_name>
- Description: Toggles the cosmetic enchantment glint on the physical bundle item.
- Permission:
cratebundles.command.modify
Other Important Permissions:
cratebundles.preview: Allows players to use shift-right-click to open the preview GUI for a bundle they are holding.cratebundles.command.configure_rewards: General permission checked internally for various GUI actions related to changing rewards, kit properties, or item properties. Typically granted alongsidecratebundles.command.modify.
Permissions Information: This mod utilizes the Fabric Permissions API. For permissions to function correctly, a compatible permissions manager (such as LuckPerms) must be installed on your server. If no permissions manager is detected, some features might default to enabled or require operator status (level 2+).
Modpack Policy:
- You ARE PERMITTED to include CrateBundles in any modpack.
- Please do not modify the mod's JAR file directly.
- The modpack itself, or access to this mod within the modpack, must not be sold.
下载 CrateBundles
下载 CrateBundles
下载 CrateBundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CrateBundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CrateBundles
下载 CrateBundles
下载 CrateBundles
下载 CrateBundles
下载 CrateBundles
下载 CrateBundles
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧