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
When I put
/music get
it comes up with the link. The link doesn't work. Also I tried to find the read.me and it was now where to be found. I just can't seem to get this one working
If you can help you can contact me on here or on twitch as Preciouspro
@ZombieStryker
thank you SSOO MMUUCCHH . you really helped me
@AsteroidzX
Hello AsteroidzX,
You place the resource pack in the /.minecraft/resourecepacks/ directory. This is the same location you download all other resourcepacks.
For loading the music, you will need to create a .txt file in the /server/plugins/Music/Music/ directory. There should be other txt files in that directory which also contain some test sounds. For simplicity, I would recommend that the name of the file should be the same name as the sound you wish to play. Once you create that file, open that text file and copy and paste the following line:
Time:<Time>
Where you replace "<Time>" with the length of the sound. (For example, If your sound last 1 second, replace it with 1. )
i cant understande wher to put the resorcepack and how to load the music throw the plugin ? pls help me
@frankhribal sorry for the delay,
I do not understand what you mean by this. The loops play to those in the region to hear them. They are played in a small radius (the same radius as any other minecraft sound) wherever you set them.
is there a way to make this play within regions of worldguard? so I can set different songs to different regions?
Also I can't get the sound to play "silently" (without a chat message). That's kinda annoying and RP-breaking. I managed to do what I wanted to do with MythicMobs and custom-invisible-frozenIA-selfkilling entities playing a sound on spawn, but it's a little bit overkill.
I uninstalled, but be sure I'll check your next updates !
This is a good plugin but I really need to play sounds from console to a specific place. I need it to hook up with VariableTriggers and I definitely can't /sudo the commands as I need the sound to play in a very specific place.
Right now I'm really stuck, I can't find a single plugin able to do that. The /playsound command from console is broken too. This is way harder than I thought it would be.
For anyone looking for README.txt it's here. I thought I might post this since I had a hard time finding it myself XD
@HerobrineLPMCYT
I am still working on this problem. It does not currently effect the plugin in any way besides causing it not to automatically update, so you can ignore it till I manage to fix it.
Hi i found this warn in the server consol
[12:20:49 WARN]: [Music] The author of this plugin (Zombie_Striker) has misconfigured their Auto Update system [12:20:49 WARN]: [Music] File versions should follow the format 'PluginName vVERSION' [12:20:49 WARN]: [Music] Please notify the author of this error.
thx for fixing HerobrineLPMCYT
@Fireworkstars46
First, if you would like to report a problem with my plugin, please submit a Ticket (top right hand corner of the page).
Secondly, there is not enough information for me to fix your problem. Can you please tell me:
I have a problem playing music with the music plugin.
Tickets have now been added. If you have any errors or reports, post it there.
@BattalionMannn
Hello BattalionMannn.
I have looked over your problem and found the cause. Some code that was used for the "playonce" feature was not updated, and as such was trying to play a sound file called "AgniKia" instead of "mall".
This has been updated in the newest version of the plugin.
Hey ZombieStryker. I seem to have run into a problem.
Whenever I type any of the sound commands to play my music from my custom sound pack, the game says it plays, however, it doesn't play anything.
I can confirm my Custom sound pack works both on single player and on the server I am hosting. My server is running on Minecraft 1.8.8 and the only other plugins i'm using are essentials and worldedit.
-Here are some pictures to show you how I organized my files as well as the in game screenshots of it saying it was working yet not playing any sound.-
thank you 2.6.4 work in 1.8.8
@linghun91
Fixed in 2.6.4. The error is caused by a missing 'r' in the name of the "Resou'r'sePacks.txt"
@ZombieStryker
@phoenixlzx -snip- [edit] What I posted did not answer your question. It seems like you think that the player can just download one sound and have the server enable,disable it for the client. The way this plugin actually works is give the player the option of downloading the resourcepack (also working on how to make this mandatory), and once they download it and enable it, they will hear the loops.
This was the only way that seemed to work. I am still trying to figure out better ways of hearing music besides creating another application to play music, but since I am having trouble finding other ways of doing this, I am working on fixing the plugin in other ways. In the next update, I'm planning on changing the way it same song names.