
Griefing Notifications
Displays a message when a griefing occurs to everyone who has the griefing_notifications tag.
This datapack notifies players when an explosion occurs (or is about to occur) in the overworld, for anyone who has the griefing_notifications tag. All detected events are also stored in a log.
The datapack was created primarily to help keep track of who is responsible for most griefing on vanilla servers.

How to use it
You need to add the griefing_notifications tag to any player who should receive the notifications, using the command:
/tag @s add griefing_notifications
Once added, the datapack will notify you when an explosion-related event occurs. The events it can detect are:
- Creeper explosion
- TNT placed in the Overworld
- TNT explosion in the Overworld
- End Crystal placed in the Overworld
- Respawn Anchor charged in the Overworld
Additionally, you can disable specific notifications using the following triggers:
/trigger disable_creeper_notifications
/trigger disable_tnt_placing_notifications
/trigger disable_tnt_explosion_notifications
/trigger disable_end_crystal_notifications
/trigger disable_respawn_anchor_notifications
(Use set 0 at the end of the trigger to enable the notification again.)
Griefing Log
Every griefing event is saved, and you can view the log using the command:
/trigger show_griefing_log set [number of entries]
This will show you the latest events in order. The oldest entries are automatically deleted to avoid lag.