这个服务端 Fabric 模组允许为唱片、山羊角和带皮肤的头颅上传自定义音频。
此模组需要客户端和服务端都安装 Simple Voice Chat。
如需更多功能,请查看 Audioplayer Roleplay。
重要提示 本文档仅适用于该模组的 2.x.x 版本!
功能
- 无需重启服务器即可动态上传音频
- 支持
mp3和wav格式 - 通过 URL 上传音频
- 直接将音频上传至你的服务器
- 通过 Filebin 上传音频
- 使用网站上传
- 仅服务端生效
- 无需重启服务器
- 无需资源包
- 客户端无需任何更改
- 可配置上传大小限制
- 可配置命令权限
- 可配置音频播放范围
- 针对每个物品单独设置自定义音频范围
- 批量将音频应用于潜影盒、绑腿袋和其他容器类物品中的所有物品
- 可配置山羊角的冷却时间
命令
运行 /audioplayer 以获取有关如何上传文件的通用信息。
通过 URL 上传音频文件
运行 /audioplayer url "https://example.com/myaudio.mp3",其中 https://example.com/myaudio.mp3 是你 .mp3 或 .wav 文件的链接。
直接将音频文件上传到服务器
将你的 .mp3 或 .wav 文件复制到服务器的 audioplayer_uploads 文件夹中。
运行 /audioplayer serverfile "yourfile.mp3",其中 yourfile.mp3 是你放置在服务器上的文件名。
通过 Filebin 上传音频文件
运行 /audioplayer filebin 并按照说明操作。
为物品赋予自定义音频
运行 /audioplayer apply <ID>,并在主手持有 唱片、山羊角 或 头颅。
也可以通过在主手中持有潜影盒、绑腿袋或其他容器类物品,一次性为多个物品批量应用音频。
你也可以通过其原始文件名来应用自定义音频:
/audioplayer apply "<FILE_NAME>"。
此命令在有无文件扩展名(如 .mp3 或 .wav)的情况下均可工作。
请注意,文件名必须唯一才能生效。
调整物品的音频范围
在主手持有带有自定义音频的物品或包含此类物品的容器时,运行 /audioplayer range <RANGE>。
获取现有物品的音频信息
在主手持有带有自定义音频的唱片、山羊角或头颅时,运行 /audioplayer info。
按名称搜索音频文件
运行 /audioplayer search <SEARCH_TEXT> 以获取所有包含搜索文本的音频文件。


致谢
注意:如果你公开了上传链接,上传到 Filebin 的文件将是公开的!
This server side Fabric mod enables uploading custom audio for music discs, goat horns and note blocks with heads.
This mod requires Simple Voice Chat on the client and server.
For additional features check out Audioplayer Roleplay.
IMPORTANT This documentation is for version 2.x.x of the mod only!
Features
- On the fly audio uploading without needing to restart the server
- Support for
mp3andwav - Upload audio via a URL
- Upload audio directly to your server
- Upload audio via Filebin
- Upload using a website
- Server side only
- No server restart needed
- No resource pack needed
- No changes needed on the client
- Configurable upload limit
- Configurable command permissions
- Configurable audio range
- Per-item custom audio range
- Bulk applying audio to all items in shulker boxes, bundles and other container items
- Configurable goat horn cooldown
Commands
Run /audioplayer to get general information on how to upload files.
Uploading audio files via URL
Run /audioplayer url "https://example.com/myaudio.mp3" where https://example.com/myaudio.mp3 is the link to your .mp3 or .wav file.
Uploading audio files directly to the server
Copy your .mp3 or .wav file to the audioplayer_uploads folder in your server.
Run /audioplayer serverfile "yourfile.mp3" where yourfile.mp3 is the name of the file you put on the server.
Uploading audio files via Filebin
Run /audioplayer filebin and follow the instructions.
Putting custom audio on an item
Run /audioplayer apply <ID> and hold a music disc, goat horn or head in your main hand.
It's also possible to bulk apply audio to more than one item at a time by holding a shulker box, bundle or other container item in your hand.
You can also apply custom audio by its original file name:
/audioplayer apply "<FILE_NAME>".
This command works with and without the file extension (like .mp3 or .wav).
Note that the file name must be unique for this to work.
Adjusting the range of an item
Run /audioplayer range <RANGE> while holding an item or container with items that have custom audio in your main hand.
Getting the audio info of an existing item
Run /audioplayer info while holding a music disc, goat horn or head with custom audio in your main hand.
Searching audio files by name
Run /audioplayer search <SEARCH_TEXT> to get all audio files that contain the search text.


Credits
Note that the files you upload to Filebin are publicly available if the upload link is disclosed!
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AudioPlayer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了与
SimpleVoice-Geyser的不兼容问题
- 提升了可翻译性
- 添加了中文翻译
- 为错误消息添加了翻译支持
- 添加了获取物品范围的命令
- 修复了 play 和 stop 命令的响应问题
- 添加了用于重置范围的命令
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧