1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Help Me

Discussion in 'Plugin Help' started by DzenrYT, Apr 27, 2022.

  1. DzenrYT

    DzenrYT Creeper

    Messages:
    4
    Hello, please, how can I add a sound to my server?
     
  2. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    You can try using that:
    Code:
    $player = $event->getPlayer();
    $sound1 = new EndermanTeleportSound($player);
    $player->getLevel()->addSound($sound1, [$player]);
    
     
  3. GamingFR91

    GamingFR91 Spider Jockey

    Messages:
    29
    GitHub:
    kanekilechomeur
    I think maybe he talks about minecraft Music
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.