AWOG
    • Categories
    • Recent
    • Users
    • Discord
    • TeamSpeak
    • Steam Group
    • Register
    • Login

    [Release] YADB - Yet Another Discord Bridge

    IW4m Administrator
    release
    9
    32
    6.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • XerxesX
      Xerxes
      last edited by Xerxes

      Introduction

      As the name suggests YADB - Yet Another Discord Bridge is a Discord bridge styled tool. It uses Discord’s Webhook functionality to allow you to send certain events to your Discord servers.

      Example report with admin notification

      More screenshots:
      :::

      Example  chat messages

      Example ban message

      :::

      Currently it supports to following events:
      Bans
      Chat messages
      Kicks
      Reports
      Connection Loss
      Connection Restore

      Special features:
      Emoji support for Bans, Kicks and Reports.
      Customize able tags per server game.
      Ban evasion detection detection.
      Can ignore reports from ZM Servers.
      Every kind of message can be turned off.
      Messages can be split into three different hooks.

      Changelog:

      • fe4b1ad
        • Fixed an issue that breaks chat hooks with older config files (introduced in c42c484)
      • 20d2d08
        • Updated used SharedLibraryCore version (comes from IW4m-Admin)
        • Plugin prints version with git hash on start-up (20d2d08 in this case) for easier version control.
      • d28608b
        • IW4m-Admin b188 changed how the metaservice has to be accessed, this implements the new way. The metaservice itself is used for Gravatar support on the chat hook embeds.
      • d585272
        • introduced forceSetUpHooks (bool) to force all webhooks to be set-up again.
      • c42c484
        • introduces support for chat hook overrides per game or per game server
      • 6337a30
        • Version bump to 1.0: I guess it is time to bump the version since this is the most widespread used 3rd party plug-in for IW4MAdmin, it pretty stable and has plenty of features.
      • 56a21b5
        • Updated SharedLibraryCore to 2.4.2
        • Switched the example tag overrides to less used games.
        • Added the possibility to have a ban only discord hook.
      • 3cce88f
        • Penalties from the Webfron are now shown correctly, this was only a cosmetic issue.
      • 7ceb780
        • Made set-up process more retard proof by validating Discord Hooks with Regex and creating unit tests for them.
      • 6a162ea
        • Merged changes from @RaidMax to restore functionality:
        • Updated SharedLibraryCore to 2.2.7
        • Changed how configs are read.

      Download:

      You are NOT allowed to mirror or hot link this file.

      Download Yet Another Discord Bridge

      ~Head admin

      M 1 Reply Last reply Reply Quote 0
      • R
        RED PANDA UwU
        last edited by

        can you customize what domain it links to in the discord messages?

        XerxesX 1 Reply Last reply Reply Quote 0
        • XerxesX
          Xerxes @RED PANDA UwU
          last edited by

          @RED-PANDA-UwU Only indirectly by setting ManualWebfrontUrl in your iw4ma config.

          ~Head admin

          1 Reply Last reply Reply Quote 0
          • S
            Sul6an
            last edited by

            i installed but ain’t work

            no error at all

            [03.21.2020 10:25:15.263] - Verbose: Loaded Yet Another Discord Bridge (0.1) by [AWOG] Xerxes in IW4MAdmin (2.3.2.135)!

            its loaded fine but no message on discord

            1 Reply Last reply Reply Quote 0
            • XerxesX
              Xerxes
              last edited by

              Check your configuration, if you set it up to not send messages it won’t send any messages.

              ~Head admin

              S 1 Reply Last reply Reply Quote 0
              • S
                Sul6an @Xerxes
                last edited by

                @Xerxes all its true ,
                this is my config is there something worng?

                {
                  "DiscordChatHook": "https://ptb.discordapp.com/api/webhooks/deleted/deleted-deleted",
                  "DiscordInfoHook": "https://ptb.discordapp.com/api/webhooks/deleted/oQHROf7Z-deleted",
                  "DiscordReportHook": "https://ptb.discordapp.com/api/webhooks/deleted/deleted-deleted",
                  "EnableMemes": true,
                  "ReportTag": "\"<@&20471511375046246>\"",
                  "ShowBans": true,
                  "ShowConnection": true,
                  "ShowEvasion": true,
                  "ShowKicks": true,
                  "ShowTempBans": true,
                  "UseEmoji": true,
                  "PushZMReports": false,
                  "TagOverrides": {
                    "T5": "@here",
                    "T6": "430694434930425856"
                  }
                }
                
                XerxesX 1 Reply Last reply Reply Quote 0
                • XerxesX
                  Xerxes @Sul6an
                  last edited by

                  @Sul6an Get rid of the ptb. in the addresses.

                  ~Head admin

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Sul6an @Xerxes
                    last edited by Sul6an

                    @Xerxes same problem i remove ptb and i try recreate the link nothing happens
                    its works with iw4admin DiscordWebhook the older one

                    do u have discord?
                    Sul6an#3330

                    1 Reply Last reply Reply Quote 0
                    • XerxesX
                      Xerxes
                      last edited by

                      What you also could try is to get rid of https://ptb.discordapp.com/api/webhooks/ or https://discordapp.com/api/webhooks/ completely as deleted/oQHROf7Z-deleted is the preferred format anyways.

                      ~Head admin

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sul6an @Xerxes
                        last edited by

                        @Xerxes same like this? not working

                          "DiscordChatHook": "/691019660384380/4RGx6ZPjWo2QR0PcCRLJ7UDfcuPTXRiTaCpfJTmOr9WExixlMizKFKuef-2oo",
                          "DiscordInfoHook": "653396785903954/_uUWLEYXZ8qb6qi89KBweHs-4OFxpw1KIEdPawXF5WPhbtvJzU5Fn0",
                          "DiscordReportHook": "6568653549590282/rM4Qy5JGYHjO15VyEoDnmM9Y-gvU2M4nD2DJ8Qwj4rBftFiEC8KFkrV7ov",
                        
                        XerxesX 1 Reply Last reply Reply Quote 0
                        • XerxesX
                          Xerxes @Sul6an
                          last edited by

                          You have a / at the beginning of your DiscordChatHook, get rid of it as well.

                          ~Head admin

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Sul6an @Xerxes
                            last edited by

                            @Xerxes yeah i was edit the last message is working

                            to fix it i delete the config and remove ptb. from the link

                            Thanks <3

                            1 Reply Last reply Reply Quote 0
                            • D
                              duui
                              last edited by

                              @Sul6an said in [Release] YADB - Yet Another Discord Bridge:

                              essage is working
                              to fix it i delete the config and remove ptb. from the link
                              Thanks <3

                              where do i add the dll

                              1 Reply Last reply Reply Quote 0
                              • XerxesX
                                Xerxes
                                last edited by

                                You have to put the dll into the plug-ins folder of IW4MAdmin.

                                ~Head admin

                                1 Reply Last reply Reply Quote 0
                                • K
                                  KNFH
                                  last edited by

                                  yo how do i can edit the file its .dll

                                  1 Reply Last reply Reply Quote 0
                                  • XerxesX
                                    Xerxes
                                    last edited by

                                    You don’t.

                                    ~Head admin

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MetalThunder @Xerxes
                                      last edited by

                                      @xerxes Hi there! How should i edit the “ReportTag” line if i wanna put my discord’s ID? Thanks :)

                                      XerxesX 1 Reply Last reply Reply Quote 0
                                      • XerxesX
                                        Xerxes @MetalThunder
                                        last edited by

                                        @metalthunder You have to use <@&ROLE_ID>, obviously replace ROLE_ID with the role id.

                                        ~Head admin

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MetalThunder @Xerxes
                                          last edited by

                                          @xerxes Thanks! i have a question, its possible that the new iw4Madmin version is no longer compatible with this plugin? im getting some SharedLibraryCore error when i open iw4 tool.

                                          XerxesX 1 Reply Last reply Reply Quote 0
                                          • XerxesX
                                            Xerxes @MetalThunder
                                            last edited by

                                            Please double check that you are on the latest version. If thats the case I’m gonna need the full error message.

                                            ~Head admin

                                            M 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post