Skip to content

Sends LiteBans or AdvancedBan punishment info to a discord webhook

License

Notifications You must be signed in to change notification settings

A248/BansWebhook

Repository files navigation

BansWebhook

  • Sends punishment info to a discord webhook.

Commands

    • /bwh reload : Reloads configuration bwh.admin
    • /bwh debug : Sends a debug Webhook with the given type bwh.admin

Dependencies and libraries used

Configuration

reload-message: "&aReloaded Configuration!"
litebans-do-not-send-silent-punishments: true
inline-webhooks: false

ban:
  enabled: true
  webhook-url: "enter-url-here"
  webhook-title: "New Ban!"
  webhook-thumbnail: ""
  webhook-color: "ff0000"
  fields:
    "Banned by": "{executor}"
    "Username": "{player}"
    "Reason": "{reason}"
    "Duration": "{duration}"

mute:
  enabled: false
  webhook-url: "enter-url-here"
  webhook-title: "New Mute!!"
  webhook-thumbnail: ""
  webhook-color: "ff0000"
  fields:
    "Banned by": "{executor}"
    "Username": "{player}"
    "Reason": "{reason}"
    "Duration": "{duration}"

warn:
  enabled: false
  webhook-url: "enter-url-here"
  webhook-title: "New Warn!"
  webhook-thumbnail: ""
  webhook-color: "ff0000"
  fields:
    "Banned by": "{executor}"
    "Username": "{player}"
    "Reason": "{reason}"
    "Duration": "{duration}"

kick:
  enabled: false
  webhook-url: "enter-url-here"
  webhook-title: "New Kick!"
  webhook-thumbnail: ""
  webhook-color: "ff0000"
  fields:
    "Banned by": "{executor}"
    "Username": "{player}"
    "Reason": "{reason}"
    "Duration": "{duration}"

Download

If there is any bug, feel free to open an issue.

About

Sends LiteBans or AdvancedBan punishment info to a discord webhook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages