Ban Management

Ban Management

193k Downloads

Discord notifications still not working

TheNety opened this issue ยท 3 comments

commented

Still not working for me :/
#826

commented

So I've setup a BanManager discord server to test this, and it appears to be working fine. Your discord.yml config should look something similar to this:

# Requires DiscordSRV (Bukkit only)
enabled: true
punishments:
  ban:
    channel: global
    message: '&6[player] has been permanently banned by [actor] for &4[reason]'
  tempban:
    channel: global
    message: '&6[player] has been temporarily banned for [expires] by [actor] for
      &4[reason]'
  mute:
    channel: global
    message: '&6[player] has been permanently muted by [actor] for &4[reason]'
  tempmute:
    channel: global
    message: '&6[player] has been temporarily muted for [expires] by [actor] for &4[reason]'
  warning:
    channel: global
    message: '&6[player] has been warned by [actor] for &4[reason]'
commented

Oh!! Now it's working, thank you. I typed the channel ID to discord.yml config.... Maybe would be useful to put there a comment that you firstly have to register the channel id in DiscordSRV config and then in discord.yml you have to type the name you wrote there.

commented

I've updated https://banmanagement.com/setup/minecraft-server to hopefully show more information on different configuration options amongst other things.