How would i go about sending a message or excuting a specific command when a block was placed for example i place podzol and it brodcasts you win!
@M1K4H Use BlockPlaceEvent, call getBlock() to get the block, run an if on the blocks material type, then broadcast "You win!" if it's podzol.
if you want to try and do it yourself don't click on code. CODE (Move your mouse to reveal the content) CODE (open) CODE (close) Code: public void foo(BlockPlaceEvent event) { if (event.getBlockPlaced().getType() == Material.PODZOL) { event.getPlayer().sendMessage("You Win!"); } }