Skip to content

Releases: VincentZyuApps/spigot-plugin-bad-apple

spigot-plugin-bad-apple v0.2.7-beta.1

Choose a tag to compare

@github-actions github-actions released this 07 Jun 02:29

Downloads

Downloads

Download

Install

  1. Download the .jar file.
  2. Put it into the server plugins/ directory.
  3. Restart the server.

Changelog

feat: enhance README with badges, emoji-rich config, and local SVG assets ### docs/... (8a83318) - @VincentZyu233 [06-07 02:13]

build action. docs: move preview assets into docs/images/preview and enhance README p... (5e86252) - @VincentZyu233 [06-07 02:28]

build action. docs: unify support badges with local SVG assets and polish README prev... (8933ac4) - @VincentZyu233 [06-07 02:44]

build action. docs: consolidate support/tech-stack tables, restructure download secti... (0b356a9) - @VincentZyu233 [06-07 09:39]

docs: polish socialify project banner description and add cache-busting query param #... (c60f127) - @VincentZyu233 [06-07 09:56]

build release. feat: add config reload command and configurable trigger materials (3f5f3de) - @VincentZyu233 [06-07 10:28]

Build Info

  • Version: v0.2.7-beta.1
  • Branch: main
  • Commit: 3f5f3de

spigot-plugin-bad-apple v0.2.6-beta.2

Choose a tag to compare

@github-actions github-actions released this 06 Jun 17:42

Downloads

Downloads

Download

Install

  1. Download the .jar file.
  2. Put it into the server plugins/ directory.
  3. Restart the server.

Changelog

build release. docs: sync config into bilingual README, add music pack release notes,... (12bcb76) - @VincentZyu233 [06-07 01:41]

Build Info

  • Version: v0.2.6-beta.2
  • Branch: main
  • Commit: 12bcb76

spigot-plugin-bad-apple v0.2.6-beta.1

Choose a tag to compare

@github-actions github-actions released this 06 Jun 17:25

Downloads

Downloads

Download

Install

  1. Download the .jar file.
  2. Put it into the server plugins/ directory.
  3. Restart the server.

Changelog

build release. feat: make bad apple audio sound id configurable and document audio re... (66b215d) - @VincentZyu233 [06-07 01:24]

Build Info

  • Version: v0.2.6-beta.1
  • Branch: main
  • Commit: 66b215d

spigot-plugin-bad-apple v0.2.5-beta.3

Choose a tag to compare

@github-actions github-actions released this 06 Jun 15:52

Downloads

Downloads

Download

Install

  1. Download the .jar file.
  2. Put it into the server plugins/ directory.
  3. Restart the server.

Changelog

build release. chore: restore bundled bad apple video asset, sync production config, ... (5ea88c3) - @VincentZyu233 [06-06 23:46]

build release. fix: mark gradlew executable for CI and bump version to 0.2.5-beta.3 (dc188d0) - @VincentZyu233 [06-06 23:51]

Build Info

  • Version: v0.2.5-beta.3
  • Branch: main
  • Commit: dc188d0

bad-apple-music-resource-pack

Choose a tag to compare

BadApple11MusicPack

Bad Apple 音频资源包发布说明。

本资源包用于给 spigot-plugin-bad-apple 提供客户端音频资源。
插件本身不会内置或推流音频,而是通过服务端执行 playsound / stopsound 来触发客户端播放资源包里的声音。


资源包文件

  • 文件名:BadApple11MusicPack.zip
  • 当前包内命名空间:niacl
  • 主要音频目录:assets/niacl/sounds/records/
  • 声音映射文件:assets/niacl/sounds.json

当前资源包内包含以下音频:

  • niacl:music_disc.bad_apple
  • niacl:music_disc.daa_drum_bass
  • niacl:music_disc.wrong_world
  • niacl:music_disc.tententengoku_jigokukoku
  • niacl:music_disc.hakimi_otherside

其中,Bad Apple 主音频对应:

{
  "music_disc.bad_apple": {
    "sounds": [
      {
        "name": "niacl:records/bad_apple",
        "stream": true
      }
    ]
  }
}

与插件的对应关系

如果你使用当前仓库默认配置,请确保插件配置中的音频 ID 与这个资源包一致:

playback:
  enableAudio: true
  audioSoundId: niacl:music_disc.bad_apple

含义如下:

  • enableAudio: true 表示允许插件触发音频播放
  • audioSoundId: niacl:music_disc.bad_apple 表示插件会执行对应的 playsound / stopsound
  • 如果你以后修改了资源包命名空间或 sounds.json 的键名,也要同步修改插件配置里的 audioSoundId

安装方法

  1. 下载 BadApple11MusicPack.zip
  2. 将资源包提供给客户端
  3. 确保客户端已成功加载该资源包
  4. 在插件配置中启用音频,并将 audioSoundId 设置为 niacl:music_disc.bad_apple
  5. 重启服务器或重载插件配置后再测试播放

适用场景

  • play_bad_apple text
  • play_bad_apple block
  • 按钮触发播放
  • 压力板触发播放

这些路径在启用音频时,都会调用同一个配置化的声音 ID。


注意事项

  • 没有安装资源包的客户端,通常听不到音频
  • 命名空间 niacl 是资源包内定义的,不是 Minecraft 原版自带内容
  • 插件侧只负责触发命令,不负责校验客户端是否真的装好了资源包
  • 如果音频没响,优先检查客户端资源包是否加载成功,以及 audioSoundId 是否与 sounds.json 一致

推荐搭配版本

  • 插件:spigot-plugin-bad-apple
  • 建议配置项:
playback:
  enableAudio: true
  audioSoundId: niacl:music_disc.bad_apple

controls:
  sound_delay_ticks: 1

如果你使用的是当前仓库已经更新过的版本,那么音频 ID 已经支持从配置文件读取,不再需要改 Java 源码里的硬编码。

0.2.4-rc1

0.2.4-rc1 Pre-release
Pre-release

Choose a tag to compare

@VincentZyu233 VincentZyu233 released this 28 Dec 18:52

0.2.4-rc1, 我自己的服务端 生产环境 (readme preview图片里面的) 就是用的这个捏