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


    Does this work with spout?
  3. Offline

    David T.

    How are we supposed to find .ogg files on the internet of any song we want? And if I can't find one, is there a way to use a file from my computer by uploading it to the server?
  4. Offline


    @graverune Yes, yes it does.

    @David T. You will need to use an audio convertor (I use dbPoweramp, but it isn't free). Then you will need to upload the files to a host somewhere and link to them.
  5. Offline


    i use Audacity to convert music
    import the mp3, then export as Ogg Vorbis
  6. Hi, is there a way to increase the audible range of the juke boxes?
  7. Offline


    this would be great but it is not useing spout :(| is there any work around here as bukkitcontrib is outdated, message me back with anything please and thx

    u is used my manners :p
  8. Offline


    The most recent version uses Spout.
  9. Offline


    Hi Guys...

    I wanted to share which tools I am using for converting nearly any format to Ogg Vorbis.. These are Open Source and 100% free to use... and are available on Windows / Mac / Linux, as well as many Unix's and even some more obscure operating systems.

    Using something like VLC Player may not be one of the things we think of when it comes to audio format conversion.. so it may even tend to be overlooked, after all it is called VLC Player, not VLC Converter, right?

    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.

    Go Forth and Convert Audio!

  10. Offline


    ok so this plugin is a bit derpy...

    first off, /bcm doesn't work, meaning you can't play music with commands, the downloads will run and complete, but the music won't play, however jukeboxes do work oddly enough

    now for suggestions...
    there NEEDS to be a stop music command and music should stop when you take the item out of a jukebox
    probably would be /bcm stop
    also music is currently able to stack, so what is needed is for a current song to stop when a new song is played

    also instead of just songs it would be nice if we had playlists, so in the config you would have your list of songs as it is now, but then there would be a list of playlists and each playlist would have a list of song names to play

    also a way to give permission to play all music with one node would be nice, but not giving permission to global usage
  11. Offline


  12. Offline


    All commands have been working fine for me, and music hasn't been having your 'stacking' problem. I have got around the stop-music function by creating a silent .wav file and hosting it, then adding it to the config named 'stop'. This way '/bcm stop global' halts the current track and plays the inaudible one, effectively stopping everyone's music.

    You'll need a direct link to a .wav, .ogg or other supported file type to get it to work. The link should end in '.wav' etc if you've got a working one, eg.
    I've been using Dropbox to host my songs, it's free to sign up and get 2gb worth of music hosted instantly. Just sign up and install Dropbox, then place the songs in your Dropbox's Public folder, right-click them and click 'Copy public link', then paste that into your config file.
  13. Offline



    2011-08-12 16:48:44 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bcm' in plugin BCMusic v2.1
        at org.bukkit.command.PluginCommand.execute(
        at org.bukkit.command.SimpleCommandMap.dispatch(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at net.minecraft.server.NetServerHandler.handleCommand(
        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 net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
        at org.getspout.spout.sound.SimpleSoundManager.playCustomFile(
        at org.getspout.spout.sound.SimpleSoundManager.playCustomMusic(
        at org.getspout.spout.sound.SimpleSoundManager.playCustomMusic(
        at org.getspout.spout.sound.SimpleSoundManager.playCustomMusic(
        at org.getspout.spout.sound.SimpleSoundManager.playCustomMusic(
        at me.ic3d.bcm.BCMcmd.onCommand(
        at org.bukkit.command.PluginCommand.execute(
        ... 12 more
    2011-08-12 16:49:39 [INFO] Connection reset
    Same error from the new version
    it was working fine:'(
  14. Offline


  15. Offline


  16. Offline


    Tried That, Didnt work look,
    Link: Brown She Ain't You.ogg
    What Is Wrong :{
    Says its playing on first launch but cant hear nothing :L
  17. Offline


    Is it possible to make the music being triggered when entering a set area, rather than clicking on a jukebox. Just perhaps in the future?

  18. Offline


    Is there a way for it to -auto-play- globally?

    As opposed to /bcm <name> <global> ?
  19. Offline


  20. Offline


    Ok Now Im Pissed,
    It worked From Your Link :{
    ill try putting underscores in the music name n maybe that will fix it :/
  21. Offline


    Tutorial video please?
  22. Offline


    It isn't that hard...
  23. Offline


    Just tried this, works like a charm. :thumbsup:

    On the Spout page it says that it's possible to stop music with a fadeout. Will we be seeing this feature anytime soon with this plugin?

    Also, a /bcm list command would be nice so my moderators can see what songs/audio clips they can use.
  24. Offline


    Alright I can add both of those things in the next version, maybe by Monday (I have alot of things to do :p).
    Limstal likes this.
  25. Offline


    If (and I mean IF) mp3 support comes along for spout, would it be possible to have internet radio play into the server? Say, Pandora, or
  26. Offline


    I don't know about streaming, but if spout gets it working I'll definitely add some options
  27. Offline


    =/ Doesn't work for me. :(
  28. Offline


    Great plugin!
    Works fine for me as admin, but no sounds playing for my players who cant hear anything, including footsteps as well.
    They can change the music, use jukeboxs etc but no sounds. I hear it all on my pc but when they try using the /bcm command to play tunes, they get an Internal error message on their chat area.

    I am using CB 1000, Spout and Spoutcraft, as are my residents. Any ideas? Have I forgotten any details that you will need?

    edit: The person having the problems is a Mac user, is this a bug with his OS? ie the OGG format not compatible or something?
  29. Offline


    when i try to play a song file, it says " an internal error occered while attempting to perform this command". what should i do?
  30. Offline


    SpoutCraft sound is broken on the Mac due to SpoutCraft not allocating enough memory when the game launches. Tell him to open terminal and use cd to navigate to the directory containing spoutcraft, then use:
    java -Xincgc -Xmx1024M -jar Spoutcraft.jar
    This will make it work fine, also make sure your music volume isn't 0.
  31. Offline


    Thanks for taking the time to answer the query!

    He's claiming he's done it but I'll ask him to do it again as everyone else is having fun with this so far.


Share This Page