плагин на свою музыку в майнкрафт
Как работает мод:
1. Строка поиска. Вы можете вставить в неё ссылку плейлиста с поддерживаемого сайта либо просто написать в ней имя артиста/группы и название песни. Если вы сделали так, как написано во втором случае, то искать песню мод будет в YouTube. Поработав с этим модом, я понял, что можно написать название ЛЮБОГО видео и просто слушать его аудиодоожку. Т.е. вы просто можете включить видео любого блогера, геймера, повара и т.п. и слушать его речь, строя при этом что-нибудь или копая шахту.
2. Ползунок, регулирующий громкость звука.
3. Воспроизвести произведения в случайном порядке.
4. Повтор композиции, играющей в данный момент.
5. Пропустить композицию и перейти к следующей.
6. Очистить плейлист.
8. Здесь выведется результат поиска.
Шаг 3. Можете дополнить плейлист, введя ещё несколько названий песен.
Шаг 4. Если у вас всё работает, то поздравляем, вы великолепны!
Если вам мешает окошко справа-внизу, то вы можете отключить его в меню «Esc«, нажав на «Toggle Musicplayer Overlay» справа-вверху. Перематывать композиции, к сожалению, нельзя.
Bukkit
Music
Bukkit Plugins
Music
Table of Contents
Music
What is Music
Music was created to allow players to easily play custom loops on servers. The reason this plugin was created was to have the ability to play music or loops without replacing any existing base Minecraft sounds. The way this plugin works allows for players to create a loop (a sound the repeats after a certain amount of time) in specific areas of the world. This plugin naturally can support up to 220 loops being played at once, but this can be configured to be hundreds of thousands if needed. When setting up a song, you would use the command /Music play [SongName] [ID], where [SongName] is the name of the sound, and [ID] is the ID of the station you want to handle the song.
Features
To learn how to add new songs, look at the READ ME.txt that gets generated in the Server/plugins/Music folder after you start the server with the plugin loaded at least once.
Commands
| /Music | Controls all Music Commands |
| /Music setUpStation [Songname using tab] [ID] | Plays [Songname] on Station [ID] |
| /Music addToQueue [Songname] [ID] | adds Song [Songname] to a queue |
| /Music removeFromQueue [queue] [ID] | Removes song at index [queue] from queue |
| /Music clearQueue [ID] | clears station’s queue. |
| /Music Help | Lists all commands |
| /Music ListStations [Page] | Lists all stations active, the song, who owns it (if anyone does) |
| /Music PlayOnce [Songname using tab] | Plays the song once. It is the same as vanilla Minecraft’s /playSound [Sound] |
Permissions:
Resourcepacks for Clients and Sound adder for Server
RandomBits1 : Comes With Download
List of Plugins/resourcepacks that use Music
Dependencies and Compatibility
There are no dependencies. Compatibility issues may occur if the Client(player online) has conflicting names on their resourcepack. (e.g. A song on the server called «Crash» may conflict if player has resourcepack that has a different sound named «Crash») Songs are case sensitive, so if a song on the server does not have the same name, but with different capital letters (E.G. ‘Piano’ and ‘PianO’ ), the players may not hear the music.
Adding new sounds
If you wish to add new sounds to your game, read this tutorial:
Developer Information
If you want to learn how to create your own resourcepacks, look at the READ ME.txt
Music is now an API, so your plugins can now play custom music. Music.playSound(String songname, int StreamID, Location location, String owner) The songname is the name of the song (CaSe Sensitive) StreamID is the ID of the steam that this loop will play on, location is the location that the loop will be played at, and owner is the owner of the stream (can not be null, you should use the name of your plugin if you don’t want a specific player editing anything)
Music.playSoundOnce(String songname, Location location) songname is the name of the song (CaSe Sensitive) location is the location the sound will be played
Music.removeSound(int StreamID) StreamID is the ID of the stream the sound is playing on.
This plugin does update automatically:
This plugin checks for updates and will download updates. If you do not want this plugin to automatically update, all you need to do is edit one line in the «plugins\AUpdater\global.yml» file. Just change the one variable in there to false (or, if you run into any problems, copy the code below)
# Updater by ArsenArsen
# Global config
# Sets should updates be downloaded globaly
update: false
How to Install
Comments
xD, a enchantment is wrong i guess. thats what the erros says
First the plugin is awesome. BUT : 1. Pls add the fonctionnality to choose a station wich will play just one time and not in loop.
Sorry for my english 😉
Cool plugin! you can make a uptade for 1.15.2?
@ Zombie_Striker_bukkit
Can this work with WorldGuard regions?
These files should still work with the newest version:
Resourcepack (as an example how to build a resourcepack)
And a resource pack and the corresponding Music files for registering the sounds:
Thanks, i’ve solved the problem, but now i have another one, i’m getting this error when loading my server
[12:19:41 INFO]: [Music] Enabling Music v2.7.34
[12:19:42 WARN]: java.lang.NoSuchMethodError: org.bukkit.enchantments.Enchantment.getByKey(Lorg/bukkit/NamespacedKey;)Lorg/bukkit/enchantments/Enchantment;
[12:19:42 WARN]: at me.zombie_striker.pluginconstructor.PluginConstructorAPI.registerGlowEnchantment(PluginConstructorAPI.java:143)
[12:19:42 WARN]: at me.zombie_striker.music.Main.onEnable(Main.java:311)
[12:19:42 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[12:19:42 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[12:19:42 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[12:19:42 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
[12:19:42 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
[12:19:42 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[12:19:42 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[12:19:42 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[12:19:42 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[12:19:42 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[12:19:42 WARN]: at java.lang.Thread.run(Unknown Source)
Any suggestion? Thanks.
how do i do the permission thing
i need some help please so i have the plugin installed but when i use playonce command the command works but no sound is playing if anyone knows a fix could you let me know i’m getting no sound at all from this plugin
I get this error when the server starts. The plugin gets disabled
[23:44:54 ERROR]: Error occurred while enabling Music v2.7.34 (Is it up to date?)
java.lang.ArrayIndexOutOfBoundsException: 1
at me.zombie_striker.music.Main.updateSongs(Main.java:446)
[patched_1.14.4.jar:git-Paper-209]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
I found this link that explains how to fix it, it may be an easy fix but my brain is too small to understand java https://javarevisited.blogspot.com/2016/02/solving-javalangarrayindexoutofboundsexception-0-1-2-in-java.html
Im using this for my server, however, when doing /music playonce Congratulations (or any of the songs, it doesn’t work
Error message is (in client)
«An internal error occured while attempting to preform this command»
Minecraft Custom Music – Аддон на проигрывание новой и своей музыки в игре Minecraft PE.
Автор очень постарался и создал алгоритм который может проигрывать музыкальные файл в звуках музыкального блока Майнкрафт. Дополнение будет работать на всех базовых платформах. Мы уже загрузили туда 8 готовых песен. Но Вы можете добавить и свои любимые композиции. Там есть разные песни, даже из мемов. После загрузки и установки мода Вам нужно будет просто ввести команду /function music/ и Вы увидите песни которые можно будет выбрать.
Мемы:
/function music/crab_rave
/function music/meglovania
/function music/astronomia
Майнкрафт песни:
/function music/wet_hands
/function music/sweden
Классическая:
/function music/fur_elise
/function music/faded
/function music/turkish_march
— Требуется Minecraft 1.14, 1.15, 1.16.
— Включите Experimental Gameplay на бета версии;
— Качаем архив и распаковываем его.
— Установите McAddon или McPack файлы, для этого просто откройте его;
— Выберите новые текстуры в настройках;
— Готово.














