/randomexplosion: When the player runs this command, it causes an explosion at their current location.
The power of the explosion is random, ranging from 1 to 10. You can change the range or modify how powerful the explosions are by adjusting the range of the {_power} variable.
The player gets a message telling them the power of the explosion.
This could be a fun and chaotic event for your server! You can also adjust the explosion types (e.g., fireball, TNT, etc.) by modifying the cause explosion part.