How can I prevent the TNT from exploding?

Sa
- in Servers
9

I want to prevent TNT from blowing up on my Minecraft server.

Our server runs on Aternos, is 1.16.1 and has Spigot installed

Ru

Settings
TNT Explode: Off
Close settings

an

Place a command block in the spawn chunks that does this permanently:

/ kill @e [type = tnt]

And of course TNT Minecarts should also be banned, otherwise there's no point. To do this, write in a command block:

/ kill @e [type = tnt_minecart]

an

What

server.properties or what?

Sa

I only see Error Player not found

an

And you surely entered @e and not @p or something?

Sa

It didn't work with @a either

Ch

There should be an option in the server settings

an

It has to be @e

Wh

Yes, because it has not yet registered a TNT