▶ BattleMusic ◀ (1.12-1.15) 2.6

Some epic custom music for your fight !

  1. LouShunt55
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Contributors:
    Ramen11
    This plugin will play a music when you fight a monster. You can use the vanilla minecraft sound, custom ressource pack sound or MCJukebox music ! You can set a sound for each mob or use a default music set in the config.

    Commands:
    /battlemusicreload (or /bmr) - Reload the config - battlemusic.reload

    Demo with MCJukebox:

    Demo with custom RessourcePack Sound:

    Demo with Note Block Song:


    Or try it yourself !:


    Code (YAML):
    ignore-creative: true #Can creative player start fight music
    run-away-time
    : 15 #The time after the music cancel when they stop fighting
    disable-music
    : #entity that you don't want epic music. You don't need epic music for chicken !
        - villager
        - chicken
        - cow
        - squid
        - sheep
        - rabbit
        - pig
        - parrot
        - ocelot
        - bat
        - horse
     
    mcjukebox
    :
        fade-time
    : 3 #fading time in second when using mcjukebox
        channel
    : "default" #What channel ? If you don't know leave it to default
        volume
    : 100 #Music volume (max 100)

     
    ignore-playervsplayer
    : false #Do you ignore player vs player

    default-battlesound
    :
      - "https://audio.jukehost.co.uk/p/e1ed6c25e972c60066f8d81e2533b75cdf6261e7/2c55e818227" #Just put your sound here, if you use minecraft sound it can be custom.creeper

    mob
    :
        zombie
    :
            sound
    :
              - "https://audio.jukehost.co.uk/p/e1ed6c25e972c60066f8d81e2533b75cdf6261e7/2c55e818227"
            name
    : "LouShunt" #So this is to put custom sound for a zombie with the name "LouShunt" of course you can make this for all mob
           
    How to use it ?

    Ressource pack Sound:
    So the first step to use resource pack sound, make sure that the sound work. Test it with a
    It can seem stupid but if it is the issue you will blame the plugin before your resource pack. It work ? Great ! Next step, put into the correct section your sound. It is the same that you put in your sounds.json and use to play it with /playsound. For example it can look like
    default-battlesound:
    - "custom.ohno"
    After that, reload your server and have fun !

    MCJukebox:
    MCJukebox is great ! It is by far my favorite one. Download MCJukebox on your server and check configure it correctly. When you are sure that MCJukebox work, put the link of your audio into the config file. For example
    If your link don’t have “http” or “https” the way my plugin was created, it won’t work. Also you need a direct link to a audio file. You can’t use Youtube link or Soundcloud. Just reload, open MCJukebox and have fun !

    Noteblock:
    What is great about Noteblock is that the player will see nothing, no texture pack to download, no browser to open just magic ! Well not really but for them yes ! You first need to download NoteBlockAPI. Check if the plugin is in green when you type /pl. If yes, great continue ! After that download or create your .nbs files. I will not show you how to create one, check on google. But if you want to download some here is a link with a lot of great song (but not epic :(). Put the .nbs file into “plugins/battlemusic/music”. In your config file just change the sound section to “noteblock:<name of the file>” here is a example
    default-battlesound:
    - "noteblock:All Star"
    Reload your server and have fun !

    The mcbbs page by @qsefthuopq :

    https://www.mcbbs.net/thread-933797-1-1.html

    To Do:
    • ✓ Use your Epic Note Block Music ! (idea by @hung1612) Done 2.0 2019/12/16
    • Play random music (idea by @hung1612 ) Done 2.1 2019/12/17
    • Reload command (by @hung1612) Done 2.4 2019/12/18
    • Play music constantly when player is in a raid (idea by @Chulurr)
    • Add sound effect support (idea by @HongMint)
    Roaoming, emanon and XionioX like this.

Recent Updates

  1. Creeper support !
  2. Bug fix !
  3. Reload commands !

Recent Reviews

  1. nickg
    nickg
    5/5,
    Version: 2.6
    You should really make a simple /battlemusic off for players to not hear the music, but otherwise amazing
  2. Poulet_360
    Poulet_360
    5/5,
    Version: 2.6
    It looks very good but how to use it with a ressource pack? I'm a bit confused...
    1. LouShunt55
      Author's Response
      Hey, to use custom sound with ressource pack you first need to create a custom sound in the rp. Then you put the sound name in they config so if you name your sound epic.music. Put in the sound section "epic.music".
  3. Carl0Jonshon
    Carl0Jonshon
    4/5,
    Version: 2.6
    1.16.4

    [12:14:05 WARN]: org.bukkit.plugin.InvalidPluginException: java.io.FileNotFoundException: plugins/battlemusic 2.6.jar.jar does not exist
    [12:14:05 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
    [12:14:05 WARN]: at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:397)
    [12:14:05 WARN]: at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:356)
    [12:14:05 WARN]: at com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114)
    [12:14:05 WARN]: at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95)
    [12:14:05 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    [12:14:05 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    [12:14:05 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:802)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2032)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1843)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1796)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:5)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:43)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:151)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:114)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1205)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1198)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:125)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1174)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1018)
    [12:14:05 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:179)
    [12:14:05 WARN]: at java.lang.Thread.run(Thread.java:748)
    [12:14:05 WARN]: Caused by: java.io.FileNotFoundException: plugins/battlemusic 2.6.jar.jar does not exist
    [12:14:05 WARN]: ... 25 more
    [12:14:06 INFO]: [Л] [Житель] JosefD: 96
    [12:14:07 INFO]: DeZoWaRe issued server command: /plugman load battlemusic 2.6
    [12:14:07 WARN]: Legacy plugin BattleMusic v2.5 does not specify an api-version.
    [12:14:07 INFO]: [BattleMusic] Enabling BattleMusic v2.5*
    [12:14:07 INFO]: [BattleMusic] Failed to load MCJukebox
    [12:14:07 INFO]: [BattleMusic] Failed to load NoteBlockAPI
  4. LorrdHerobrine
    LorrdHerobrine
    4/5,
    Version: 2.6
    Great plugin!
    But i just wonder, can you support battle music for each MythicMobs, i use it to make bosses, if each boss have a different battle music for each one, there is very fun :D
    Sorry for bad English.
    1. LouShunt55
      Author's Response
      Hello LorrdHerobrine, thank you for the review ! I honestly don't know a single thing about MythicMobs but a lot of poeple tell me to support this plugin. I will check but for now you can play music for mob with a custom name.
  5. MarnixMcSwag
    MarnixMcSwag
    4/5,
    Version: 2.6
    Almost a 5 star! What i'm missing is
    - music fade out instead of ending abruptly (if possible)
    - an option that just lets you disable the music for pve alltogether instead of individually listing all the monsters (which are allot nowadays)
    1. LouShunt55
      Author's Response
      Hello MarnixMcSwag, thank you for your feedback ! For the fade out I will have to double check but I don't think we can make that with the MCJukebox API. And for the option I will probably add that in the next version thank you for the suggestion. Have a nice day !
  6. Elguerrero
    Elguerrero
    5/5,
    Version: 2.6
    The idea is so good but i dont know why that the plugin is not working fine for me in paperspigot 1.15.2 using the noteblock song.
  7. Sakai_Hanyu
    Sakai_Hanyu
    4/5,
    Version: 2.6
    Yeah, this is a very good plug-in. But when mcjukebox works, it still doesn't work. My version is 1.14.4. What's the problem?
  8. hung1612
    hung1612
    5/5,
    Version: 2.6
    Can you add a feature like when the song end and if player still fight , it will random another song ?
  9. qsefthuopq
    qsefthuopq
    5/5,
    Version: 2.4
    Excellent plugin,it can be totally used on specific boss from other plugins to make the battle more immersing.
  10. hung1612
    hung1612
    5/5,
    Version: 2.3
    --------------------------------------
    Can you add a command to reload config ?
    --------------------------------------