MonitoringMinecraft MonitoringMinecraft

PlayCustomSounds

Плагин BukkitFoliaPaper

Плагин для Майнкрафт: позволяет владельцам сервера добавлять новые музыкальные диски.

29 скачиваний 1 подписчик
Оцените первым

这是一个允许服主添加新唱片到服务器的插件,拥有资源包和插件播放逻辑。 对于玩家:玩家只需载入资源包后点击播放即可播放新添加的唱片 对于服主: 服主需要制作好资源包后分发给玩家供玩家下载使用,然后在config.yml中写出你在资源包中载入的音乐键名 资源包的结构应该是这样:

pack.zip
├── pack.mcmeta
└── assets/
    └── playcustomsounds/
        ├── sounds/
        │   └── any.ogg
        └── sounds.json

pack.mcmeta的写法:

{
  "pack": {
    "pack_format": [这里填写包版本]
    "description": "这里填写包的介绍"
  }
}

sounds.json的写法

{
  "constant_moderato": {
    "subtitle": "sounds.playcustomsounds.constant_moderato",
    "sounds": [
      {
        "name": "playcustomsounds:constant_moderato",
        "stream": true
      }
    ]
  },
  "zenbon_zakura": {
    "subtitle": "sounds.playcustomsounds.zenbon_zakura",
    "sounds": [
      {
        "name": "playcustomsounds:zenbon_zakura",
        "stream": true
      }
    ]
  },
  "drowning_love": {
    "subtitle": "sounds.playcustomsounds.drowning_love",
    "sounds": [
      {
        "name": "playcustomsounds:drowning_love",
        "stream": true
      }
    ]
  }
}

(仅供参考,可以更改歌曲名称等内容) 播放音乐的命令:/pcs [音乐名称] 停止音乐的命令:/sm

This is a plugin that allows server owners to add new albums to the server, featuring resource packs and plugin playback logic. For players: Players can simply load the resource pack and click play to play the newly added music disc For server owners: Server owners need to create a resource pack and distribute it to players for download and use. Then, in the config.yml, specify the music key name you have loaded in the resource pack The structure of the resource pack should be like this:

pack.zip
├── pack.mcmeta
└── assets/
    └── playcustomsounds/
        ├── sounds/
        │   └── any.ogg
        └── sounds.json

The writing style of pack.mcmeta:

{
  "pack": {
    "pack_format": [Fill in the package version here]
    "description": "Fill in the introduction of the package here"
  }
}

The writing style of sounds.json

{
  "constant_moderato": {
    "subtitle": "sounds.playcustomsounds.constant_moderato",
    "sounds": [
      {
        "name": "playcustomsounds:constant_moderato",
        "stream": true
      }
    ]
  },
  "zenbon_zakura": {
    "subtitle": "sounds.playcustomsounds.zenbon_zakura",
    "sounds": [
      {
        "name": "playcustomsounds:zenbon_zakura",
        "stream": true
      }
    ]
  },
  "drowning_love": {
    "subtitle": "sounds.playcustomsounds.drowning_love",
    "sounds": [
      {
        "name": "playcustomsounds:drowning_love",
        "stream": true
      }
    ]
  }
}

(For reference only, the song title and other content can be changed) The command of starting to play music: /pcs [music name] The command of stopping playing music: /sm

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
360 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MigosMc
MigosMc Java + BE
228 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
SeasonEra
0 онлайн
26.1.2 версия
Выживание • Экономика • Кланы • Приваты • Донат
PLIRGAME - ДЕВУШКИ ВОЙС ЧАТ
29 онлайн
1.21.10 — 26.1.1 версия
❤️ Выживание! ❤️ Войс Чат ❤️ Девушки ❤️ /free
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат