Connor. 205 Posted August 25, 2018 This server mod allows you to send discord webhook messages directly from your Arma 3 server. It does both simple messages and full embeds. I've had a personalized version for months now but I was looking around yesterday and couldn't find anything like this public so here you go 🙂 The kinds of things I've been using it for: Publishing round stats at the end of a game Pushing in game event alerts to discord AntiCheat notifications so I know about sketchy people without needing to be in game Github: https://github.com/ConnorAU/SQFDiscordEmbedBuilder Discord: https://discord.gg/DMkxetD 4 2 Share this post Link to post Share on other sites
tanaka52 5 Posted August 25, 2018 This is really interesting and may save some overhead for me. I've been using an EH to detect friendly fires and print to log while a discord bot scans the file. I would love a video on how you have been publishing round information if you find time. Share this post Link to post Share on other sites
Connor. 205 Posted August 25, 2018 25 minutes ago, tanaka52 said: This is really interesting and may save some overhead for me. I've been using an EH to detect friendly fires and print to log while a discord bot scans the file. I would love a video on how you have been publishing round information if you find time. I did round stats for Capture the Flag which used a different setup, most of the embed settings were hardcoded into the extension but in this mod it would have been something like this: Config: Spoiler class RoundEnd_WEST { webhook="webhook url"; username="Capture The Flag"; class Embeds { class Embed1: CfgDiscordEmbedTemplate { title="%1"; description="Blufor won the round!"; color="0000FF"; class Footer { text="Round ID: %2"; }; fields[]={ {"Map","%3",1}, {"Round Legnth","%4",1}, {"Blufor Captures","%5",1}, {"Opfor Captures","%6",1} }; }; }; }; class RoundEnd_EAST: RoundEnd_WEST { class Embeds: Embeds { class Embed1: Embed1 { description="Opfor won the round!"; color="FF0000"; class Footer: Footer {} }; }; }; SQF: Spoiler [ "RoundEnd_"+str _winningSide, [ serverName, myRoundID, worldName, [time-myRoundStartTime,"HH:MM:SS"] call BIS_fnc_secondsToString, myBluforCaptures, myOpforCaptures ] ] call DiscordEmbedBuilder_fnc_send; Share this post Link to post Share on other sites
.kju 3244 Posted August 25, 2018 nice work there @Connor. 1 Share this post Link to post Share on other sites
Dwarden 1125 Posted August 25, 2018 nice work, keep it up 1 Share this post Link to post Share on other sites
Connor. 205 Posted August 26, 2018 v1.1 Update: Added raw SQF embed building DiscordEmbedBuilder_fnc_buildSqf. Moved config building to DiscordEmbedBuilder_fnc_buildCfg. Moved webhook urls to CfgDiscordEmbedWebhooks. This allows you to paste a url once and use it on multiple config templates and SQF builds. Updated readme with new instructions and raw SQF information. New youtube preview https://www.youtube.com/watch?v=cEWo6Anlliw. 3 Share this post Link to post Share on other sites
thebuckfastwine 1230 Posted August 26, 2018 Nice work indeed. 1 Share this post Link to post Share on other sites
kremator 1065 Posted August 26, 2018 Really cool. Thanks 1 Share this post Link to post Share on other sites