Skip to Content
PhantomBans is a premium plugin. Get it from the store or join the Discord.
FeaturesDiscord Logging

Discord Logging

Keep your staff team in the loop by mirroring PhantomBans activity to Discord.

PhantomBans posts clean embeds to Discord using webhooks. You can send each kind of event to its own channel, so bans, reports, and appeals each land where they belong.

Set it up

Create a webhook in Discord

In your Discord server, open a channel’s settings, go to Integrations, and create a webhook. Copy its URL.

Paste it into the config

In config.yml, find the discord section and paste the URL into the event you want, then set that event’s enabled to true.

Reload

Run /phantombans reload (or restart) and the embeds start flowing.

Events you can send

EventPosts when
bansA player is banned
mutesA player is muted
kicksA player is kicked
warnsA player is warned
unbansA ban is lifted
reportsA player files a report
staff-notesA staff note is added
audit-logA staff action is recorded
appealsA player appeals
senior-reviewAn appeal is escalated

Each event has its own switch and its own webhook URL:

discord: enabled: true logo-url: "https://arrowtan.cc/logo.png" webhooks: bans: enabled: true url: "https://discord.com/api/webhooks/..." silent-punishments: false

Silent punishments

Each punishment webhook has a silent-punishments switch:

  • false: silent (-s) punishments are not posted to Discord, keeping them quiet everywhere.
  • true: post them to Discord anyway, so your staff log stays complete even though the server saw nothing.

Pick the behaviour that fits your team. Many servers keep silent-punishments: false for bans so a silent ban stays truly hidden, but true for unbans so the staff log is never missing a record.

A webhook URL is a key to post in your channel. Keep config.yml private and never share these URLs.

Last updated on