Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How can I block users from igniting TNT and blowing up my creations when I am hosting a server?
/gamerule tntExplodes false
You can place a command block near your creations and set it to repeat and always active. Write this command in:
If you're running a Pocketmine server, there are plugins to block TNT. If you're running a local, or ordinary server, there is no current method to block it.