[INACTIVE] [FUN] RyveMusic v1.4.1 - Add your music in game [Spout] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by timoun, Aug 13, 2011.

  1. Offline


    RyveMusic v1.4.1 - Add your music in game

    Version: v1.4.1

    NEW: Play loop music !!!

    This plugin use Spout to add music in your server. You can play a music in global or for only player.
    But the plugin doesn't stop here, you can put music in a jukebox, play a burn cd into a jukebox, start the music of the jukebox with redstone. You can also make little shop to buy cd burn and put music in a region with worldguard.

    Pour les francophones vous pouvez voir le topic sur minecraft.fr ici

    • lang.txt to translate in your own langage
    • Put music on a jukebox
    • play music for one player
    • play music for all players
    • Loop music in a region, on an NPC or a player
    • play cd burn into a jukebox
    • Start music from jukebox with redstone
    • (optionnal) WorldGuard to start music when player enter on a area and stop the music when he leave area
    • (optionnal) iConomy to create shop to buy a burn cd wich contains a music
    • (optionnal) Citizens to put music on a npc
    • Permissions support
    • Start sometimes a random music
    How does it work?

    To start the plugin you must have a file wich contains all url music who want to play in game and after that you to put the url of your txt file in setting.txt into RyveMusic folder.
    For exemple, i have a php file wich list all music from a folder and made a list of url. To access to this file you have to put the link in setting.txt, the link is: http://mine-elite.fr/musique/listmusic.php
    (this link is use by default on setting.txt file)
    Now you put the url into setting.txt, here:

    //Set it to true if you want use URLs.txt
    //If you have lag add and set this line to false:
    //Add and set to false to remove random music
    //set to false if you don't want playing loop music on an NPC
    //set to false if you don't want playing loop music in a region
    //set to false if you don't want see a message when the music is playing
    you just have to put link in your file of url and the plugin does the rest

    If you have no web host you can just set useURLs.txt to true (to do that you need to stop your server, modify setting.txt and finally restart your server) when it's done you have to put your song URL into URLs.txt in RyveMusic folder like that:
    you don't have to do any reload on your server just put url into this file and my plugin see modification ! :D

    IMPORTANT: music must have to be in .ogg, .mid or wav

    if you want my code of the php file you can have here:

    listmusic.php (open)
    $folder './';

    define("SERVERNAME"'http://'.$_SERVER['SERVER_NAME'].'/'$folderName .'/');
    $image_valide =  Array('wav''mid''ogg');

    $parcourir scandir($folder0)){
    $parcourir as $clef => $fichier){
    $pathinfo_fichier pathinfo($fichier);
            if (
    in_Array(strtolower($pathinfo_fichier['extension']), $image_valide))
    SERVERNAME $pathinfo_fichier['basename'];

    Play music for a player or in global:
    to see all music in your server you have to use "/rm list" and the plugin list all the music from your file of url wiith an number on the left, this is the music number:
    /rm list (open)


    to start a music for your own you can use "/rm play <music number>", for start music for an other player you can use "/rm play <music number> <player name>".
    Exemple, to play A-H.marlene.ogg you must do "/rm play 1"

    you can stop music for you with the command "/rm stop"
    To play music in global use "/rm global <music number>"

    Now, with the release 1.4 you can loop play a music with the command "/rm playLoop <music number".

    Put music on a jukebox:
    To put music you must use the command "/rm setJuke <music number>" and hit a jukebox, the music is playing. If a player hit the jukebox the music is restart.
    After, put music on a jukebox, you can start music with redstone so you can use a jukebox in redstone circuit.
    To delete music from jukebox you have to break it.

    Put music in a region:
    To put music in a region you must have wolrdguard on your server.
    You can put music in a region with this command: "/rm setRegion <music number> <region name>"
    When a player enter the area the music is played and when he leaves the music stop.
    To remove music from a region use "/rm delRegion <region name>"

    Put music on NPC:
    You must have Citizens on your server.
    To put music on an NPC, you have to do a right click on your NPC like for citizens, when citizens send its message, now you just to perform this command "/rm setNpc <music number>".
    If you want remove a music from an NPC, perform this command "/rm delNpc" after you have selected your npc.

    Burn cd with shop:
    You must have iConomy to use that!
    To create a cd shop you have to take sign. On the first line you have to write RyveMusic, on the second the music number and on third line, the price.
    like that:
    shop (open)


    You can see the music name when a player hit with left click the sign.
    To buy a cd you have just to use right click on the sign and the cd is burn.
    You can see directly on your inventory the music name:
    music name (open)


    To play a cd you have to put your cd in the jukebox.
    If a cd is not burn a random music is played in the jukebox

    Command (open)

    • /rm global <music number> - play a global music
    • /rm play <music number> [Player] - play music for a player, if [Player] is empty it's play music for you
    • /rm playLoop <music number> [Player] - Loop play music for a player, if [Player] is empty it's play music for you
    • /rm stop - Stop the music only for you
    • /rm list - a list of your musics in the file of url
    • /rm setJuke <music number> - To put music on a jukebox
    • /rm setRegion <music number> <region name> - To put music into a region
    • /rm delRegion - To remove music from a region
    • /rm setNpc <music number> - To put music on an NPC
    • /rm delNpc <music number> - To remove music from an NPC
    • /rm reload - To reload setting file with your new configuration

    Video in french (open)

    Permissions node:
    Permission (open)

    -RyveMusic.playGlobal -- To use /rm global
    -RyveMusic.play -- To use /rm play
    -RyveMusic.list -- To use /rm list
    -RyveMusic.stop -- To use /rm stop
    -RyveMusic.setJuke -- To use /rm setJuke
    -RyveMusic.setRegion -- To use /rm setRegion
    -RyveMusic.setNpc -- To use /rm setNpc
    -RyveMusic.delNpc -- To use /rm delNpc
    -RyveMusic.haveShop -- To have the permission to create cd shop

    Configuration (open)

    //Set it to true if you want use URLs.txt
    //set your money name
    //If you have lag add and set this line to false:
    //Add and set to false to remove random music
    //set to false if you don't want playing loop music on an NPC
    //set to false if you don't want playing loop music in a region
    //set to false if you don't want see a message when the music is playing

    Support me:
    To help me and for give me the courage to make other big plugin you can donate or/and thank me for my job :D , you can also support Ryve ;)
    To donate:

    Support Ryve:
    Ryve is an independant musician and song writer, you listen to his music with this plugin (All music with the prefix M-E are the job of Ryve ) or go to this website:
    Ryve's Music (For french it's here)

    My favorite musics of ryve are (direct link to listen):
    Between sky and clouds (acoustic guitar)
    Strange Habit (close daft punk)
    Rise of factions (for metal)
    Its just in progress (acoustic guitar)
    Wind of time (electronic)

    To help him you have just to talk about him with your friend and family ;)

    • RyveMusic V1.4.1 - Download (Source into the jar)
    • RyveMusic V1.4.1 for french (yeah i'm french) - Download
    • All my apologize for my english, forgive me I'm french :D
    • All music in the default file with prefix M-E are under our own license ( Licence Creative Commons ) so please ask to Ryve to use his music
    v 1.4.1
    • Add setting playMessage to remove the message when a music is playing
    • Add reload command to reload setting file
    v 1.4
    • Ability to loop music
    • Add the command /rm playLoop
    • Add the possibility to set loop music on npc
    • Add the possibility to set loop music in region
    v 1.3
    • Fix few bugs
    • Give the possibility to have a simple txt file in RyveMusic folder to list music url (Set useURLs.txt to true in setting file and put url into URLs.txt in the same folder)
    v 1.2.2
    • Add the possibility to set event for start music
    • Add the possibility to remove random music
    v 1.2.1
    • Fix region parent and children (Need to set a parent for an imbricated region)
    v 1.2
    • Add music on npc
    v 1.1.2
    • Fix bugs like cast exception
    v 1.1

    • Add urldecode to parse an url
    • Retranslate some text
    • remove extension in the list of music
    • Give the possibility to have a simple txt file in RyveMusic folder to list music url
    • Put music on npc (It will be required to have citizens)
    • Play loop music into a region (need spout update) have i good idea to do that :D
    • Stop music on jukebox when you break it (need spout update)
    If you have problems, read that before asking:
    • trys to modify AuthenticateTicks in config.yml of spout and set it to 100
    • If you have a mac go to this topic to fix sound problem: here
    • Finally, see if you have set up the volume :)
    • I have get around spout for playing loop music so please don't annoying me if there are no bug with this.
    • Loop music only works with ogg and wav
    Noppoly likes this.
  2. Offline


    what method of listing music urls are you using and i would recommend not using spaces. also is it .mp3 file format?
  3. Offline


    Fixed it a while ago, but thanks.

    All worded, so "thissongnameisverylong"

    And I use an online convertor from .mp3->.wav (but it becomes a pretty heavty chunk, average to 20-40 mb per .wav)

    I host the music from my own website, unlimited bandwith, and storage, and such.
  4. Offline


    I use an online service that will convert it to .ogg, the site i use has a 5mb cap so i lower the quality to 120-90kbps and a 5-8 mb mp3 turns to 2-3 mb so quick loading and very little noticable quality difference. i prefer .ogg for better size.
    if your interested its (CLICK HERE)
  5. Offline


    Chestshop destroyed my sign, because there isn't any chest. What I can do ?
    En français xD ! en gros y'a chestshop qui me bousille mon panneau parce qu'il n'y a pas de coffre, je fais quoi ?
  6. Offline


    I've got the same problem than Yaul : there's a conflict with iConomyChestShop and your plugin
    FR : J'ai aussi le problème de Yaul, y a un conflit entre ton plugin et iConomyChestShop (la syntaxe sur la pancarte est la même)
  7. Offline


    Je t'aime ^.^
  8. Offline


    page francaise ! Powaaaaaaaa' ! Bon, en gros on peut pas utiliser chestshop et ryve ?
    Can we utilise chestshop AND RyveMusic ?
  9. Offline


    This plugin is awesome! The only thing i can think of is it could have playlists. Using it for a radio station on my server, really good!
  10. Offline


    I'm writting again, 'cause i didn't get any info from Dev of this plugin.
    Why I'm getting spammed by this in log ?
  11. Offline


    I don't know why you can hear music sorry :S

    For the moment you can use a music one by one

    Pour l'instant y'a que les français qui m'en parle et j'ai chestshop (et aucun soucis) mais je vais essayer de voir ce qui va pas

    You have delete an npc before delete music on it. Delete NPCs.txt after stop ryvemusic plugin

    Sorry i'm little busy at this moment so please, be patient :D
  12. Offline


    hmm do you write to the Spout Developers, to add the ability for a online radio, play random music or a palylist? Maybe if you tell them what you need, they will add it.
    I saw Spout 1.5 is out. Is there nothing from the updates useful for the music? An Ingame Disco would be very nice, as I said before too :D
  13. Offline


    Another suggestion would be using either Audacity or VLC player to convert to ogg.. using these 2 apps, there is practically nothing that can't be converted.

    Show Spoiler
    Videolan VLC Player - There is a way to convert audio using VLC, useful for some of the more difficult codecs, or even extracting audio tracks from a video. This process will work with nearly any codec you may encounter, and even RAW multichannel audio extracted from video sources, like DTS, AC3, or AAC...

    Launch VLC Player, select the Media menu then Convert / Save (or CTRL-R), Select the source media, in the lower right hit the "Convert / Save" button, under profile select "Audio - Vorbis", then "Browse" to select your destination folder / file, and then hit "Save"

    Audacity - Works great for MP3's and WAV files -> OGG format audio.. You can clip, fade, edit and export your audio.. Anything you can load here, and playback clearly, should also export to Ogg Vorbis.

    Load Audio, then select "File", "Export", "Save as Type:" select "Ogg Vorbis File", Hit Save.

    If you need to optimize your audio quality, both of these have options to adjust the Sample Rate, Audio Bitrate, or combine Stereo tracks into a single Mono track. You could also do one stage of the conversion with VLC, and the further editing with Audacity.
  14. Offline


    I recently installed Spout and This plug in, when I type /rm list, it comes up with the music, but when I do /rm play # Player, it says its starting but does nothing, I tried hitting a block and no luck. I am usiing Spout Launcher. The song has downloaded, it seems that no other sounds work after I type the command. I have a .mid file that I am using Any help would be great

    I've used Ryves php musiclist.php, all music is under the music folder where musiclist.php is located which is on the server
  15. Offline


    Is it possible to get a playlist that will automatically play and loop?
  16. Offline


    is it possbile to make the Shopsystem for the music a bit larger? For example that a NPC also can sell Music discs?
    This would be nice, if you would support NPC Traders from Citizens to sel lthe Music Discs :)
  17. Offline


    I think I got a Bug. Sometimes when a just move the music begins to play the first song from the list. I typed in nothing, no jukebox or Region were I set is there, but the music begins ... :p
  18. Offline


    I had the same problem. Make sure there are no spaces in your file names. It worked great after I changed them.
    Igor Randjelovic likes this.
  19. Offline


    no luck :/
  20. Offline


    If you guys are having problems, like if you cannot hear any music or having music problems I suggest this:

    Get audacity: http://audacity.sourceforge.net/

    Open up the song in audacity and convert your song to ogg if you have an mp3, or a wav file.

    You need a site that has direct hot linking allowed and allows playing music through the link. I found a site called Kiwi6


    It has features like:

    So when you have your music.ogg or whatever you want to call it, upload it to kiwi6.com once its done it will give you a sharing link click on that link then copy the Direct link url and paste it into your url.txt for ryvemusic.
    Kmacho likes this.
  21. Offline


    how do i make my own music play list i am new to this kind of stuff plz help thx
  22. Coucou ! \o/
    Joli plugin mais une commande ingame pour ajouter une musique serait bien plus pratique.
  23. Offline


    When you have a burned disc, you can play it into a jukebox repeatedly and get a very annoying sound from it. Could you possibly have it so the music in a jukebox has to stop before more music can be played?
  24. Offline


    THANK YOU!!!
    I was looking for hours for a site that could work with this because the songs wouldn't loop using Dropbox for some reason XD
  25. Offline


    @timoun The changes in the settings.txt is not be saved and is reverting back to its original state, i cannot put use urls.txt to true.

    Also as a request can you make it so we can change the music range off of an npc. Im trying to attach store music to the npc but since the range is so small its kinda pointless :\
    Wolf7115 likes this.
  26. Offline


    I'm having this issue too.
  27. Nice plugin, but only the first song in my URLs.txt is playing, any other one won´t be started. It´s downloaded and ryve says it plays, but it doesn´t. Also the one song working is linked to a region but doesn´t loop at all. Same for all other users of my server.
    My versions: Spout 1.05, RyveMusic 1.41
    There isn´t any server log to give.
    Tried your problem fixes, but they dont´t change anything.

    My settings.txt:

    Any idea how to fix?
  28. Offline


    I've been trying to get this plugin set up for a couple hours now, but I'm having some trouble with the permissions.
    No matter how I set up my PermissionsBukkit config file, if I attempt to use any function of /rm in the client, it tells me "[RyveMusic] You don't have the permission to use this command."

    Currently, my permissions config looks like this:
            - admin
                permissions.build: false
                permissions.*: true
                RyveMusic.*: true
            - user
                permissions.build: true
            - default
    Any ideas?
  29. Offline


    Is it possible to know when the bug with two music in one land will be fixed?:( It's freezy all who enter to that area and i have no clue how to fix that.
  30. Offline


    just like this for me to :(
  31. Offline


    Is it possible that there could be a separate node added for playing a song for a specific player? I'm a moderator on the server I play on and it drives me nuts that anyone can play music for me. It's an assault of narwhals and pancakes. v.v

Share This Page