Inactive [FUN] BCMusic v3.2- Custom Music w/ Spout [1000]

Discussion in 'Inactive/Unsupported Plugins' started by IC3D, Jun 28, 2011.

  1. Offline


    BCMusic: A custom music plugin w/ BukkitContrib Spout
    Version: 3.2
    This is a super simple plugin. It is an easy to configure music plugin that takes advantage of BukkitContrib to play music, either only hearable by the player or globally playing the music. This one is all in the configuration, so click that spoiler down there :)

    • Play custom music!
    • Play custom music through jukeboxes (volume varies by distance just like regular ones)!
    • Permissions support!
    config (open)

    The default configuration looks like this:
            Node: BCM.tothaface
            GlobalNode: BCM.Global.tothaface
            URL: http://url here
            Node: BCM.nodehere
            URL: http://url here
    To add a song, add a name you want (in lowercase) like tothaface. Then add the node, global node, and song url (it must be on the internet, and .ogg, .wav, or .mid). The commands do the rest.

    commands (open)

    There is only one command, but the arguments decide what music to play. The syntax looks like this:
    /bcm <song> <global>
    Replace song with a name of a song that you set in the config, for example, tothaface. You can just type /bcm tothaface to hear the song yourself. Or, if you have the global node, you can type /bcm tothaface global, which will play the song for all players on the server with Spout installed

    jukeboxes (open)

            Node: BCM.nodehere
            URL: http://url here
    After you put an actual music file URL in the config, you can use it like a regular jukebox. Just place a jukebox, and right click it with the item defined in the config (default iron_ingot). The song will play like a regular jukebox song, and volume will vary by distance. When you left click the jukebox your item is returned.

    The source code is included in the .jar

    Version 3.2
    • Added /bcm list to show all available songs.
    Version 3.1
    • Changed "You don't have BukkitContrib installed" to Spout. (I forgot)
    Version 3.0
    • Updated to Spout, left the name the same for simplicity's sake
    Version 2.0
    • Added jukeboxes
    Version 1.0
    • Official Release
  2. Offline


  3. Offline


    Occasionally the music doesn't play for me and I have to disconnect/reconnect to get it working again, not sure what causes it but it's easy to fix.. Have you tried logging out while you've had this problem?
  4. Offline


    Dropbox isn't an official host for this, a more suitable one is a FTP or a website.
    -> It's only temporarily imo.
  5. Offline


    I tried hosting it on my website, didn't worked.
  6. hey can you add a feature that allows to play Radio Streams?
    Would be pretty awesome, don't you think? :D
  7. Offline


    This uses spout, I have absolutely nothing to do with the game's ability to play audio.
  8. I know it uses Spout. xD
    I dont really get what you mean with the second part of the sentence.
    I'm talking about a AAC Audio Stream feature for the Spout plugin BCMusic.
    If AAC isn't supported you could implement a OGG Radio instead,
    basically all what the plugin would have to do diffrent is buffer the music instead downloading it complete before playing it.
  9. Offline


    I can't get it to work. I uploaded a wav file to my own private webhost, linked it, and nothing is coming from the jukebox. Even when I manually add th permission.
    Edit: It's saying that I don't have spoutcraft installed. But I have tried two versions of the client.
  10. NOTE:
    That means you don't have the Bukkit plugin installed.
    The launcher is only one part of Spout - you need the launcher (SpoutCraft) & the bukkit plugin (Spout)
  11. Offline


    I was recently presented this mod by one of my long trusted members of my server, needless to say I installed it straight away. I would like to thank you on his behalf allowing us to have 24/7 Im a Barbie Girl playing on our server!
    Limstal likes this.
  12. Offline


    its cool however for some reason the music did not get quieter as i walked away any reason why?

    and now when i try to do my own it doesnt work Elder Scrolls V_ Skyrim Theme.mp3?w=eaf8ceaf (i downloaded an mp3 then placed it in my dropbox folder) What am i doing wrong guys?
    EDIT--------= ok i know how to do it however how do i get the ogg files?? so how do i go about getting a ogg file of what music i want??

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  13. Offline


    Google "Online MP3 to OGG converter". First result allows you to upload it then convert then download the ogg.
  14. Offline


    k thanks :) EDIT= hmmm it said it doesnt support the mp3 gonna try a different one.maybe because i converted it from youtube to mp3 i dunno

    AHHH YYEEEAAAHH finally with help from you i did it, For some reason when i downloaded it its extension looked like this OGG;JSESSIONID=8B151A65FD4F59B25896F7D7F34F7D0E File (got frustrated and then deleted all the crap after the OGG thinking it wasnt gonna make a difference and it worked YIPEE now i can listen to my favourite band and play my favourite game at once thanks plornt for the help and thanks to IC3D for the plugin

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  15. Offline


    I also had the plugin. V 1.0.1, but I had i.t
  16. Offline


    Superperms support?
  17. Offline


    Excellent! Finally moved all my clients onto Spoutcraft and the server onto Spout, the plugin now does everything I want it to do. Perfect, thankyou very much for this great addition to Minecraft :)
  18. Offline



    I have installed this awesome plugin and It worked fine the first time : Me and my tester have well heard music "waka waka" :)

    But after, when I type : /bcm waka global, I hear the music again, but my tester no ! :(

    He cannot hear another music :/

    Help please =)

    Ty !

    Oh, sorry for the double post but I have another new error ! :)

    Look my console :

    11:08:08 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bcm'
    in plugin BCMusic v3.2
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.a(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at org.getspout.spout.SpoutNetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.UnsupportedOperationException: All audio files must be ogg
    vorbis, wav, or midi type
    at org.getspout.spout.sound.SimpleSoundManager.playCustomFile(SimpleSoun
    at org.getspout.spout.sound.SimpleSoundManager.playCustomMusic(SimpleSou
    at org.getspout.spout.sound.SimpleSoundManager.playGlobalCustomMusic(Sim
    at org.getspout.spout.sound.SimpleSoundManager.playGlobalCustomMusic(Sim
    at org.getspout.spout.sound.SimpleSoundManager.playGlobalCustomMusic(Sim
    at org.getspout.spout.sound.SimpleSoundManager.playGlobalCustomMusic(Sim
    at me.ic3d.bcm.BCMcmd.onCommand(
    at org.bukkit.command.PluginCommand.execute(
    ... 13 more

    Ty :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  19. Offline


    Our server totally loves your Mod.

    When multiple persons use the jukebox, the soundfile overlaps. So it might be nice to stop all previous sound files from that block.

    Also there is no way to stop the music. Not even destroying the jukebox removes it.
    When u use the global music the normal music volume slider is used. It also overwrites the minecraft music. (Great!)
    But the jukebox does not, it plays over the minecraft music and does not follow the music volume slider.

    I know this is maybe asking too much, but would it be possible to have the addon read an xml/json playlist of ogg files?
  20. Offline


    please help me! when i try to play it it says: an internal error ocured while performing this command
  21. Offline


    Spout updated today so this plugin will have to update as well. Don't forget to update your spout server version too.
  22. Offline


    Does this work with groupmanager because I keep getting "You do not have permission to play this song"
  23. Offline


    Great plugin. Would it be possible to create a "range" at which sounds could be heard? I want sounds to be able to be heard by other players, but not be global and spam the system.

    Also where are the sounds saved locally?

    Also I'm a bit confused on what exactly the "Nodes" are as they aren't listed for permissions?
  24. Offline

    Simon Welker

    Please update so it works with the current build! Using jukeboxes (with the iron ingot) will restart the server, and using /bcm will bring up an internal error. I love that you built this plugin! We really need it on the server for our nether disco :D

    Bullshit, dude. It's not giving me that if I use ogg instead of mp3... Found out this was my fault at least. :p
    But the weird thing now is that "downloading" etc shows up, and it apparently also creates a temporary file, but this file doesnt get downloaded any further after some hundred kbs...? The music itself maybe plays for half a second, or not at all.

    --- sigh to myself. Fixed it by using the stable build of the client, instead of the dev version. Works like a charm now. Thank you!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  25. Offline


    Could you add where u can just add the file directory and have the music on your computer?
  26. Offline


    Your plugin is really great!!! :)
    Could you add a loop- and a shuffle-mode, please?
    And eventually the ability to start a song global from the "server-window"?
    That would be very nice! :D
  27. Offline


    So im guessing you need a "spout client" to hear the music?
  28. Offline


  29. Offline


    Works nice. Works even great on LAN only minecraft. You just make a file url that is in a shared folder like file://Gordias/MyOgg/Bleach.ogg. All network users can acces via such link the file anyway so download works. Buuuut... not all OGGs work, or to be precise not all converters work. So if you did everything like you should and you still hear nothing even if the ogg works outside minecraft, it may be an OGG file the plugin doesn't like. My guess is the sample rate setting in the conversion process: 44100Hz ( maybe 22050 works ), but have to test this out yet.
    Edit1------ nope.. sample rate has nothing to do with it. Format Factory conversion (all to ogg) doesn't work. Trying different mp3->ogg converter
    Edit2------ With the right converter, works like a charm
  30. Offline


    You have to punch the jukebox to remove any potential "cd" items from it before "inserting" the next "cd" or your items get eaten by the jukebox.
  31. Offline


    It would be awesome if you could stream radio from icecast/shoutcast streams.

Share This Page