InventorySounds

插件

· 作者 AngelO2

在物品栏中点击时的音效

0 本站下载 0 关注 更新于 1 年前

最新 2.0 · 1.21.4 · Spigot

一键开服(送7天)

通过自定义音效提升服务器体验,在操作物品栏时享受独特的听觉反馈!InventorySounds 允许玩家在点击背包中的物品时播放特定音效。你可以轻松为每个物品设置预设或特定的音效,并根据喜好调整音量和音调。

命令:

  • /inventorysound reload:重新加载插件配置。

权限:

  • inventorysounds.reload:允许你使用 /inventorysound reload 命令。

config.yml

Config.yml
###############################
#                             #
#       SOUND DEFAULT         #
#                             #
###############################
# 此部分定义默认音效
# 当点击未在 items 部分专门配置的物品时播放该音效。
#
# active: true/false - 是否启用该音效。
# sound: Sound name - 要播放的音效名称。
# volume: Sound volume - 音效音量 (0.0 - 1.0)。
# pitch: Sound pitch - 音效音调 (0.0 - 2.0)。

inventorysound_default:
  active: true
  sound: "BLOCK_NOTE_BLOCK_PLING"
  volume: 1.0
  pitch: 1.0

###############################
#                             #
#           ITEMS             #
#                             #
###############################
# 此部分允许为不同物品定义特定音效。如果某物品未在此处配置,
# 将使用 'inventorysound_default' 中定义的默认音效。

items:
  active: true
  diamond:
    type: "DIAMOND"
    sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
    volume: 1.0
    pitch: 1.0
  oro:
    type: "GOLD_ORE"
    sound: "BLOCK_GOLD_BLOCK_BREAK"
    volume: 1.0
    pitch: 1.0

###############################
#                             #
#      OTHER INVENTORIES      #
#                             #
###############################
# 此部分允许为不同类型的容器定义特定音效,例如箱子、熔炉等。
# BLOCKS: ANVIL, FURNACE, DISPENSER, DROPPER, HOPPER, SHULKER_BOX, BEACON.
#        更多类型请访问: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/inventory/InventoryType.html

other_invs:
  active: true
  anvil:
    block: "ANVIL"
    sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
    volume: 1.0
    pitch: 1.0
  furnace:
    block: "FURNACE"
    sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
    volume: 1.0
    pitch: 1.0

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源