/iw4madmin-plugin-iw4todiscord

Sending certain Iw4madmin events to discord

Primary LanguageJavaScriptMIT LicenseMIT

ko-fi

IW4ToDiscord plugin for IW4MAdmin

Bans log iwtodiscord

Reports log iwtodiscord

Chats log iwtodiscord

Servers Status log

iwtodiscord

Unban logs

iwtodiscord

Requirement

  • You may need IW4MAdmin version 2021.5.15.3 or later.

Introduction

This plugin is based on the idea of the YADB plugin but with some extra features like:

  • Improve the appearance of the embeds (bans and reports).
  • Showing Unban event too on discord.
  • You can see online admins in report webhook.

Installation

  1. Remove YADB.dll plugin from Plugins folder if you have it (take a backup of this plugin first).
  2. Copy/past IW4ToDiscord.js plugin to IW4MAdmin/plugins directory.
  3. restart IW4MAdmin.
  4. Create a Webhook for: Game Reports channel, Game Bans channel, and Server Status channel, on your discord.
  5. Open IW4MAdmin/Configuration/ScriptPluginSettings.json, you'll see something like:
"IW4ToDiscord": {
  "Author": "Zwambro",
  "Version": 1.31,
  "ReportWebhook": "your_report_webhook_url",
  "BansWebhook": "your_bans_webhook_url",
  "ServerStatusWebhook": "your_status_webhook_url",
  "ChatlogWebhook": "your_chatlog_webhook_url"
}
  1. Replace your_report_webhook_url with your Report Channel webhook, and replace your_bans_webhook_url with Ban Channel webhook, and your_status_webhook_url with your Server Status Channel webhook, and replace your_chatlog_webhook_url with Chatlog Channel webhook, save the new configs.
  2. Have fun.

Special thanks and acknowledgements

  • DANGER clan for testing.
  • Xerxes for YADB plugin.
  • IW4Madmin developers.
  • Miltan aka WatchMiltan.