DuskPinatas
DuskPinatas 是一款专为 Paper 和 Folia 26.2 设计的可配置 piñata(彩罐)插件。玩家通过装备一套完整的自定义盔甲来解锁 piñata 命令。他们可以在安全库存菜单中放入奖励,并将一个飞行的 piñata 头部发射到空中。
在精确上升 10 个方块后,piñata 会显示颜色变化的全息倒计时,产生圆形粒子效果,播放可配置的声音,并最终将存储的所有奖励抛向空中。
功能特性
- 原生支持 Paper 和 Folia 调度器。
- 完全受 PDC(持久化数据容器)保护的盔甲套装。
- 使用单独的 YAML 文件进行多种 piñata 配置。
- 自定义盔甲材质、名称、描述文本(lore)和模型数据。
- 自定义 piñata 头部,包括玩家头颅纹理 URL。
- 为每套盔甲配置独立的命令、别名和权限。
- 54 格奖励菜单,支持自动 shift-click 转移物品。
- 可配置的菜单按钮和返回音效。
- 飞行并旋转的 piñata 头部,固定上升 10 个方块。
- 全息倒计时,颜色从绿色变为黄色、橙色和红色。
- 围绕飞行头部的圆形粒子效果。
- 可配置的发射、倒计时和爆炸音效。
- 全局发射提示和十秒警告消息。
- 取消或关闭菜单时自动归还物品。
- 断开连接、失败或服务器关机后的耐用奖励恢复机制。
- 全局限制、单人限制、冷却时间和物品数量限制。
- 完全可定制的 MiniMessage 格式化输出。
命令
/pinata
/duskpinatas give <player> <armor_id>
/duskpinatas create <name>
/duskpinatas reload
管理命令别名:/dpinatas
权限
每个 piñata 定义也可以拥有其自身可配置的权限。
安装说明
- 下载
DuskPinatas-1.0.jar。
- 将其放入服务器的
plugins 目录中。
- 启动或重启服务器。
- 在
plugins/DuskPinatas/config.yml 中配置全局设置。
- 在
plugins/DuskPinatas/pinatas/ 中配置各个 piñata。
依赖要求
- Paper 或 Folia 26.2
- Java 25 或更高版本
DuskPinatas 旨在保护玩家的奖励。放入 piñata 中的每个物品都会被归还、安全存储以便恢复,或者在世界中精确释放一次。
DuskPinatas
DuskPinatas is a configurable pinata plugin designed for Paper and Folia 26.2. Players unlock pinata commands by equipping a complete custom armor set. They can then place rewards inside a safe inventory menu and launch a flying pinata head into the sky.
After ascending exactly 10 blocks, the pinata displays a color-changing holographic countdown, produces circular particle effects, plays configurable sounds, and finally launches every stored reward into the air.
Features
- Native Paper and Folia scheduler support.
- Complete PDC-protected armor sets.
- Multiple pinata configurations using individual YAML files.
- Custom armor materials, names, lore, and model data.
- Custom pinata heads, including player-head texture URLs.
- Configurable commands, aliases, and permissions for every armor set.
- 54-slot reward menu with automatic shift-click transfers.
- Configurable menu buttons and return sounds.
- Flying and rotating pinata head with a fixed 10-block ascent.
- Holographic countdown that changes from green to yellow, orange, and red.
- Circular particle effects around the flying head.
- Configurable launch, countdown, and explosion sounds.
- Global launch and ten-second warning messages.
- Automatic item returns when the menu is cancelled or closed.
- Durable reward recovery after disconnects, failures, or server shutdowns.
- Global limits, per-player limits, cooldowns, and item limits.
- Fully customizable MiniMessage formatting.
Commands
/pinata
/duskpinatas give <player> <armor_id>
/duskpinatas create <name>
/duskpinatas reload
Administrative command alias: /dpinatas
Permissions
Every pinata definition can also use its own configurable permission.
Installation
- Download
DuskPinatas-1.0.jar.
- Place it inside your server's
plugins directory.
- Start or restart the server.
- Configure global settings in
plugins/DuskPinatas/config.yml.
- Configure individual pinatas inside
plugins/DuskPinatas/pinatas/.
Requirements
- Paper or Folia 26.2
- Java 25 or newer
DuskPinatas is built to protect player rewards. Every item placed inside a pinata is returned, securely stored for recovery, or released into the world exactly once.
评论 0
登录后参与评分
还没有评论,来抢沙发吧