Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by TheGamerPlayz, Jun 1, 2016.
How would I prevent a sound packet being sent from a block being placed?
Easiest way is to cancel the event, place the block, and then remove the block from the player's inventory (or something similar).
You may have to listen to the sound packet and cancel it.
Thats the thing how would I make a listener for a sound packet? I'm just getting started in them
I remember that ProtocolLib already have a tutorial on their API, seem ok?