A Minecraft plugin for alerting staff when someone griefs
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
kleedje30 124044cbbc
Some checks failed
Build / Explore-Gitea-Actions (push) Has been cancelled
changed lookup time from 500 days to 10 years (#3)
Changed coreprotect lookuptime from 1.5 to 10 years

Co-authored-by: urtypicalblahajlunatic <UrTypicalBlahajLunatic@gmail.com>
Reviewed-on: #3
2026-11-01 13:35:20 +00:00
.gitea/workflows Introduce build pipeline (#4) 2026-06-28 11:23:50 +00:00
gradle setup new gralde project 2026-06-27 11:17:06 +02:00
src changed lookup time from 500 days to 10 years (#3) 2026-11-01 13:35:20 +00:00
.gitattributes setup new gralde project 2026-06-27 11:17:06 +02:00
.gitignore add gitignore 2026-06-27 11:14:09 +02:00
build.gradle bump co version + change test to always succeed 2026-06-27 11:45:36 +02:00
gradle.properties setup new gralde project 2026-06-27 11:17:06 +02:00
gradlew setup new gralde project 2026-06-27 11:17:06 +02:00
gradlew.bat setup new gralde project 2026-06-27 11:17:06 +02:00
LICENSE Initial code 2025-08-23 06:19:34 +00:00
README.md add dev notes to readme 2026-06-27 11:14:44 +02:00
settings.gradle setup new gralde project 2026-06-27 11:17:06 +02:00

GriefAlert

GriefAlert a simple plugin that alerts the staff when someone is griefing on the server.

CoreProtect is required for this plugin to work. DiscordSRV is recommended.

Features

  • Alerts the staff when players break blocks, steal items or kill mobs in other players' builds.
  • Alerts go to the chat of ingame staff and optionally Discord.
  • Players and coordinates can be excluded from alerts.

Permissions

  • griefalert.notify - Gives an ability to view alerts in the chat.
  • griefalert.exclude - Completely excludes a player from triggering alerts.
  • griefalert.exclude.<player> - Excludes a player from triggering alerts when touching the specified player's stuff.
  • griefalert.staff - Ability to use staff commands.

Commands

  • /griefalert ignore [world] <x> <y> <z> - Ignores a location from alerts.
  • /griefalert unignore [world] <x> <y> <z>
  • /griefalert check [world] <x> <y> <z> - Tells if a location is ignored.

Discord support

If you have DiscordSRV installed, you can add this to it's alerts.yml:

- Trigger: net.ardakaz.griefalert.GriefAlertEvent
    Channel: grief-alerts
    Content: "${getAlert()}"

You'll also have to specify the grief-alerts channel in config.yml.

Development

  • Use ./gradlew clean to clean the project
  • Use ./gradlew assemble to compile the project
  • Use ./gradlew test to test the project
  • Use ./gradlew jar to create the jar
  • Use ./gradlew build to compile, test and create the jar