API Examples

// Get the API
BoostedAudioAPI api = BoostedAudioAPI.getAPI();

// Get User
// A user represent a player audio panel
User usr = BoostedAudioAPI.getAPI().getHostProvider().getUsersOnServer().get(playerId);

With a user you can get close it, it will kick the player from the audio panel you can playAudio, get the audios playing, stopAudio get proximity chat peers and others things, When you import the plugin api I recommend checking the class directly in you IDE the methods are really simple to understand

If you have any question about the api or if you need special features you can ask me on my discord

Last updated