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

    Pawned

    Could you make a way to set an intro song? So that you could set a short little tune to play to someone when they login.
     
  3. Offline

    Plague

    Update the plugin to latest recommended build and change the title accordingly.
    Failure to do so will result in this moving to INACTIVE section.
     
  4. Offline

    Pawned

    He can't update it until BukkitContrib is updated; which is waiting on MCP to update :/.
     
  5. Offline

    Plague

    Well this was just a spam message, not reading these old threads.
    Please report the post when updated.
     
  6. Offline

    rolandostar

    Can you upgrade to 953?
     
  7. Offline

    captainawesome7

    Workin on it
     
  8. Offline

    rolandostar

    Thank ya!
     
  9. Offline

    captainawesome7

    It currently works with the latest BukkitContrib and 953.
     
  10. Offline

    paully104

    It's not working for me on 953, everything works client side but after it downloads the song no sound is playing.
     
  11. Offline

    Macthezazou

    For me no error message but not musik played!!!
     
  12. Offline

    abclive

    Not working for me, it's say I don't have BukkitContrib installed, I've got the clientside and the server plugin of BukkitContrib what is wrong ?
     
  13. Offline

    captainawesome7

    If it says you don't have it then you don't.
     
  14. Offline

    Macthezazou

    if you use /bnc (music) without "global" he say you don't have bukkitcontrib
     
  15. Offline

    abclive

    Sorry but I have it on the client and on the server
     
  16. Offline

    captainawesome7

    It uses BukkitContribs methods to decide if you have it or not, if it says you don't, then you don't.
     
  17. Offline

    abclive

    Strange, so when it say that, it's the server plugin or the mod who isn't install succesfully ?
    (Please excuse my very poor english)
     
  18. Offline

    rolandostar

    It doesn't creates BCMusic folder for me D:
     
    Rufus5 likes this.
  19. Offline

    captainawesome7

    The client mod
     
  20. Offline

    Macthezazou

    Look my server log :
     

    Attached Files:

  21. Offline

    paully104

    I re-installed the client mod using the manual files rather then the auto installer for Bukkitcontrib, the music then played and everything worked correctly. I suggest people who are having the same issue of "MUSIC NOT PLAYING" attempt to reinstall the client side mod manually.
    tl/dr

    Actually i just logged in and did /bcm day global , and it said i don't have bukkitcontrib installed, ill post a solution if its something i messed up here in a moment.
    • Attempted reinstalling the client / server Bukkitcontrib
    • Still got the error bukkitcontrib not installed, weird..

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

    rolandostar

    Have you tryed forcing update then reinstall bukkit contribb, for me it does detects bukkitcontrib, but when i do the command its appears "internal error" thing, any ideas?
     
  23. Offline

    fatmarley

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'bcm' in plugin BCMusic v1.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:39)
    at me.ic3d.bcm.BCMcmd.onCommand(BCMcmd.java:35)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    I thought i did it right...any ideas? (I was running commands as OP)
     
  24. Offline

    Linaks

    Is this plugin dynamic?
    Can you implement a function, which reloads the config?
    So i not have to restart my server.

    THANKS
     
  25. Offline

    captainawesome7

    Yep I can add that.
    So you aren't using permissions, correct?
     
  26. Offline

    tips48

    Update title for 1.1?
     
  27. Offline

    fatmarley

  28. Offline

    Macthezazou

    Don't work for me!!!
    Work for Someone?
     
  29. Offline

    abclive

    Still get this ***** error and I'm not alone, that's say I don't have bukkitcontrib installed, I try all what I can do but I thin that's come from the plugin.
     
  30. Offline

    Macthezazou

    It work for my...
    i just remove my password plugins
     
  31. Offline

    abclive

    Oh I gonna try this

    Yeah Tanks a lot that was the issue :D

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

Share This Page