Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 284 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 284 Bytes

NBStom

API

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)