foe-helfer-extension icon indicating copy to clipboard operation
foe-helfer-extension copied to clipboard

[Feature Request] Events for Discord Webhooks

Open mainIine opened this issue 2 years ago • 11 comments

If you have a new idea for a webhook, write a comment here with the location in the game and a short explanation.

Remember that this event cannot be personalised, unless you own a Discord server alone ;-)

mainIine avatar Nov 24 '22 09:11 mainIine

Send Textmessage from specified channels from FOE to a discord channel.

VirusBot avatar Nov 24 '22 11:11 VirusBot

With some additional features, it would make more sense that we would receive a message when a province opened up, rather than a player initiating an attack; which is currently the trigger.

On that same concept I was also thinking possibly we could just log in every now and then on the GBG map, cache the current data and send the triggers "Province opening up", from our local storage, as which I believe is the current way of handling the data, right?

This would eliminate the current "issue" of having to have the GBG map open all the time, to have the triggers sent. Please let me know your thoughts and viability on what I propose

Tywinnn avatar Nov 24 '22 12:11 Tywinnn

it would be fun to copy the discord link in a settings window and this link would be integrated automatic in a new webhook.

thepab avatar Nov 24 '22 17:11 thepab

A couple of questions/comments:

  • I have to set up an entry for each sector separately?
  • I have to enter the webhook URL each time? @thepab 's idea would solve this.
  • Building on @Tywinnn 's idea: given that we cannot reach every open sector (or that we might not want to), it'd be cool if this could be restricted to every sector marked as a focus sector. In other words, the webhook is triggered any time a focus sector opens up. This should count for any focus sector and should not require me to create a separate entry for each sector.
  • Building on this further, is it possible to trigger an event say a minute or two before a sector opens up (=> "Sector xxx is about to open up. All hands on deck!")

Bozer-der-Barbar avatar Nov 24 '22 17:11 Bozer-der-Barbar

I would also add to Tywinnn that it would be nice not only to trigger an alarm if the sector is unlocked. It would also be nice to add an info message maybe some minutes bevor the sector opens, such that all members are ready. This could be combined with the GG alarms, such that these sectors are then a trigger for that tool.

VirusBot avatar Nov 24 '22 20:11 VirusBot

Multiple trigger event options for the GBG Discord webhook, e.g.:

When an enemy is X points away from conquering your province, FoE webhook will post an announcement containing "customizable content".

Beta-Wolf avatar Nov 24 '22 21:11 Beta-Wolf

A button to duplicate webhooks would be nice as we need to make one for each province at the moment (which I don't really get).

While we're at it, maybe add an 'all provinces' option.

Beta-Wolf avatar Nov 24 '22 21:11 Beta-Wolf

A test button : In order to check if all works as expected, especially the URL and message.

RemyVissyrias avatar Nov 26 '22 18:11 RemyVissyrias

A combination with alarms would be interesting. Alarm-System could also trigger messages into Discord. e.g i am setting an alarm for me when province opens up, as a battle general i would like to inform into discord as well.

sdn-br avatar Nov 28 '22 13:11 sdn-br

Hi, I am currently figuring this out, but it seems to not be working? Should I fill in the name of the webhook at name? or a new name? Can one webhook have multiple of these entries? Is a message sent also when the sector is already open?

EDIT: it would be nice to have the message 1-2 mins before the sector opens up

denisebuilder avatar Dec 01 '22 11:12 denisebuilder

i want ingame messagesinto discord

CrepsMan avatar Mar 18 '24 21:03 CrepsMan