DP-ConsumeBox

DP-ConsumeBox是一个可定制的奖励箱插件。

资源图片

logo

사이트 디스코드 깃허브

![](https://dpnw.site/assets/img/desc_card/dppcore.jpg) 所有 DP-Plugins 都依赖 [DPP-Core](https://dpnw.site/plugins/DPP-Core) 插件。
请确保安装了 [DPP-Core](https://dpnw.site/plugins/DPP-Core) Discord 加入我们的 Discord 服务器以获得支持并及时了解最新新闻和更新。 如果您有任何问题或建议,请加入我们的 Discord 服务器。 如果您发现任何错误,请使用咨询渠道报告。 **Discord 邀请:https://discord.gg/JnMCqkn2FX**

korean ![](https://dpnw.site/assets/img/desc_card/desc.jpg) DP-ConsumeBox 插件介绍 DP-ConsumeBox 是一个可定制的奖励箱插件。
服务器管理员可以按照自己的意愿配置箱子,玩家可以通过各种方式获得奖励。
凭借直观的 GUI 和强大的功能
您可以轻松用于各种用途,从活动奖励到护肤物品分发! 插件特点 - **GUI 编辑支持**: 可以通过 GUI 修改优惠券物品和奖励物品。 - **页面功能**: 可以在多个页面上设置奖励物品。 - **奖励数量设置**: 可以自定义随机/选择箱中可获得奖励的数量。 - **各种箱子系统**: 支持以下箱子系统: - **随机箱**: 从设置的奖励物品中随机发放奖励。 - **选择箱**: 玩家可以选择从设置的奖励物品中获得奖励。 - **礼品箱**: 给予所有设置的奖励物品。 依赖项 - DPP-Core

![](https://dpnw.site/assets/img/desc_card/cmd-perm.jpg) 命令 管理员命令 | 命令 | 说明 | |-----------------------------|-------------------------------------------------------------| | `/dpcb create ` | 创建奖励箱。 (type: gift/select/random) | | `/dpcb delete ` | 删除奖励箱。 | | `/dpcb coupon ` | 打开一个 GUI 进行设置奖励箱的优惠券物品。 | | `/dpcb type ` | 设置奖励箱的类型。 (type: gift/select/random) | | `/dpcb item ` | 打开一个 GUI 进行设置奖励箱的奖励物品。 | | `/dpcb give (player)` | 向玩家赠送一个奖励箱。 | | `/dpcb list` | 打开一个 GUI 以查看奖励箱列表。 (在 GUI 中点击一个箱子会将其授予玩家。) | | `/dpcb drop ` | 设置奖励箱的奖励数量。 (默认: 1,必须设置奖励物品。) | | `/dpcb page ` | 设置奖励箱的最大页数。 (默认: 0) | **注意**: 页面从 0 开始。 使用所需的最大页数减 1。 例如:期望最大页数 = 2 → 命令: `/dpcb page test 1` 权限 - `dpcb.create`: 创建奖励箱的权限。 - `dpcb.delete`: 删除奖励箱的权限。 - `dpcb.coupon`: 设置奖励箱优惠券物品的权限。 - `dpcb.type`: 设置奖励箱类型的权限。 - `dpcb.item`: 设置奖励箱奖励物品的权限。 - `dpcb.give`: 赠送奖励箱的权限。 - `dpcb.list`: 查看奖励箱列表的权限。 - `dpcb.drop`: 设置奖励箱奖励数量的权限。 - `dpcb.page`: 设置奖励箱最大页数的权限。 使用示例 - 创建奖励箱:`/dpcb create test random` - 设置奖励箱优惠券物品:`/dpcb coupon test` - 设置奖励箱类型:`/dpcb type test select` - 设置奖励箱的奖励物品:`/dpcb item test` - 设置奖励箱的奖励数量:`/dpcb drop test 2` - 设置奖励箱的最大页数:`/dpcb page test 1` - 查看奖励箱列表:`/dpcb list` - 赠送奖励箱:`/dpcb give test (playerName)`
english ![](https://dpnw.site/assets/img/desc_card/desc.jpg) DP-ConsumeBox Plugin Introduction DP-ConsumeBox is a customizable reward box plugin.
Server administrators can configure boxes as desired, and players can obtain rewards in various ways.
With an intuitive GUI and powerful features
it can be easily used for everything from event rewards to cosmetic item distribution! Plugin Features - **GUI Editing Support**: Coupon items and reward items can be modified via a GUI. - **Page Functionality**: Reward items can be set across multiple pages. - **Reward Quantity Settings**: The number of rewards obtainable from random/select boxes can be customized. - **Various Box Systems**: Supports the following box systems: - **Random Box**: Rewards are randomly granted from the set reward items. - **Select Box**: Players can choose a reward from the set reward items. - **Gift Box**: All set reward items are granted. Dependencies - DPP-Core

Commands Admin Commands | Command | Description | |--------------------------------|-----------------------------------------------------------------------------| | `/dpcb create ` | Creates a reward box. (type: gift/select/random) | | `/dpcb delete ` | Deletes a reward box. | | `/dpcb coupon ` | Opens a GUI to set the coupon item for a reward box. | | `/dpcb type ` | Sets the type of a reward box. (type: gift/select/random) | | `/dpcb item ` | Opens a GUI to set the reward items for a reward box. | | `/dpcb give (player)` | Grants a reward box to a player. | | `/dpcb list` | Opens a GUI to view the list of reward boxes. (Clicking a box in the GUI grants it to the player.) | | `/dpcb drop ` | Sets the number of rewards for a reward box. (Default: 1, requires reward items to be set.) | | `/dpcb page ` | Sets the maximum page for a reward box. (Default: 0) | **Note**: Pages start from 0. Use the desired maximum page number minus 1. Example: Desired maximum page = 2 → Command: `/dpcb page test 1` Permissions - `dpcb.create`: Permission to create a reward box. - `dpcb.delete`: Permission to delete a reward box. - `dpcb.coupon`: Permission to set a reward box's coupon item. - `dpcb.type`: Permission to set a reward box's type. - `dpcb.item`: Permission to set a reward box's reward items. - `dpcb.give`: Permission to grant a reward box. - `dpcb.list`: Permission to view the reward box list. - `dpcb.drop`: Permission to set the number of rewards for a reward box. - `dpcb.page`: Permission to set the maximum page for a reward box. Usage Examples - Create a reward box: `/dpcb create test random` - Set a reward box coupon item: `/dpcb coupon test` - Set a reward box type: `/dpcb type test select` - Set a reward box's reward items: `/dpcb item test` - Set the number of rewards for a reward box: `/dpcb drop test 2` - Set the maximum page for a reward box: `/dpcb page test 1` - View the reward box list: `/dpcb list` - Grant a reward box: `/dpcb give test (playerName)`