Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emortalmc/NBStom
A NBS reader and player for Minestom
https://github.com/emortalmc/NBStom
minestom minestom-library
Last synced: 3 days ago
JSON representation
A NBS reader and player for Minestom
- Host: GitHub
- URL: https://github.com/emortalmc/NBStom
- Owner: emortalmc
- License: mit
- Created: 2022-02-18T16:13:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T18:39:59.000Z (5 days ago)
- Last Synced: 2024-11-11T19:36:38.991Z (5 days ago)
- Topics: minestom, minestom-library
- Language: Java
- Size: 3.06 MB
- Stars: 14
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-minestom - NBStom - [NBS](https://opennbs.org/) reader and player. (Libraries)
README
# NBStom
## API
```java
NBSSong song = new NBSSong(Path.of("path/to/.nbs"));// for a player
NBS.play(song, player);
NBS.stop(player);// for an audience
UUID stopId = UUID.randomUUID();
NBS.play(song, audience, MinecraftServer.getSchedulerManager(), stopId);
NBS.stop(stopId)
```