āš ļø
SmoothDownDetector
  • šŸ“ƒInformation
  • Documentation
    • šŸ’¼Setup
    • šŸ“YAML files
    • āŒØļøCommands & permissions
    • ā“FAQ
  • Links
    • BuiltByBit
    • Discord
Powered by GitBook
On this page
  • Keepalive
  • Config (config.yml)
  • Backend servers
  • Config (config.yml)
  • Messages (messages.yml)
  1. Documentation

YAML files

PreviousSetupNextCommands & permissions

Last updated 1 year ago

SmoothDownDetector only supports (&c) (not (<red>)) color codes.

Keepalive

Config (config.yml)

debug: false

keepalive:
  url: "https://keepalive.server.com:8080/keepalive"

pterodactyl:
  api-key: "API_KEY"
  power-endpoint-url: "https://panel.server.com/api/client/servers/%pteroServerId%/power"

discord-webhook:
  url: "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN"
  username: "SmoothDownDetector"
  title: "Server Status"
  color:
    red: 255
    green: 80
    blue: 80
  fields:
    server:
      name: "Server"
      value: "%serverDisplayName%"
  description: "Server is down (it will be back up in a few seconds)"

servers:
  example-1:
    keepalive-server-id: "example-1"
    pterodactyl-server-id: "5c169832"
    webhook-display-name: "Example 1"
    send-webhook: true
    keepalive-timeout: 300
    keepalive-restart-delay: 60

Backend servers

Config (config.yml)

keepalive:
  url: "https://keepalive.server.com:8080/keepalive"
  server-id: "example-1"
  interval: 5

Messages (messages.yml)

global:
  no-permission: "&c✘ You don't have permission."

command:
  smooth-down-detector:
    usage: "&c✘ Usage: /sdd-b <reload>"
    reload:
      success: "&aāœ” Configuration files reloaded."
šŸ“
legacy
MiniMessage