Hey, how can you disable certain sounds on the server? For example, say if I wanted to disable hitting sound, how would I do that? Many thanks.
A sound is sent either by the customer as when you walk... So in this case there is a way to delete it with the texture pack and replace it with another sound (mute). But it is possible that it is the server. you can stop with the StopSoundPacket packet. In your case it may be the "entity.player.hurt" The list of all sounds that can be deleted with the packet. http://www.theredengineer.com/1.9-playsound-list.html The package : https://github.com/pmmp/PocketMine-...ine/network/mcpe/protocol/StopSoundPacket.php