DrSounds 是一款功能强大的全合一解决方案,用于为您的 Minecraft 服务器添加自定义音乐、音效和对话。它完全自动化了资源包的创建与托管过程,让自定义音频对所有人来说都简单易懂且易于访问,包括通过 Geyser 连接的基岩版玩家。
无需手动编辑 sounds.json。无需外部托管服务。只需放入您的音频文件并启动服务器即可。
✨ 主要特性
⚡ 自动化资源包生成
- 只需将
.ogg 文件放置在插件文件夹中
- 在服务器启动时自动生成有效的
resourcepack.zip
- 无需手动编辑
sounds.json
? 内置 Web 服务器
- 轻量级内部 HTTP 服务器
- 直接从您的服务器托管资源包
- 玩家加入时会自动提示下载该资源包
? Geyser 与基岩版支持
- 完全兼容 GeyserMC
- 自动将音频转换为基岩版兼容的
.mcpack 格式
- 直接安装到 Geyser 的资源包文件夹中
- 为 Java 版和基岩版玩家提供无缝跨平台音频体验
? 高级播放控制
- 3D 空间音频
声音行为如同原生 Minecraft 音效,随距离衰减
- 循环支持
支持使用精确的刻(tick)延迟来循环播放音乐或环境音
- 时长感知
智能处理曲目长度以实现平滑循环
? 区域与基于位置的音频
- 在游戏中创建自定义区域
- 仅在特定区域内的玩家才能听到声音
- 可在确切的 XYZ 坐标处播放声音
? 事件触发器 (events.yml)
根据玩家或服务器事件触发声音:
- 加入、退出、死亡、重生
- 世界切换
- ResourcePackLoaded(确保资源包加载后才播放声音)
支持:
- 每个事件对应多个声音
- 独立的延迟设置
- 单个声音的循环播放
? 安装指南
1️⃣ 安装
- 下载
DrSounds.jar
- 将其放入服务器的
plugins 文件夹
- 重启服务器以生成默认文件
2️⃣ 添加声音
- 导航至
plugins/DrSounds/sounds/
- 上传您的
.ogg 文件
- 您可以将它们组织到子文件夹中(例如:
sounds/music/)
仅支持 .ogg 音频文件
3️⃣ 配置
-
打开 config.yml
-
重要: 将 external-ip 设置为服务器的公网 IP
-
在 sounds: 部分注册您的声音
- 音量 (Volume)
- 音调 (Pitch)
- 持续时间(秒)(Duration)
4️⃣ 最终重启
-
最后一次重启服务器
-
插件将执行以下操作:
- 生成资源包
- 启动内部 Web 服务器
- 如果已安装 Geyser,则自动生成基岩版资源包
? 命令与用法
主命令
/drsounds
别名: /ds, /sounds
▶️ 播放声音
播放声音,可选循环模式和目标玩家。
语法
/drsounds play <mode> <sound_name> <loop_count> <targets...>
模式
player(玩家)
region(区域)
position(位置)
示例
/drsounds play player boom 1 Steve
为 Steve 播放一次 boom
/drsounds play player boss_music -1 *
为所有玩家无限循环播放 boss_music
/drsounds play position boom 1 100 64 -200
在特定坐标处播放声音
⏹ 停止声音
立即停止声音。
语法
/drsounds clear <mode> <sound_name> <targets...>
示例
/drsounds clear player boss_music *
? 区域管理
创建和管理音频区域。
/drsounds region create <name>
在当前所在位置创建一个区域
/drsounds region delete <name>
删除现有区域
? 配置示例
config.yml
external-ip: "192.168.1.100" # 您的公网 IP
http-port: 8081
sounds:
boom:
path: "boom.ogg"
volume: 1.0
pitch: 0.8
duration: 2
stream: false
boss_music:
path: "music/raid_theme.ogg"
volume: 0.8
pitch: 1.0
duration: 180
stream: true
events.yml
events:
welcome_music:
trigger: ResourcePackLoaded
sounds:
- sound: welcome_jingle
delay: 0
loops: 1
- sound: lobby_music
delay: 60
loops: -1
death_sound:
trigger: PlayerDeathEvent
sound: fail_trumpet
action: play
loops: 1
✅ 兼容性
- Minecraft 版本: 1.18 – 1.21+
- 服务器软件: Spigot, Paper, Purpur
- 依赖项: 无(独立运行)
- 可选: GeyserMC 以支持基岩版
DrSounds is a powerful all-in-one solution for adding custom music, sound effects, and dialogue to your Minecraft server. It fully automates resource pack creation and hosting, making custom audio simple and accessible for everyone including Bedrock players via Geyser.
No manual sounds.json. No external hosting. Just drop your audio files and start the server.
✨ Key Features
⚡ Automated Resource Pack Generation
- Simply place
.ogg files into the plugin folder
- Automatically generates a valid
resourcepack.zip on server startup
- No manual editing of
sounds.json required
? Built-in Web Server
- Lightweight internal HTTP server
- Hosts the resource pack directly from your server
- Players are automatically prompted to download the pack when they join
? Geyser & Bedrock Support
- Full compatibility with GeyserMC
- Automatically converts audio into a Bedrock-compatible
.mcpack
- Installs directly into the Geyser resource pack folder
- Seamless cross-platform audio for Java and Bedrock players
? Advanced Playback Control
- 3D Spatial Audio
Sounds behave like native Minecraft sounds and fade with distance
- Looping Support
Loop music or ambience with precise tick-based delays
- Duration Awareness
Intelligent handling of track length for smooth looping
? Region & Location-Based Audio
- Create custom regions in-game
- Play sounds only for players inside specific regions
- Play sounds at exact XYZ coordinates
? Event Triggers (events.yml)
Trigger sounds based on player or server events:
- Join, Quit, Death, Respawn
- World Change
- ResourcePackLoaded (ensures sounds only play after the pack is loaded)
Supports:
- Multiple sounds per event
- Independent delays
- Looping per sound
? Installation Guide
1️⃣ Install
- Download
DrSounds.jar
- Place it in your server’s
plugins folder
- Restart the server to generate default files
2️⃣ Add Sounds
- Navigate to
plugins/DrSounds/sounds/
- Upload your
.ogg files
- You may organize them into subfolders (example:
sounds/music/)
Only .ogg audio files are supported
3️⃣ Configure
-
Open config.yml
-
Important: Set external-ip to your server’s public IP
-
Register your sounds under the sounds: section
- Volume
- Pitch
- Duration (in seconds)
4️⃣ Final Restart
? Commands & Usage
Main Command
/drsounds
Aliases: /ds, /sounds
▶️ Play Sounds
Play sounds with optional looping and targeting.
Syntax
/drsounds play <mode> <sound_name> <loop_count> <targets...>
Modes
Examples
/drsounds play player boom 1 Steve
Plays boom once for Steve
/drsounds play player boss_music -1 *
Loops boss_music infinitely for all players
/drsounds play position boom 1 100 64 -200
Plays sound at specific coordinates
⏹ Stop Sounds
Stop a sound instantly.
Syntax
/drsounds clear <mode> <sound_name> <targets...>
Example
/drsounds clear player boss_music *
? Region Management
Create and manage audio regions.
/drsounds region create <name>
Creates a region at your current location
/drsounds region delete <name>
Deletes an existing region
? Configuration Examples
config.yml
external-ip: "192.168.1.100" # Your public IP
http-port: 8081
sounds:
boom:
path: "boom.ogg"
volume: 1.0
pitch: 0.8
duration: 2
stream: false
boss_music:
path: "music/raid_theme.ogg"
volume: 0.8
pitch: 1.0
duration: 180
stream: true
events.yml
events:
welcome_music:
trigger: ResourcePackLoaded
sounds:
- sound: welcome_jingle
delay: 0
loops: 1
- sound: lobby_music
delay: 60
loops: -1
death_sound:
trigger: PlayerDeathEvent
sound: fail_trumpet
action: play
loops: 1
✅ Compatibility
- Minecraft Versions: 1.18 – 1.21+
- Server Software: Spigot, Paper, Purpur
- Dependencies: None (Standalone)
- Optional: GeyserMC for Bedrock support
评论 0
登录后参与评分
还没有评论,来抢沙发吧