Simple Voice Radio
添加了具有基于频率的广播系统的收音机方块——与队友交谈、播放音乐、运营新闻电台,或构建你能想象到的任何其他事物,均可跨越极远距离。需要 PacketEvents、PlasmoVoice 或 SimpleVoiceChat,同时也兼容:CustomDiscsSVC 和 pv-addon-discs
收音机模式
输出 (Output) - 默认模式。播放其频率上的所有内容,在 15 格范围内可听。
输入 (Input) - 通过 右键点击 切换。拾取 15 格内玩家的声音,并将其发送到该频率上所有的输出型收音机。
广播 (Broadcast) - 使用 play_audio 子命令启动。所有指定的输出型收音机将播放来自文件或 URL 的音频。
监听 (Listen) - 当收音机下方的唱片机播放来自 CustomDiscsSVC 或 pv-addon-discs 的唱片时激活。将其频率上传音乐(工作原理类似于 输入)。
损毁 (Destroyed) - 收音机被雷击烧毁。它不再工作且不掉落任何物品。
收音机皮肤
收音机不需要资源包。它使用 显示实体,具体为玩家头颅。要使用自定义纹理,请编辑纹理文件并将你的 MineSkin API 密钥添加到 config.yml:下次重启后,插件将在游戏内更新纹理。
信号输出系统
在 config.yml 中设置 signal_output_system: true,收音机在播放声音时会发出红石信号。扬声器距离输入型收音机越近,信号越强:紧挨着时为 15,在 15 格半径边缘时为 1,而唱片和广播始终为 15。只有处于输出模式和广播模式的收音机会发射信号,声音停止时信号也随之停止。该设置在重启后生效,且不与 redstone_frequency 配合使用。
区块模式
天线仅在 config.yml 中设置 mode: chunk 时有效。避雷针堆叠在收音机上方,其数量决定了每个方向上的传输覆盖区块数:无避雷针时为 3,有一个时为 10,随后依次为 30、50、70……
范围由发射器设定,但发射器和接收器都需要在天线上方保留 3 (默认) 个自由空间(玻璃、火把和其他非固体方块不会阻挡信号)。
如果收音机上方的避雷针遭到雷击,只要启用了 lightning_destroys_radio,无论处于何种模式,它都将被永久烧毁。
自定义唱片
收音机可以广播来自 CustomDiscsSVC 和 pv-addon-discs 的唱片。将唱片机直接放置在收音机下方并播放唱片:收音机会切换到 监听 模式,并通过其频率传输音乐,工作原理与 输入 传输语音相同。
频率系统
每台收音机都有一个从 1 到 15 (默认) 的频率。只有相同频率之间的收音机才会传输声音。如果多名玩家在相同频率的输入型收音机前说话,他们的声音会混合在一起被听到。
红石频率
config.yml 中的 redstone_frequency 选项决定收音机的频率来源。设置为 false (默认) 时,由玩家更改频率:潜行 + 右键点击使其加一。
设置为 true 时,频率变为 powering 该方块的红石信号强度,范围从 0 到 15。它会随信号变化。在此模式下,只有在收音机接收到信号时,才能在其输入模式和输出模式之间切换。
命令
play_audio file <file> [frequency|all] [loop] - 广播位于 plugins/SimpleVoiceRadio/audio/ 文件夹中的 MP3/OGG/WAV 文件。
play_audio url <url> [frequency|all] [loop] - 广播来自 URL 的音频。
play_audio stop - 停止广播。
指定频率号码时,只有调至该频率的无线电才能收到。使用 all 或不指定值时,所有无线电都能收到。loop 会循环播放录音,且同一时间只能有一个广播进行。
give <玩家> - 给予一个收音机。你可以使用选择器,例如 @a。
reload - 重新加载 config.yml、texture.yml 以及合成配方。部分设置仅在重启后生效。
view_craft - 显示无线电的合成配方。
Simple Voice Radio
Adds radio blocks with a frequency-based broadcasting system - talk with teammates, stream music, run a news station, or build anything else you can imagine, all across large distances. Needs PacketEvents, PlasmoVoice or SimpleVoiceChat, also works with: CustomDiscsSVC and pv-addon-discs
Radio modes
Output - The default mode. Plays everything sent on its frequency, audible within 15 blocks.
Input - Toggled with a right-click. Picks up the voices of players within 15 blocks and sends them to every Output radio on its frequency.
Broadcast - Started with the play_audio subcommand. All specified Output radios play audio from a file or URL.
Listen - Activates when a jukebox under the radio plays a disc from CustomDiscsSVC or pv-addon-discs. Transmits the music on its frequency (works like Input).
Destroyed - The radio was burned out by lightning. It no longer works and doesn't drop anything.
Radio skins
The radio doesn't need a resource pack. It uses Display Entities, specifically player heads. To use your own textures, edit the texture files and add your MineSkin api key to config.yml: after the next restart, the plugin will update the textures in game.
Signal Output System
With signal_output_system: true in config.yml, the radio emits a redstone signal while it plays sound. The closer the speaker is to the Input radio, the stronger the signal: 15 right next to it, 1 at the edge of the 15-block radius, and discs and broadcasts always give 15. Only radios in Output and Broadcast modes emit a signal, and it stops when the sound does. The setting applies after a restart and doesn't work together with redstone_frequency.
Chunk mode
The antenna only works with mode: chunk in config.yml. Lightning rods are stacked on top of the radio, and their number sets how many chunks in each direction the transmission reaches: 3 without rods, 10 with one, then 30, 50, 70...
The range is set by the transmitter, but both it and the receiver need 3 (by default) free blocks above the antenna (glass, torches and other non-solid blocks don't get in the way).
A lightning strike on a rod on top of the radio burns it out for good, in any mode, as long as lightning_destroys_radio is enabled.
Custom Discs
The radio can broadcast discs from CustomDiscsSVC and pv-addon-discs. Place a jukebox directly under the radio and play a disc in it: the radio switches to Listen mode and transmits the music on its frequency, the same way Input transmits voice.
Frequency System
Each radio has a frequency from 1 to 15 (by default). Sound is only transmitted between radios on the same frequency. If several players speak into Input radios on the same frequency, their voices are heard together.
Redstone Frequency
The redstone_frequency option in config.yml decides where the radio gets its frequency from. With false (default), players change the frequency: sneak + right-click raises it by one.
With true, the frequency becomes the strength of the redstone signal powering the block, from 0 to 15. It changes along with the signal. In this mode you can only switch between Input and Output while the radio is receiving a signal.
Commands
play_audio file <file> [frequency|all] [loop] - broadcasts an MP3/OGG/WAV file from the plugins/SimpleVoiceRadio/audio/ folder.
play_audio url <url> [frequency|all] [loop] - broadcasts audio from a URL.
play_audio stop - stops the broadcast.
With a frequency number, only radios on that frequency will hear it. With all or no value, every radio will. loop repeats the recording, and only one broadcast can run at a time.
give <player> - gives a radio. You can use a selector, for example @a.
reload - reloads config.yml, texture.yml and the crafting recipe. Some settings still only apply after a restart.
view_craft - shows the radio crafting recipe.
评论 0
登录后参与评分
还没有评论,来抢沙发吧