Skip to content
Nico edited this page Aug 31, 2021 · 2 revisions

You also have the possibility to play sounds. Just use the following method.

ProtocolizePlayer player = Protocolize.playerProvider().player(playerUniqueId);
player.playSound(Sound.ENTITY_ENDERMAN_TELEPORT, SoundCategory.MASTER, 1f, 1f);

This plays a specified sound on the specified sound channel with a specified volume and pitch to a player.