MonitoringMinecraft MonitoringMinecraft
S

ServerWebhook

Плагин Velocity

Плагин для серверов Майнкрафт — отправляет вебхук при входе игрока.

42 скачивания 0 подписчиков
Оцените первым

ServerWebhook Plugin

A simple plugin for Velocity proxies that sends a notification to a configured webhook when a player connects to a specific server.

Features

  • Per-Server Settings: Configure webhooks for specific servers or for all servers ("all").
  • HTTP Method Support: Supports GET and POST requests.
  • Dynamic Data Transfer: Use placeholders like {player.name}, {player.uuid}, and {server.name} in the webhook's URL, body, and headers to send dynamic information.

Configuration Structure

{
  "webhooks": [
    {
      "server": "ServerName",
      "url": "WebhookURL",
      "method": "HTTPMethod",
      "body": "RequestBody (optional)",
      "headers": {
        "HeaderName": "HeaderValue"
      }
    }
  ]
}
  • server: Specify the name of the server to send the webhook for. Set to "all" to receive notifications from all servers.
  • url: The URL address to send the webhook request to.
  • method: Supports GET or POST.
  • body: The body to send with a POST request. (optional)
  • headers: Custom headers to include in the request. (optional)

Available Placeholders

You can use the following placeholders in the url, body, and headers values to include dynamic information:

  • {player.name}: The player's name
  • {player.uuid}: The player's UUID
  • {server.name}: The name of the server the player connected to

Configuration Example

{
  "webhooks": [
    {
      "server": "limbo",
      "url": "http://localhost:8080/webhook",
      "method": "POST",
      "body": "{\"username\": \"{player.name}\", \"content\": \"{player.name} has connected to {server.name}.\"}",
      "headers": {
        "X-Auth-Token": "your-secret-token"
      }
    },
    {
      "server": "main",
      "url": "https://discord.com/api/webhooks/your_webhook_id/your_webhook_token",
      "method": "POST",
      "body": "{\"content\": \"Player {player.name} ({player.uuid}) connected to {server.name}\"}"
    },
    {
      "server": "all",
      "url": "http://localhost:8080/player_join?player={player.name}&server={server.name}",
      "method": "GET"
    }
  ]
}
Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1134 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MigosMc
MigosMc Java + BE
1100 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
SeasonEra
1 онлайн
26.1.2 версия
Выживание • Экономика • Кланы • Приваты • Донат
PLIRGAME - ДЕВУШКИ ВОЙС ЧАТ
29 онлайн
1.21.10 — 26.1.1 версия
❤️ Выживание! ❤️ Войс Чат ❤️ Девушки ❤️ /free
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат