Skip to content

Provides a easier utility to send PlaySoundPackets

License

Notifications You must be signed in to change notification settings

presentkim-pm/play-sound-utils

Repository files navigation

Poggit CI Stars License


Logo

play-sound-utils

Provides utils for send PlaySoundPacket more shorter and easier!

View in Poggit · Report a bug · Request a feature

About The Project

✔️ Provides util function for create sound packet

  • kim\present\utils\playsound\PlaySoundUtils::createPacket(Vector3 $vec, string $soundName, float $volume = 1.0, float $pitch = 1.0) : PlaySoundPacket

✔️ Provides util function for send sound packet

  • kim\present\utils\playsound\PlaySoundUtils::sendTo(Player $player, string $soundName, float $volume = 1.0, float $pitch = 1.0) : void

✔️ Provides util function for broadcast sound packet

  • kim\present\utils\playsound\PlaySoundUtils::broadcastTo(array $recipients, string $soundName, float $volume = 1.0, float $pitch = 1.0) : void

Installation

See Official Poggit Virion Documentation


How to use?

See Main Document


License

Distributed under the MIT. See LICENSE for more information

About

Provides a easier utility to send PlaySoundPackets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages