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

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

  1. Offline

    IC3D

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

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

    The default configuration looks like this:
    Code:
    Music:
        tothaface:
            Node: BCM.tothaface
            GlobalNode: BCM.Global.tothaface
            URL: http://url here
    JukeBoxes:
        iron_ingot:
            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:
    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:
    jukeboxes (open)

    Code:
    JukeBoxes:
        iron_ingot:
            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.

    Downloads:
    The source code is included in the .jar

    Changelog:
    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
    Credits:
     
  2. Offline

    paully104

    Still says the client is not installed for me :\
     
  3. Offline

    paully104

    IF YOU HAVE THE ISSUE OF Bukkitcontrib NOT INSTALLED​
    • Uninstall DefaultCommands, it interferes with the plugin, it will work if you remove it!
     
  4. Offline

    MiracleM4n

  5. Offline

    captainawesome7

  6. Offline

    spunkiie

    I don't have "DefaultCommands" and I'm still getting NOT INSTALLED error.

    Problem?
     
  7. Offline

    captainawesome7

    When you click on the 'connect' button when you join a server is there a random message in the top left in green? And somebody says a password plugin messes with it, I don't know.
     
  8. Offline

    spunkiie

    Yeap! I see the green messages. Password plugin? I Don't have one.

    Well, guess i'll have to get this done with try and error.

    TY
     
  9. Offline

    rolandostar

    Hey when i remove the item from the jukebox, the music doesnt stop, even i log out and still plays, I have to close my client for it to stop...
     
  10. Offline

    captainawesome7

    Thats BukkitContrib.. I can't change that...
    At least, I don't think so... @Afforess thoughts?
     
  11. Offline

    mario00037

    Code:
    Could not pass event PLAYER_INTERACT to BCMusic
    java.lang.UnsupportedOperationException: All audio files must be ogg vorbis, wav, or midi type
    at org.bukkitcontrib.sound.SimpleSoundManager.playCustomFile(SimpleSoundManager.java:322)
    at org.bukkitcontrib.sound.SimpleSoundManager.playCustomSoundEffect(SimpleSoundManager.java:298)
    at org.bukkitcontrib.sound.SimpleSoundManager.playGlobalCustomSoundEffect(SimpleSoundManager.java:277)
    at org.bukkitcontrib.sound.SimpleSoundManager.playGlobalCustomSoundEffect(SimpleSoundManager.java:271)
    at org.bukkitcontrib.sound.SimpleSoundManager.playGlobalCustomSoundEffect(SimpleSoundManager.java:266)
    at me.ic3d.bcm.BCMPL.onPlayerInteract(BCMPL.java:54)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:552)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    What am I doing wrong?
    Im using dropbox for the online file.
     
  12. Offline

    captainawesome7

    @mario00037
    All audio files must be ogg vorbis, wav, or midi type
     
  13. Offline

    mario00037

    They are. I used http://media.io/ to convert the file.
     
  14. Offline

    captainawesome7

    The error says:
    java.lang.UnsupportedOperationException: All audio files must be ogg vorbis, wav, or midi type
     
  15. Offline

    FrostyWolf

    Can you point me at a list of acceptable item names for jukeboxes please? Also, is it possible to have a option to make it so using said item on the jukebox doesn't remove it from inventory?
    I might be missing it, but wants the point of nodes excatly in the config file and how to they work? I have my music playing just fine in jukebox and with the command, I'm just curious what the point of user defined nodes are.
    Also, did you know it is possible to click more then once with say, iron ignot, and get crazy overlapping ear bleed mode activated, lol.
     
  16. Offline

    captainawesome7

    Yeah I knew ear bleed mode was possible, there is no way to tell if music is already playing with BukkitContrib. The point of user define nodes is if I don't know the song name it makes more sense to make your own node. Item names are here, but make sure they are lower case in the config.
     
  17. Offline

    woodzy

    im sorry but can i get a link to the client mod please
     
  18. Offline

    captainawesome7

  19. Offline

    FrostyWolf

    What are ther permission lines to add?
     
  20. Offline

    BR3TON

    I cant get either jukebox or global to work have I done something wrong?

    Code:
    JukeBoxes:
        iron_ingot:
            Node: BCM.nyan
            URL: http://dl.dropbox.com/u/33794037/nyan.ogg
    Music:
        nyancat:
            Node: BCM.nyan
            GlobalNode: BCM.Global.nyan
            URL: http://dl.dropbox.com/u/33794037/nyan.ogg
    
    I added the node in permissions then type in
    /bcm nyancat global
    and nothing happens :'(
     
  21. Offline

    captainawesome7

    Do you have BukkitContrib installed?
     
  22. Offline

    BR3TON

    Yesir
     
  23. Offline

    captainawesome7

    I don't know what your problem is.
     
  24. Offline

    BR3TON

    Could it be my .ogg file? can you link me a file that works to test if Ive done everything right?
     
  25. Offline

    FrostyWolf

    O wait, are the permission the nodes? duh, now I get it.
     
  26. Offline

    captainawesome7

    Yeah. I was assuming you had the .*

    Im not testing it for you. The song does work though.

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

    BR3TON

    Should the song download to my .minecraft folder somewhere when the plugin tries to play it?
     
  28. Offline

    captainawesome7

    Yeah. In .minecraft/BukkitContribMusicCache
     
  29. Offline

    FrostyWolf

    So if I wanted, I could name all my jukebox nodes BCM.juke.songname, and just give the permission BCM.juke.* ?
     
  30. Offline

    captainawesome7

    Yeah.
     
  31. Offline

    BR3TON

    Show Spoiler

    [​IMG]

    [​IMG]



    Here is my server and my client both with bukkitcontrib installed but Im getting the message its not installed when trying to play a song :confused:
     

Share This Page