discord.yml (Deprecated)
Deprecated: This configuration file has been replaced by
webhooks.ymlin BanManager v7.10+. New installations should usewebhooks.ymlinstead. This page is maintained for users on older versions.
Legacy Documentation
This page documents the legacy discord.yml configuration for BanManager versions prior to v7.10.
| Platform | Location |
|---|---|
| CraftBukkit/Spigot/Paper | /plugins/BanManager/discord.yml |
| BungeeCord | /plugins/BanManager/discord.yml |
| Sponge | /config/banmanager/discord.yml |
Versions prior to v7.10 only support Bukkit via DiscordSRV and Sponge via MagiBridge. This has been removed in later versions and it is recommended you migrate to webhooks.yml.
-
enabled- Set to true to enable discord integration, defaults tofalse -
messagesFromActor- Set to true to show punishment messages as if they were sent by the minecraft user, defaults totrue -
punishments-
ban-
channel
DiscordSRV) or ID (forMagiBridge) of the Discord channel. ForDiscordSRV, this name must specified underChannelsin your DiscordSRV config.yml, i.e.# The first part of channel pairs is not the Discord channel name! Channels: {"global": "219559668236681217", "punishments": "221419146028646402"}-
message- Supports Discord Markdown, use\nto represent a new line -
ignoreSilent- Set to false to send silent punishments, defaults to true
-
-
Example
enabled: true
messagesFromActor: true
punishments:
ban:
channel: 'punishments'
message: "[player] has been permanently banned\nBy: [actor]\nReason:[reason]"
ignoreSilent: true
tempban:
channel: 'punishments'
message: "[player] has been temporarily banned for [expires]\nBy: [actor]\nReason:[reason]"
ignoreSilent: true
unban:
channel: 'punishments'
message: "[player] has been unbanned\nBy: [actor]\nReason:[reason]"
banip:
channel: 'punishments'
message: "[ip] has been permanently banned\nBy: [actor]\nReason:[reason]"
ignoreSilent: true
tempbanip:
channel: 'punishments'
message: "[ip] has been temporarily banned for [expires]\nBy: [actor]\nReason:[reason]"
ignoreSilent: true
unbanip:
channel: 'punishments'
message: "[ip] has been unbanned\nBy: [actor]\nReason:[reason]"
kick:
channel: 'punishments'
message: "[player] has been kicked\nBy: [actor]\nReason:[reason]"
ignoreSilent: true
mute:
channel: 'punishments'
message: "[player] has been permanently muted\nBy: [actor]\nReason:[reason]"
ignoreSilent: true
tempmute:
channel: 'punishments'
message: "[player] has been temporarily muted for [expires]\nBy: [actor]\nReason:[reason]"
ignoreSilent: true
unmute:
channel: 'punishments'
message: "[player] has been unmuted\nBy: [actor]\nReason:[reason]"
warning:
channel: 'punishments'
message: "[player] has been warned\nBy: [actor]\nReason:[reason]"
ignoreSilent: true