ThemisToDiscord | Themis Anti Cheat Discord Notifications Addon icon

ThemisToDiscord | Themis Anti Cheat Discord Notifications Addon -----

Enables Themis notifications to discord using a webhook.




New Features
  • Messages are now completely customizable (#3)
  • JSON can now be specified for easy message designing using https://discohook.org
  • Users can now define as many messages as desired
  • Separate webhook urls can now be defined for each message (#1)
  • ThemisToDiscord handling is now optional as messages can now be fired via command
  • A new placeholder %os% was added (#2)
Improvements
  • Completely revamped and updated configuration to support the new features
  • Improved error handling and feedback (#4)
  • Improved logging in general and added a debug utility
Development
  • Adds BoostedYAML as a new dependency for an enhanced configuration experience
  • Made JavaDiscordWebhook use the latest commit
  • Utilizes a SingleThreadExecutor for sending webhooks in consecutive order
Special thanks to @TheosisOfficial for all the feature requests and the bug report.

Related PR: #6

GitHub release: https://github.com/RagingTech/ThemisToDiscord/releases/tag/v0.3.0
----------, Mar 16, 2025

v0.2.2 Changelog - The configuration file was not changed
  • Added DiscordSRV method to the README
  • Migrated to a new extremely lightweight way to send Discord webhook messages
  • Downgraded Spigot API and native API to 1.17 to ensure compatibility with 1.17 and up
  • Lowered build source and target to ensure compatibility with earlier Java versions
  • Added the missing ttd command option: reload to the invalid usage message
----------, May 13, 2024

v0.2.1 Changelog - The configuration file was not changed

- Fixes an issue where configuration values were not being loaded when the plugin started with no valid webhook url
----------, Jan 2, 2024

v0.2.0 Changelog - The configuration file was changed
  • Updated ThemisAPI to v0.15.3
  • Removed the dependency on Themis's default notification message
  • Removed all regex configuration options
  • Switched from NotificationEvent to ViolationEvent
  • Added three new configuration keys:
    • execution-threshold: The minimum score for a notification
    • repetition-threshold: The amount of new violations that need to happen before another notification
    • repetition-delay: The amount of time in seconds that needs to pass before another notification
To receive player ping and server tps Themis v0.15.3 or higher must be used otherwise these values will be "NA".

Code (YAML):

###    _____ _                    _    _____    ______ _                       _   ###
###   |_   _| |                  (_)  |_   _|   |  _  (_)                     | |  ###
###     | | | |__   ___ _ __ ___  _ ___ | | ___ | | | |_ ___  ___ ___  _ __ __| |  ###
###     | | | '_ \ / _ \ '_ ` _ \| / __|| |/ _ \| | | | / __|/ __/ _ \| '__/ _` |  ###
###     | | | | | |  __/ | | | | | \__ \| | (_) | |/ /| \__ \ (_| (_) | | | (_| |  ###
###     \_/ |_| |_|\___|_| |_| |_|_|___/\_/\___/|___/ |_|___/\___\___/|_|  \__,_|  ###

# Replace this with your webhook url
webhookUrl
: copy your webhook url here

# What is the minimum score for a notification to be sent to the discord?
execution-threshold
: 10.0
# What amount of new violations need to happen before another notification is sent?
repetition-threshold
: 5.0
# What amount of time needs to pass before another notification is sent?
repetition-delay
: 10.0

# Specify the embed color for each hack category
categoryColors
:
  Boat Movement
: "#875229"
  Flight / Y-Movement
: "#3276bf"
  Speed
: "#d6e600"
  Spoofed Packets
: "#ff0000"
  Timer / Blink
: "#d61ad6"
  Reach
: "#6f1ad6"
  Elytra Flight
: "#afaeb0"
  Illegal Packets
: "#141414"
 
----------, Jan 2, 2024

Adds color config support for the Illegal Packets Check Type.
----------, Dec 22, 2023

Resource Information
Author:
----------
Total Downloads: 520
First Release: Dec 19, 2023
Last Update: Mar 16, 2025
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings