Skip to content

Instantly share code, notes, and snippets.

@DereC4
Last active August 4, 2025 07:11
Show Gist options
  • Save DereC4/54c50601374ab864d62d927a6bad5a71 to your computer and use it in GitHub Desktop.
Save DereC4/54c50601374ab864d62d927a6bad5a71 to your computer and use it in GitHub Desktop.
Discord SRV Alerts.yml for whitelist detection (example) by DerexXD
# Simple whitelist denial alert
- Trigger: com.destroystokyo.paper.event.profile.ProfileWhitelistVerifyEvent
Channel: shields
Conditions:
- "#event.isWhitelistEnabled()"
- "!#event.isWhitelisted()"
Embed:
Color: "#ff6b6b"
Title: "Denied."
Description: |
**DENIED!**
**Reason:** Not whitelisted
**Time:** {time}
**Player:** ${#event.getPlayerProfile().getName()}'s connection attempt
**UUID:** ${#event.getPlayerProfile().getId()}
Footer:
Text: "Serverscanner gang is NOT allowed"
Timestamp: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment