PDA

View Full Version : Discord Integration



jharp
December 11th, 2025, 01:11
I'm contemplating creating a Discord Integration mod and wanted to poll the community for their needs/desires/dreams of such integration.

Before I go too far I want to know if anyone actually cares for such a mod.

Thanks,
Jason

Zacchaeus
December 11th, 2025, 08:43
What do you mean by a Discord integration mod?

LordEntrails
December 11th, 2025, 14:30
I'd be interested. Not sure I would buy/use it though. I'm interested in using sounds, but I won't pay for a Syrinscape subscription (because I'm not convinced I or my players would like it enough, plus I strongly resist subscriptions).

A couple of things that I think would make it more attractive to me;
- linked to a bot or such so that each player can control the sounds. Maybe even one for sound effects and one for ambient sounds.
- ability to create my own sound triggers. i.e. I'm using my own ruleset, so have different chat for actions I would want to be the triggers
- Ability to use my own/local sound sets
- Ability to link to free online sound sets (are such even available?)
- Link to Spotify for ambient sounds would be great since I pay for that
- idiot resistant set up, because that's me!

jharp
December 11th, 2025, 15:39
What do you mean by a Discord integration mod?

In the truest sense, like many other apps have discord integration. This would start with simple rich presence and then start to include other features.

Still planning so here are some ideas off the top of head...

Chat window to discord chat; and reverse. Don't know (yet) if possible both ways.
Shared entry text to discord.
LUA API

Gladly accepting ideas, desires, wishes, and needs.

Jason

LordEntrails
December 11th, 2025, 16:18
Ah, so not just sound.

I could see a Chat to Discord text. Especially if you did things like scrub the chat and divide it into different content/context. So you could have a chat and action (speaker text and combat actions and results) log go to one channel, while administrative (stuff added to inventory, level up, etc) go to another channel (or thread). And then shared text to a different channel/thread. Maybe even something where everything goes to the Discord text channel, but then gets separated as above into various threads.

Discord voice to a text play log. Maybe even include AI summarization. Though that's not really related to FG, it would be great to capture one master text campaign log. And then to integrated that voice log into the above chat lots format.

sirkerry
December 11th, 2025, 16:42
I'd love to see such a mod/ext and would purchase it one was made. The chat integration would be the bare minimum for my interest. The sound stuff LordEntrails posted would be a very nice alternative to Syrinscape to have.

jharp
December 12th, 2025, 13:34
Well I can report that I have managed to connect FG to Discord such that it issues a security check request and upon agreement connects and updates the rich presence information.


[Info : Unity Log] [12/12/2025 5:29:33 AM] Connecting
[Info : Unity Log] [12/12/2025 5:29:33 AM] Default Scope - openid sdk.social_layer
[Info : Unity Log] [12/12/2025 5:30:11 AM] Authorization result: [] [xxx] [http://127.0.0.1/callback]
[Info : Unity Log] [12/12/2025 5:30:12 AM] Token received: xxx.xxx
[Info : Unity Log] [12/12/2025 5:30:12 AM] Status changed: Connecting
[Info : Unity Log] [12/12/2025 5:30:13 AM] Status changed: Connected
[Info : Unity Log] [12/12/2025 5:30:14 AM] Status changed: Ready
[Info : Unity Log] [12/12/2025 5:30:14 AM] Friend Count: 14
[Info : Unity Log] [12/12/2025 5:30:14 AM] Rich presence updated!

65980
65981

jharp
December 12th, 2025, 13:37
Ohhh I forgot the most interesting point. This is done thru a new lua api. So other extensions would be able to use this new api to Discord.

Discord.connect
Discord.ringBell << was my testing area... :)

jharp
December 16th, 2025, 01:05
Ah, so not just sound.

I could see a Chat to Discord text. Especially if you did things like scrub the chat and divide it into different content/context. So you could have a chat and action (speaker text and combat actions and results) log go to one channel, while administrative (stuff added to inventory, level up, etc) go to another channel (or thread). And then shared text to a different channel/thread. Maybe even something where everything goes to the Discord text channel, but then gets separated as above into various threads.

Discord voice to a text play log. Maybe even include AI summarization. Though that's not really related to FG, it would be great to capture one master text campaign log. And then to integrated that voice log into the above chat lots format.

LordEntrails,

Do you have any markers currently to denote some of the splitting you are mentioning?
Do you have a discord channel arrangement already that I might see as image (dm is fine too)

I'm able to fundamentally do what is needed but I'm deciding how I might organize the real code to accomplish your suggestions.

Jason

LordEntrails
December 16th, 2025, 18:20
I don't have such yet but we could get together on Discord and if you don't want to do a sample on your server I can set up an example on mine. Let me know a time that works for you. I'm usually available after 6pm EST (UTC -5). Discord user: lordentrails aka LordEntrails#8653

jharp
December 16th, 2025, 18:24
ok for now i'll work on my server and once i have a basic implementation i'll let you know the details for comment / improvement.

Jason

LordEntrails
December 16th, 2025, 18:27
Wa ha ha!
65997
Cthulhu loves you...

jharp
December 17th, 2025, 17:47
Quick update. Testing on the lobby screen here (quicker to reload and retry)

The first image details the login button that will update as it contacts Discord for authorization.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=66003&d=1765993569

The second image shows that connection and populates the list with the users available discord servers.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=66004&d=1765993586


66003
66004

LordEntrails
December 17th, 2025, 17:51
Nice, I hadn't thought about it starting at the launcher :)

jharp
December 22nd, 2025, 20:08
Waiting on feedback from SW. Don't really expect much of a response until the new year, so I've tabled this until then.

Jason

jharp
January 15th, 2026, 16:56
Waiting on feedback from SW. Don't really expect much of a response until the new year, so I've tabled this until then.

Jason

SW was reluctant to allow this mod so i've tabled it for the foreseeable future.

Jason

LordEntrails
January 15th, 2026, 19:46
Understandable. Maybe next year :)

SmackDaddy
January 16th, 2026, 01:07
SW was reluctant to allow this mod so i've tabled it for the foreseeable future.

Jason

Why not?

jharp
January 16th, 2026, 02:56
Why not?

The method of integration requires additions to the FG client itself. So the user would need to place a dll in a particular directory for the mod to work. Such an action could easily be interpreted as a violation of the terms of service that FG requires of you on installation. I had hoped that SW would permit this mod but there desire is to not allow it. There is some slim future possibility that features they are currently implementing will allow such a mod but I'm not holding my breath.

Jason