[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

    timoun

    RyveMusic v1.4.1 - Add your music in game

    Version: v1.4.1
    [​IMG]

    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
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Requirements:
    Features:
    • 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:

    Code:
    ListMusic=http://mine-elite.fr/musique/listmusic.php
    //Set it to true if you want use URLs.txt
    useURLs.txt=false
    moneyName=dollar
    //If you have lag add and set this line to false:
    onMove=true
    //Add and set to false to remove random music
    randomMusic=true
    //set to false if you don't want playing loop music on an NPC
    loopNpc=true
    //set to false if you don't want playing loop music in a region
    loopInRegion=true
    //set to false if you don't want see a message when the music is playing
    playMessage=true
    
    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:
    Code:
    http://mine-elite.fr/musique/A-H.Marlene.ogg
    http://mine-elite.fr/musique/A-H.house.of.rising.sun.ogg
    http://mine-elite.fr/musique/A-H.the.messenger.ogg
    
    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)
    PHP:
    <?php
    $folderName 
    'musique';
    $folder './';

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

    if(
    $parcourir scandir($folder0)){
        foreach(
    $parcourir as $clef => $fichier){
            
    $pathinfo_fichier pathinfo($fichier);
            if (
    in_Array(strtolower($pathinfo_fichier['extension']), $image_valide))
        {
                echo 
    SERVERNAME $pathinfo_fichier['basename'];
                echo 
    "\n";
            }
        }
    }
    ?>



    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)

    [​IMG]

    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)

    [​IMG]

    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)

    [​IMG]

    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

    Commands:
    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


    Vidéos:
    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:
    Configuration (open)

    Code:
    ListMusic=http://mine-elite.fr/musique/listmusic.php
    //Set it to true if you want use URLs.txt
    useURLs.txt=false
    //set your money name
    moneyName=dollar
    //If you have lag add and set this line to false:
    onMove=true
    //Add and set to false to remove random music
    randomMusic=true
    //set to false if you don't want playing loop music on an NPC
    loopNpc=true
    //set to false if you don't want playing loop music in a region
    loopInRegion=true
    //set to false if you don't want see a message when the music is playing
    playMessage=true
    


    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:
    [​IMG]

    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 ;)

    Download:
    • RyveMusic V1.4.1 - Download (Source into the jar)
    • RyveMusic V1.4.1 for french (yeah i'm french) - Download
    Notice:
    • 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
    ChangeLog:
    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
    Todo:
    • 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

    Kelyr

    Salut les gens,

    Tous d'abord Tiboun j'aime ton boulot mais malheureusement j'ai un probleme.
    Après avoir tout bien installer regler le seting.txt et avoir fait ma propre liste de musique en .ogg, je redemare le serveur. Je marque sur le tchat /rm list et sa me fait "An internal error occured while attempting to conform this command".
    Si tu veut des screen de mes fichier .txt je te les enverais.

    PS: hebergeur de fichier.ogg : http://www.play-host.net/
    Convertiseurhttp://www.01net.com/telecharger/windows/Multimedia/encodeurs_et_decodeurs/fiches/33475.html
    ----------------------------------------------------

    Hey guys,

    I think Tiboun has done a beautiful work but I have a little problem.
    After have done the setings of my .txt documents and after have done my url list of my musics.ogg. I reboot my server and I put on the tchat "/rm list" and it does "An internal error occured while attempting to conform this command"
    I can give some screenshoot of my .txt document, if you want so.

    PS: host .ogg : http://www.play-host.net/
    Convertiseurhttp://www.01net.com/telecharger/windows/Multimedia/encodeurs_et_decodeurs/fiches/33475.htm
     
  3. Offline

    Zolomar

    I am currently using the URL.txt file thing and some .ogg files work and many other don't. The only ogg file that works is a sample ogg from a final fantasy wiki and its only 30 secs. The rest of the music I tried to use I downloaded and then used "Sound Switch File Converter" to turn them into .ogg files but they don't play at all on my server. Only the Final Fantasy one does.

    Edit:
    I forgot to mention that after I convert the files into ogg files I upload them on a free music hosting website to get a URL and then post that URL into the URL.txt folder where it belongs. yet they still don't work only the final fantasy one works.
     
  4. Offline

    kazeen

    Was just gonna try this out :(
     
  5. Offline

    Caid

    The loss of this plugin has been a sad loss, indeed. I hope you change your mind, in the future, the world is much quieter without RyveMusic.
     
  6. Oh. What a massive surprise that the only competent Spout-based music plugin has gone Inactive. Lo, beat still, my hurried heart, I really don't think I can take the shock of it.

    Oh, the humanity. Now my members will all have to run some trashy and clunky frontend program that looks like a batch-command virus with their Minecraft so I can use an inferior plugin because the developers have apparently never heard of Spout.
    This is a nightmare. This is a nightmare and I can't wake up.

    TL;DR: fork plz.
     
  7. Offline

    Sir Savary

    I am currently working on getting TownyDrops fixed, and all that must be done is to test it.

    When I am done with TownyDrops, I will gladly pick this project up.
     
    Nox13last likes this.
  8. This post has placated my melodrama. This was an excellent plugin (still is, except for the incompatibility with iConomy, which sucks). Bringing it into the present would be super.

    Best of luck, Sir.
     
  9. Offline

    Armar

    does anyone have a mirror? the download link is broken.
    I'm not sure if I'd be up to the job to update this or if I will have the time but I'd still like to have a look at the sourcecode :)
     
  10. Offline

    ccrock4t

    Yeh, the Download link is broken. Please please PLEASE provide a mirror. Thank you.
     
  11. Screw it, here's your mirror. On me.

    http://dl.dropbox.com/u/54014114/RyveMusic.jar
     
  12. Offline

    Armar

    :D with source code included
    Thanks a lot.
    After my exams I'll take a look at the code.
     
  13. I was expecting someone else to do it. I only got my DropBox a few days ago, and it occurred to me that it could be more useful than just holding SpoutMaterials custom blocks and Ryve tracks.

    Tinker with my blessing, Armar. I'll keep the DropBox link open if anyone else feels like poking around in there.
     
  14. *bump*
    This plugin is starting to rot. Armar, have you had any luck in looking at the code yet?
     
  15. Offline

    Armar

    Did my last exam on the 23rd but so far I'v only worked on my own plugin and updating our server to 1.1.
    But I haven't forgotten :p
     
  16. When do you reckon you'd be able to get on it? The plugin does still work, so there's no rush, but it's getting a bit rusty.
     
  17. Offline

    Armar

    I took a look at it and started by renewing some imports.
    The main problem I'll have updating this is that it has so many optional dependencies (citizens, worldguard, iconomy) that I havent worked with before. I'll spend a lot of time looking at documentation :p
     
  18. Well, I dunno about anyone else, but all I really worked with was WorldGuard. Accounting for personal taste, I'd prefer for it to use it's own region definition (or, at the very least, EpicZones). But that's very low on priorities right now.
    I'd use a staggered release system - make it download and play music before adding the dependencies.

    Also, sorry if I sound demanding (I don't intend to be), but there's really nothing I can do to help. I know more about ancient Egyptian heiroglyphs than I do of Java. I suppose I could test it if need be.
     
  19. #Bump: I can give you a list of every feature that's gone tits-up. Including, but not limited to, the /rm stop command not stopping a custom Jukebox, and a Jukebox not stopping when it is broken.
    And the whole idea about forcing a custom Jukebox to play from start to end? Ridiculous, especially if it's connected through redstone. And the music doubles-up if I press the button repeatedly.

    Can anyone say "griefing"?
     
  20. Offline

    Phibedy

    We will have a look and try to update it.
    best regards Phibedy
     
    Nox13last likes this.
  21. Any luck?
     
  22. Offline

    Phibedy

    Yes and no,
    I got someone who will updated listeners etc, but I have to fix worldguard support.
    It seems not to be that hard, but I don´t even get a little worldguard method running.
    And I don´t know what I am doing wrong.
     
  23. I didn't notice any issues with WorldGuard support, not on the version I have. Although, my observation counts for little here seeing as I'm a total layman with Java.
    What exactly is the problem?
     
  24. Offline

    Armar

    I'v also been messing around with it a bit.
    Got it to compile after updating the listeners and commenting out custom items (not very familiar with the spout api, not too many tutorials available either) and iConomy (probably best to switch to using Vault)
    but it's giving an error when starting the server that I cant figure out :(
    http://dl.dropbox.com/u/48457244/RyveMusic.jar
     
  25. Offline

    Schlumpf

    Please someone update, it was the best Music Plugin :/
     
  26. Offline

    palisade

    I've developed my own music plugin that doesn't require spout to work, it just requires you have a web browser open in the background:

    http://dev.bukkit.org/server-mods/musicservice-play-music-anywhere/

    However, I'm not nearly close to the number of cool features that were in this plugin. But, I just started. In my next version I plan on adding worldguard support.

    Note: Some of the guys posting to our old plugin submission forum have been having more discussions than on our bukkitdev page.

    http://forums.bukkit.org/threads/me...internet-music-on-your-land-1-2-5-r1-0.66417/
     
  27. Offline

    KingofDoom

    ive made an attempt to update this to the newest version
    for some reason my spout will not play music but someone else needs to try it

    fixed. it works just needs the proper type of ogg. regions gives me an error though and i removed iconomy support so i am unsure how that will work out
     

    Attached Files:

    Last edited by a moderator: May 18, 2016
  28. Offline

    |Anthony|

    There have been several plugins that have attempted to bring music and sound effects to spout... Sadly, none seem to be in active development. There are 2 that i am using... 2 because neither covers all the bases.
    BiomeAmbience lets you have definable audio playing based on the biome you are in. The feature I like most is that you can also place signs that will play an audio track. Still needs some work, but it's headed in the right direction.
    AmbientSpout (also referenced here) has the ability to let users share music. Players have a nice gui screen for playing shared music. It also has the ability to have looped audio tied to x y z coordinates. I hope the authors of these 2 plugins continue their good work. Maybe we should suggest that they work together?
     

Share This Page