ChatHook

Плагин ChatHook 1.0.0

Создайте и подтвердите аккаунт для скачивания
Поддерживаемые версии
  1. 1.12
  2. 1.13
  3. 1.14
  4. 1.15
  5. 1.16
  6. 1.17
  7. 1.18
  8. 1.19
  9. 1.20
  10. 1.21
Ядра и Прокси
  1. Bukkit
  2. Spigot
  3. Paper
Простой плагин, который позволяет отправлять сообщения чата игрока на внешний сервер. Он хорошо подходит для создания чата на веб-сайте или для веб-хуков Discord.

ДЛЯ РАБОТЫ ПЛАГИНА ВАМ НУЖЕН BACKEND-СЕРВЕР, КОТОРЫЙ БУДЕТ ПРИНИМАТЬ ЗАПРОСЫ ОТ ПЛАГИНА

Пример конфигурации

YAML:
# Author: Kredwi
# Issues: https://github.com/kredwi/chathook/issues
debug: false # Enable debug mode (true - enabled, false - disabled).
async: true # Use asynchronous requests, if disabled, chat messages can be sent with a significant delay
timeout: 5000 # Timeout in milliseconds, after which the connection will be closed.
request_url: "http://localhost:8439" # The address of the server to which requests will be sent.
authorization: "" # Authorization token, if not needed, leave the field empty
config-version: 1 # Config version

# Message sector
message_sector:
 error_invalid_command: "§cThis command does not exist"
 config_is_reloaded: "§aConfiguration successfully reloaded"
 no_arguments: "§cNot enough arguments"
 no_permissions: "§cYou do not have enough permissions"

# List of player nicknames whose messages will not be sent to the server
disabled_players:
- Kredwi
- igor

# Other information that will be sent in the request
other_information:
 key_1: "%player_ip%"
 key_2: "%player_name%"
Зависимости
PlaceholdersAPI
Исходный код
https://github.com/Kredwi/chathook
Команды и права
Команды
- /chathook reload - перезагрузить конфигурацию плагина

Разрешения
- chathook.use - Разрешение на использование команд плагина
  • Мне нравится (+1)
Реакции: Yusheero
Автор
Kredwi
Скачивания
7
Просмотры
516
Первый выпуск
Обновление
Оценка
0.00 звёзд 0 оценок

Поделиться ресурсом

Назад
Сверху Снизу