Cuberite Forum

Full Version: How to do?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Create a theme for beginners

How to disable TNT in creative mode?
Do you want to disable the TNT explosions, or even placing TNT blocks?

Both can be done with a plugin; disabling TNT explosions has already been done in the Gallery plugin, so it should be as simple as copying a few lines of code and wrapping it in plugin boilerplate code. Placing TNT blocks could be prevented rather simply as well; I have a feeling there's already a plugin that lets you prevent placement of certain blocks (, haven't you written such a thing?)
Yeah I did create it. I think I found it after a quick search: https://forum.cuberite.org/showthread.ph...4#pid11994
big thanks!

And how to disable spawn animals with egs?