Music
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
- Adds the ability to play songs in MineCraft using resource packs
- Can have multiple Resource packs/ Music files on per server.
- Links to download Resource packs are configurable
- Time each song will be replayed are Configurable
- Each player has control over their Track, no one can stop or change another person's song unless they are OP
- Works on all versions of Bukkit
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:
- music.* --- Give access to all permissions
- music.admin -- Currently, the same as 'music.*'.
- music.changevolumetoglobal -- Allows users to change the volume of the jukebox to "global"
- music.default -- Allows users to place jukeboxes, change the station, and the volume
- music.usejukebox -- Allows users to interact with jukeboxes for Music
- music.placejukebox -- Allows players to place jukeboxes.
- music.changesong -- Allows players to be able to change the station used for jukeboxes
- music.changevolume -- Allows players to change the volume of the jukebox
Resourcepacks for Clients and Sound adder for Server
Resourcepacks:
RandomBits1 : Comes With Download
List of Plugins/resourcepacks that use Music
- EventSounds :Play custom sounds on an event.
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:
https://www.spigotmc.org/wiki/how-to-create-new-songs-for-music/
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
- Drop the Music.Jar and Music file into your plugins folder
- Restart your server
-
View User Profile
-
Send Message
Posted Aug 22, 2019Stations aren't working
I've tried playOnce and that works flawlessly but stations aren't working.
When I add a song to station and play that station on a jukebox, nothing is played and the song just stays in queue
Please help me out
-
View User Profile
-
Send Message
Posted May 12, 2020In reply to thelegend08753:
I have the same problem, please help
-
View User Profile
-
Send Message
Posted May 26, 2019Thanks for the plugin but I have a problem from the very beginning. Once I've downloaded Plugin and put it in my plugin server folder. It successfully runs the script but when I tried to command it in my server, there's no sound playing! But the command worked as well. What I have to do? I'm using 1.12.2 server by now.
-
View User Profile
-
Send Message
Posted May 31, 2019In reply to honna4:
Do you have the resourcepack with all the sounds enabled?
-
View User Profile
-
Send Message
Posted May 26, 2019Could you explain how you set it up for a certain region? I am having a hard time understanding this bit. The rest is good thanks so much :D
-
View User Profile
-
Send Message
Posted May 31, 2019In reply to Grammatonn:
Where sounds are played are controlled by Jukeboxes. If you want a sound to play only in one region, find the center of that region and put a jukebox down.
-
View User Profile
-
Send Message
Posted May 12, 2019Does not working with 1.4. Will it be updated soon?
-
View User Profile
-
Send Message
Posted May 14, 2019In reply to pro_pingpong:
Do you mean 1.4, or 1.14? If you mean 1.14, I should be able to release the update in a few days.
-
View User Profile
-
Send Message
Posted Jul 7, 2018You know, your plugin is perfect. I've been adding some songs to my server to play with my friends, and always, adding a new column with the name of the new song to sounds.json always fixed the issue, and everything worked great and still works. I've done everything by all the steps
But now I've added some more songs, and...
It doesn't work.
Even editing the sounds.json file doesn't help.
Right now I'm reinstalling the plugin but I doubt it would help.
So, what is the possible issue? If you know, of course.
Thanks!
-
View User Profile
-
Send Message
Posted Jul 7, 2018In reply to gunr_700:
-
View User Profile
-
Send Message
Posted Jul 8, 2018In reply to ZombieStryker:
-
View User Profile
-
Send Message
Posted Jul 8, 2018In reply to gunr_700:
-
View User Profile
-
Send Message
Posted Mar 31, 2018The last update does not work. When i change the radius of a station it does not work and how to change the volume of a station ????
Please, change that.
-
View User Profile
-
Send Message
Posted Mar 31, 2018In reply to Forge_User_19773884:
-
View User Profile
-
Send Message
Posted Apr 21, 2018In reply to ZombieStryker:
Is there a way to recover the old system ?
-
View User Profile
-
Send Message
Posted Apr 21, 2018In reply to Forge_User_19773884:
-
View User Profile
-
Send Message
Posted Jan 7, 2018i have problem with stations and when i want to choose station in JukeBox i have error in console:
[23:34:47 ERROR]: Could not pass event InventoryClickEvent to Music v2.7.17
Could you help me with that?
-
View User Profile
-
Send Message
Posted Jan 7, 2018In reply to Forge_User_43494820:
-
View User Profile
-
Send Message
Posted Jan 27, 2018In reply to ZombieStryker:
-
View User Profile
-
Send Message
Posted Jan 27, 2018In reply to Forge_User_43494820: