Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/presentkim-pm/play-sound-utils
Provides a easier utility to send PlaySoundPackets
https://github.com/presentkim-pm/play-sound-utils
Last synced: about 2 months ago
JSON representation
Provides a easier utility to send PlaySoundPackets
- Host: GitHub
- URL: https://github.com/presentkim-pm/play-sound-utils
- Owner: presentkim-pm
- License: mit
- Created: 2024-02-20T07:10:27.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-07T14:31:55.000Z (9 months ago)
- Last Synced: 2024-05-30T16:42:50.033Z (7 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Poggit CI][poggit-ci-badge]][poggit-ci-url]
[![Stars][stars-badge]][stars-url]
[![License][license-badge]][license-url]
play-sound-utils
Provides utils for send PlaySoundPacket more shorter and easier![View in Poggit][poggit-ci-url] · [Report a bug][issues-url] · [Request a feature][issues-url]
## About The Project
:heavy_check_mark: 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`
:heavy_check_mark: 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`
:heavy_check_mark: 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](https://github.com/poggit/support/blob/master/virion.md)
-----
## How to use?
See [Main Document](https://github.com/presentkim-pm/play-sound-utils/blob/main/docs/README.md)
-----
## License
Distributed under the **MIT**. See [LICENSE][license-url] for more information
[poggit-ci-badge]: https://poggit.pmmp.io/ci.shield/presentkim-pm/play-sound-utils/play-sound-utils?style=for-the-badge
[stars-badge]: https://img.shields.io/github/stars/presentkim-pm/play-sound-utils.svg?style=for-the-badge
[license-badge]: https://img.shields.io/github/license/presentkim-pm/play-sound-utils.svg?style=for-the-badge
[poggit-ci-url]: https://poggit.pmmp.io/ci/presentkim-pm/play-sound-utils/play-sound-utils
[stars-url]: https://github.com/presentkim-pm/play-sound-utils/stargazers
[issues-url]: https://github.com/presentkim-pm/play-sound-utils/issues
[license-url]: https://github.com/presentkim-pm/play-sound-utils/blob/main/LICENSE
[project-icon]: https://raw.githubusercontent.com/presentkim-pm/play-sound-utils/main/assets/icon.png