Battle Music

Discussion in 'Plugin Requests' started by Ramen11, Dec 8, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    Ramen11

    Plugin category: Fun

    Minecraft version: 1.14.4+

    Suggested name: BattleMusic

    What I want: When a hostile mob detects a player, a configurable sound file should play until the mob is killed. The sounds should not stack if there are multiple mobs, and should keep playing until every mob has been defeated.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: None

    When I'd like it by: Christmas 2019
     
    Gh0stKitty likes this.
  2. Offline

    LouShunt

    Hello ! So today I work on your plugin idea. Sadly i didn't succeed to play the music when mob detect a player but the music start when they hit a player, or the player hit them. So there is the download link:
    https://www.spigotmc.org/resources/battlemusic.73435/
     
    Last edited: Dec 14, 2019
  3. Offline

    KarimAKL

    @LouShunt I think you can listen to EntityTargetEvent, and then check if the target is a player.
     
    LouShunt likes this.
  4. Offline

    LouShunt

    KarimAKL likes this.
Thread Status:
Not open for further replies.

Share This Page