ThemisToDiscord

Enables Themis notifications to discord using a webhook.

Редакция NLZONE · 2 мин чтения · 1 просмотр
ThemisToDiscord
Скачать ThemisToDiscord1.17 – 26.1.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Enables Themis notifications to discord using a webhook.

  • Тип: мод
  • Загрузчик: paper, purpur, spigot
  • Версии Minecraft: 1.17 – 26.1.2
  • Скачиваний на Modrinth: 1 728

Подробно

[](https://www.spigotmc.org/resources/114051/)

Formerly only found on GitHub and SpigotMC, ThemisToDiscord is now available on Modrinth!

Sends an embedded Themis notification to a discord webhook.

This is an unofficial addon and is not affiliated with the Themis project in any compacity.

Depends on Themis. If you want to use the %os% placeholder in the config file you will also need Floodgate. 1. Place the ThemisToDiscord.jar file in your /plugins folder. 2. Start or restart the server 3. Run /ttd url (replace with your webhook url) 4. Configure your messages if necessary following modifications with /ttd reload 5. Optionally, test your messages by running their respective commands /ttd msg [score:score] [ping:ping] [tps:tps] to ensure the setup is functioning

You can create as many messages as you need/want. For each message you have the option to define the handling.

To do this, you use the same thresholds and delays included in the Themis configuration. yaml default: # Define whether ThemisToDiscord should handle sending this message # Disable handling if you add this message's command to your Themis action(s) Handling: Enabled: true # 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

Should this option be missing or disabled, ThemisToDiscord will not handle sending the message.

This means the only way for the message to be sent would be the corresponding command:

/ttd msg [score:score] [ping:ping] [tps:tps]

A simple example of having Themis handle the message would be to disable handling in the ThemisToDiscord configuration and then place the message's command in a Themis action such as the following: yaml actions: # What is the name of the action? This name needs to be unique. notify: # What is the minimum score for Themis to run this action? execution-threshold: 10.0 # Which amount of new violations need to happen for this action to be repeated? repetition-threshold: 5.0 # Which amount of time needs to pass for this action to be repeated? repetition-delay: 10.0 # Which commands should be run? You can specify as many as you'd like which will be run in the order they're listed. # Currently, you can use the following plac

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также