DanseAvecLaStare
适用于 Paper 1.21.x 的插件,可在你的服务器上显示动画 3D 舞者,由
ModelEngine 4 提供支持。让使用自己皮肤的玩家跳舞,或放置持久化的静态舞者(NPC)来装饰区域、夜店、活动或派对……
最初为 TomorrowCraft 服务器开发。
⚠️ 必需依赖项:此插件要求服务器上已安装 ModelEngine 4.0.9,并将 ModelEngine 生成的资源包添加到你自己的资源包配置中。没有 ModelEngine,插件无法运行。
⚠️ 与光影不兼容:通过 ModelEngine 动画化的模型在使用光影包的客户端上无法正确显示(或完全不显示)。这不是插件本身的限制,而是 ModelEngine 在客户端渲染模型的方式所致。
✨ 功能
- 玩家舞蹈 — 对自己或其他玩家触发舞蹈动画,使用其真实皮肤(通过 Mojang API 获取,并缓存以避免重复调用)。
- 静态舞者(NPC) — 创建持久化舞者,在服务器重启时自动保存和恢复。可移动、调整大小、重命名、高亮显示。
- 皮肤缓存 — 预先注册可复用的皮肤别名,每次应用时无需再次调用 Mojang API。
- 编舞 — 将多个静态舞者同步为一组,以实现协调一致的动画。
- 播放列表 — 安排舞蹈风格的序列(循环或单次),可应用于单个玩家、舞者或整个群体。
- 游戏内菜单 — 为玩家提供完整界面(风格、预览),为员工提供管理界面(NPC 管理、播放列表、编舞、皮肤缓存)。
- 细粒度权限控制 — 每个舞蹈风格、功能和角色(玩家 / DJ / 员工 / 管理员)都有独立的权限节点,专为 LuckPerms 设计。
- 大规模高性能 — 所有静态舞者和编舞组共享一个全局任务(而不是每个舞者一个任务):无论 NPC 数量多少,计划任务的数量保持不变。
? 主要命令
| 命令 |
描述 |
/danse <style> |
使用自己的皮肤开始跳舞 |
/danse <style> <username> |
使用其他玩家的皮肤开始跳舞 |
/danse preview <style> |
预览某风格几秒钟 |
/danse stop / /danse list |
停止你的舞蹈 / 列出可用风格 |
/danse npc spawn <id> <style> |
在你所在位置创建一个静态舞者 |
/danse npc list |
列出当前活跃的静态舞者 |
/danse skin save <alias> <username> |
将皮肤以别名保存到缓存中 |
/danse choreo create <groupId> <id1> [id2…] |
同步一组舞者 |
/danse playlist create <id> |
创建一个按顺序播放的风格播放列表 |
(完整命令和权限列表请参阅插件随附的文档。)
? 安装
- 安装 Paper 1.21.x 和 ModelEngine 4.0.9。
- 将 DanseAvecLaStare JAR 文件放入
plugins/ 文件夹。
- 启动服务器一次以生成配置文件。
- 将你的
.bbmodel 模型放入 plugins/ModelEngine/blueprints/,然后运行 /meg reload。
- 获取 ModelEngine 生成的资源包,并将其添加到你自己的资源包中。
- 在
config.yml 中配置你的舞蹈风格(无需重新编译)。
⚙️ 配置
舞蹈风格可在 config.yml 中自由定义。插件还管理以下设置:
dance.maxConcurrent(默认值 500)— 同时进行的玩家舞蹈最大数量。
skinFetcher.maxThreads / skinFetcher.timeoutSeconds — 用于调优 Mojang 皮肤获取器线程池(当许多自定义皮肤舞者在启动时加载时非常有用)。
? 依赖项
? 许可证
本项目根据 MIT 许可证分发——可免费重用、修改和再分发,但需注明出处。
DanseAvecLaStare
Paper 1.21.x plugin that displays animated 3D dancers on your server, powered by
ModelEngine 4. Make players
dance with their own skin, or place persistent static dancers (NPCs) to decorate an area,
a nightclub, an event, a party...
Originally developed for the TomorrowCraft server.
⚠️ Required dependency: this plugin requires ModelEngine 4.0.9
installed on the server, as well as the resource pack generated by ModelEngine added to
your own resource pack's configuration. Without ModelEngine, the plugin cannot function.
⚠️ Incompatible with shaders: models animated via ModelEngine do not display
correctly (or at all) on clients using a shader pack. This is not a limitation of the
plugin itself but of how ModelEngine renders models client-side.
✨ Features
- Player dance — trigger a dance animation on yourself or another player, using their
real skin (fetched via the Mojang API, cached to avoid repeated calls).
- Static dancers (NPCs) — create persistent dancers, automatically saved and restored
on server restart. Move, resize, rename, highlight.
- Skin cache — pre-register reusable skins under an alias, without a new call to the
Mojang API each time it's applied.
- Choreographies — synchronize multiple static dancers as a group for coordinated
animations.
- Playlists — schedule sequences of dance styles (looping or one-shot), applicable to
a player, a dancer, or an entire group.
- In-game menus — full interface for players (styles, preview) and for staff (NPC
management, playlists, choreographies, skin cache).
- Fine-grained permissions — one permission node per dance style, per feature, and per
role (player / DJ / staff / admin), designed for LuckPerms.
- Performant at scale — all static dancers and choreography groups share a single
global task (instead of one task per dancer): the number of scheduled tasks stays
constant regardless of the number of NPCs.
? Main commands
| Command |
Description |
/danse <style> |
Start a dance with your own skin |
/danse <style> <username> |
Start a dance with another player's skin |
/danse preview <style> |
Preview a style for a few seconds |
/danse stop / /danse list |
Stop your dance / list available styles |
/danse npc spawn <id> <style> |
Create a static dancer at your position |
/danse npc list |
List active static dancers |
/danse skin save <alias> <username> |
Save a skin to cache under an alias |
/danse choreo create <groupId> <id1> [id2…] |
Synchronize a group of dancers |
/danse playlist create <id> |
Create a scheduled playlist of styles |
(Full list of commands and permissions in the documentation provided with the plugin.)
? Installation
- Install Paper 1.21.x and ModelEngine 4.0.9.
- Place the DanseAvecLaStare JAR in the
plugins/ folder.
- Start the server once to generate the configuration.
- Add your
.bbmodel models to plugins/ModelEngine/blueprints/, then run /meg reload.
- Grab the resource pack generated by ModelEngine and add it to your own resource pack.
- Configure your dance styles in
config.yml (no recompilation needed).
⚙️ Configuration
Dance styles are freely defined in config.yml. The plugin also manages:
dance.maxConcurrent (default 500) — maximum number of simultaneous player dances.
skinFetcher.maxThreads / skinFetcher.timeoutSeconds — tuning for the Mojang skin
fetcher pool (useful when many custom-skin dancers load at startup).
? Dependencies
? License
Project distributed under the MIT license — free to reuse, modify, and redistribute
with attribution.
评论 0
登录后参与评分
还没有评论,来抢沙发吧