Spawn TNT around the player and explode it (will not hurt the player, but the ground around him will be destroyed).
Is tested on 1.18 and 1.19, but should also work on older minecraft versions.
Will do this on all online players some have permission destroy_world.spawn_tnt set to true.
Permissions:
Code (Text):
destroy_world.toggle:
default: false
description: "this gic you acces to the TogglExplosions to toggle destroy world aruond you."
destroy_world.spawn_tnt:
default: false
description: "set it to true on a player and it will spawn tnt around him."
Command:
- /destroyworld toggle - will turn it off and on.
Video: