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

    captainawesome7

    Just try reinstalling it.
     
  3. Offline

    BR3TON

    Ive reinstalled it three times client side , once manually then autoinstaller now its installed manually and no luck.
     
  4. Offline

    captainawesome7

    Don't know what to tell you, it works fine for me and all of the players on my server.
     
  5. Offline

    BR3TON

    Can you PM me your minecraft.jar or something ? also are you using 1.7.2 or 1.7.3?
     
  6. Offline

    captainawesome7

    Im using 1.7.3 and no, I'm not illegally distributing minecraft.
     
  7. Offline

    alfskan

    Code:
    2011-07-14 11:15:57 [INFO] alfskan tried to use command /bcm 41
    2011-07-14 11:15:57 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bcm' in plugin BCMusic v2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        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)
    Caused by: java.lang.NullPointerException
        at java.util.LinkedHashSet.<init>(Unknown Source)
        at com.nijiko.permissions.Entry.has(Entry.java:128)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:105)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:323)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:310)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:303)
        at me.ic3d.bcm.BCM.hasPerm(BCM.java:41)
        at me.ic3d.bcm.BCMcmd.onCommand(BCMcmd.java:35)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-07-14 11:16:03 [INFO] alfskan tried to use command /bcm 41 global
    2011-07-14 11:16:03 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bcm' in plugin BCMusic v2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        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)
    Caused by: java.lang.NullPointerException
        at java.util.LinkedHashSet.<init>(Unknown Source)
        at com.nijiko.permissions.Entry.has(Entry.java:128)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:105)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:323)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:310)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:303)
        at me.ic3d.bcm.BCM.hasPerm(BCM.java:41)
        at me.ic3d.bcm.BCMcmd.onCommand(BCMcmd.java:54)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    I got this internal error when I type /bcm command.

    cb953 mc173

    and here is my cofig

    Code:
    Music:
        41:
            Node: BCM.music
            GlobalNode: BCM.Global.music
            URL: http://alfskan.iptime.org/music/41.ogg
    
    btw, Juke works well.
     
  8. Offline

    koko13009

    Hi ! Just a greetings reply !

    You made my dream reality :)
    Works perfectly, i could put all music i want ingame for all players !

    REALLY THANKS !!! YOU ROX !
     
  9. Offline

    Woolcity

    I'm having the same issues as a lot of the other people are having. It keeps saying I haven't installed things correctly, and I know I have.
     
  10. Offline

    captainawesome7

    Not my problem. It uses a method in the BukkitContrib API to decide wether you have it installed or not.
     
  11. Offline

    Nanite_bot2559

    Many thanks!!! This is an awesome pluggin, reallly loving it. One request; bukkitcontrib supports zoning for music, so would it be possible to shrink the area that the jukebox plays? Possibly an easily accessible command, such as a /bcm jukebox <range>? Or simply an extra spot in the config folder, that allows for certain songs to only be played in a certain radius? I've taken affordes' advice and set empty .ogg files to end music after leaving a zone, but I'd very much like to have a slight fade before Halo theme cuts out suddenly :p
     
  12. Offline

    XMasterChaos1

    Ok, I Have NO IDEA what Any of This Means, Like What is a Node? and How do I get the URL of a File? Someone Explain please!
     
  13. Offline

    captainawesome7

    1. Put a .ogg audio file on dropbox
    2. Copy the public link and paste it in URL
    3. The node is the Permissions node required to play the song
    4. The global node is the Permissions node required to use /bcm song global and play it for everybody
     
  14. Offline

    XMasterChaos1


    Thanks! That Helps!
     
  15. Offline

    jamie4390

    I installed this and when i try /bcm Test I get this error
    , now this is the sample tune that you guys are having succsess with. I also tried it on a jukebox and it worked fine, bit of jumpiness but other than that perfect, here's the error message im getting.

    Code:
    2011-07-14 21:57:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bcm' in plugin BCMusic v2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        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)
    Caused by: java.lang.NullPointerException
        at com.nijiko.permissions.Entry.has(Entry.java:219)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:195)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:269)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:256)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:249)
        at me.ic3d.bcm.BCM.hasPerm(BCM.java:41)
        at me.ic3d.bcm.BCMcmd.onCommand(BCMcmd.java:35)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  16. Offline

    Smutny

    Same problem as @jamie4390 any solutions ?
     
  17. Offline

    nildin

  18. Brilliant Plugin!

    One thing I've noticed is that if you can't stop a song from playing if you've played it through a jukebox rather than the command. Is there a way to fix this? (I've tried stopping it by playing an empty sound file through the same jukebox, a different jukebox (which by the way if you play the same song on two different jukeboxes, they will overlap,) and through the command.)
     
  19. Offline

    UncivilYoshi

    Hello, i'm currently trying to get a song to work for me, and it will play for the first second or so, but after that it instantly stops playing.
    That is what it currently looks like, i'm not exactly sure what the issue is. I am testing this on my own server as an OP.
    Edit: Also, i think this would be worthwhile to point out. For people who want to stop the music; Go into the audio settings ingame, and turn the music "Off", and then back on. It will stop the audio completely, atleast on my server it does.
     
  20. Offline

    IENERGETIC79

  21. Offline

    WindedDragon

    Its not creating the folder and config file, could you please tell me what they should be?
     
  22. Offline

    TheVnChecker

    Wow. great plugin!!! Hey, Can u add a feature to show the songlist?

    sry for bad english xP
     
  23. Offline

    rolandostar

    Try re-downloading and using /reload
     
  24. Offline

    WindedDragon

    Nope, didn't work .
     
  25. Offline

    Woolcity

    well then I guess it is contrib's fault then.
     
  26. Offline

    Deadlystrike

    permissions support pls
     
  27. Offline

    captainawesome7

    Thats what node means.
     
  28. Offline

    Deadlystrike

    tothaface: Node: BCM.tothaface GlobalNode: BCM.Global.tothaface URL: http://url here
    is tothaface a song or a person?
     
  29. Offline

    captainawesome7

    tothaface is the name of the song. The permissions node is BCM.tothaface
    Please read the OP sometime.
     
  30. Offline

    Deadlystrike

    what is the OP
    also using your "node in the cgf" i dont see how i can set permissions per ranks
     
  31. Offline

    CeramicTitan Retired Staff

    where do u get te music from?
     

Share This Page