Arma 3
Discord Rich Presence
75 Comments
Jason Jan 10 @ 6:11am 
Is it possible to update the Application ID details without being in the mission init or similar? Possibly looking to load it through console or maybe through another init script on the server. It appears you cannot change the Application ID using the function?
C4 Apr 18, 2023 @ 4:50pm 
+rep
Connor  [author] Oct 3, 2022 @ 8:45pm 
That is correct. A full setup guide is available at the developer information link in the description above
Jay Oct 3, 2022 @ 4:07pm 
Okay and I just need to follow what is on the video and drop the file name description.ext in the mission folder right ?
Connor  [author] Oct 3, 2022 @ 4:00pm 
No, it is client side only
Jay Oct 3, 2022 @ 9:48am 
Do we have to install this mod on server ?
Connor  [author] Aug 25, 2021 @ 4:29pm 
Yes it is
ephealtun Aug 25, 2021 @ 5:53am 
Is it possible to use this as an optional mod?
Connor  [author] Aug 5, 2021 @ 4:52pm 
You dont need to modify this mod to do that. Just use the function provided to change the displayed information.
https://gist.github.com/ConnorAU/b44448714e7ac46715d6959be8dd4240#update-function
Hawkins Aug 5, 2021 @ 2:30pm 
Do you mind if we modify and reupload this with a modified version for our unit? I'm hoping to change it to show a users role (from our extDB3), current action, etc in the status.
Connor  [author] May 3, 2021 @ 2:04pm 
Not sure what you mean?
TekOniX May 3, 2021 @ 8:04am 
Hi...
Do you have some Discord Whitelisted scripts for ARMA III ?
Connor  [author] Apr 21, 2021 @ 4:37pm 
This mod isn't supposed to do anything specific like that. It provides the ability for you to build upon it to show what ever information you like. What you describe is most certainly possible, you'd just need to write it yourself and use the update function in this mod to set the new information.
footman Apr 21, 2021 @ 7:16am 
would be cool if u could add pointers to the script to show like
"in combat, low ammo, low health" for example
VoodooMonkey Jan 7, 2021 @ 2:15pm 
Figured it'd be a bit of work. Would be interesting, but yeah, sounds fairly in depth. Appreciate your thoughts on the matter. Cheers :)
Connor  [author] Jan 6, 2021 @ 9:00pm 
I don't know of any existing mods that do this, and it wouldn't work the way this mod does, but theoretically it could be done after a fair bit of work.

Off the top of my head I'd say you need a method of associating a player's steamid64 with their discord id (admin controlled server side db perhaps), a server side extension to send requests from the arma server, and a discord bot to receive the requests and perform the action. The bot should be able to move the user in discord if they are already in a voice channel on your server, i think.

That's the gist of it anyway. Making a method for sending/receiving messages would probably be the most complicated part.
VoodooMonkey Jan 6, 2021 @ 8:13pm 
Awesome mod man, cheers! Are you aware if there a way for an Arma mod to change a client's voice channel? I'm not looking for 3d sound, that'll come eventually - I'm just looking for a way to be able to have a mission set player's channels dynamically. Cheers :)
TheNightstalk3r Nov 4, 2020 @ 12:40pm 
Apologies, I thought it already had some CBA settings. Any sort of client-only toggle would be amazing!
Connor  [author] Nov 4, 2020 @ 12:37pm 
You make a valid point. I will look at adding some form of client side toggle, but not in a way where cba becomes a dependency.
TheNightstalk3r Nov 4, 2020 @ 10:26am 
I love the mod you've made, however I do have one humble request;

Could you set the CBA settings that enable/disable the mod's communication with Discord to only accessible for clients/users, not something that can be forced by server/mission?

I know that the other way to not be a free advertisement banner to a unit/clan/community that sets this mod as mandatory to play, is to disable Game Activity in Discord or delete the DLL files in the mod, but it's a bit of a work-around. I feel that such measures would be unnecessary if a server administrator or mission maker would not be able to enforce the communication with Discord in the first place.

If it is not impossible with the current implementation, I fully understand.
Connor  [author] Jul 16, 2020 @ 3:54pm 
developer documentation is linked in the description above. the base functionality uses the same set up for any type of mission. you can script additional/dynamic info updates using the function mentioned in the documentation.
Nicoco Jul 16, 2020 @ 1:31am 
Hello, do you have a document for installing the script on altis life server?
Connor  [author] Jul 10, 2020 @ 3:49pm 
I'm not sure what is going wrong. It is working fine for me.
Shadblade5 Jul 7, 2020 @ 12:49am 
So ive done what you have suggested and it hasnt seemed to work. Its also not even showing player count for a client that is connected, so im really not sure what im doing wrong.
Connor  [author] Jul 6, 2020 @ 10:00pm 
you would need to set the max party size otherwise i dont think itl show up on discord, and run that script in a loop with a delay so it periodically updates the value on discord.
Shadblade5 Jul 6, 2020 @ 4:28pm 
So ive been messing around with it to work on the server-side and cant quite get it to work. Do i need to change a specific property in my description.ext for it to show properly? I have the
[
["UpdatePartySize", count playableUnits]
] call (missionNamespace getVariable ["DiscordRichPresence_fnc_update", {}]);
inside my init.sqf but doesnt seem to change anything.
Help would be much be appreciated
Connor  [author] Jul 2, 2020 @ 3:59pm 
It should work on a server. As long as the update function is executed on a machine that is running discord. So in this case executing the code on the server would update the discord account that is active on the server machine.
Shadblade5 Jul 2, 2020 @ 12:53pm 
Okay, do you know if it would work from the server side? Im wanting to have the discord account running on my server display player count. Would it work or does that function require a client?
Connor  [author] Jul 2, 2020 @ 2:34am 
You will need to use a small sqf script to update the rich presence info. Check the "Update Function" section of the developer info linked above for how to send an update.
Shadblade5 Jul 2, 2020 @ 12:51am 
Im looking to include the amount of players on the server. What would I include in my description.ext to do that?
Connor  [author] Apr 11, 2020 @ 4:12pm 
@PineCone227 I can't seem to replicate the issue. This mod keeps to itself, so it is extremely unlikely it would be the direct cause of your troubles. The only thing I can think of (though its also unlikely) is a load order issue, so if you try changing the order your mods load that might make a difference. Otherwise I really don't know, sorry.
Connor  [author] Apr 11, 2020 @ 7:32am 
Weird, I'll give it a look tomorrow. Thanks for letting me know.
PineCone227 Apr 11, 2020 @ 7:23am 
I meant your mods update. That's weird. Anyhow there is some issue causing ZEN [zeus enhanced] interface to not work when discord rich presence is loaded. Ill be honest, im not 100% certain it's your mod causing it, because it seems like the issue has a different source each time it happens. But unloading this mod is the current solution. Somehow.
Connor  [author] Apr 11, 2020 @ 6:06am 
@PineCone227 which latest update? mine, arma's or discord's? All my update did was add a string to an array.
PineCone227 Apr 11, 2020 @ 5:39am 
The latest update unfortunately rendered it incompatible with some other mods causing the zeus interface to stop working :/
Chakat Cloudseeker Mar 24, 2019 @ 5:51pm 
Very nice to hear that.
diveyez Mar 24, 2019 @ 3:32am 
Discord experimental codec's have the 3d sound support planned for this summer.
Chakat Cloudseeker Mar 3, 2019 @ 4:26pm 
Still, your point stands, Discord does need to crack down on that.
Chakat Cloudseeker Mar 3, 2019 @ 4:25pm 
How the hell would a Discord server admin get their hands on your personal information unless, you had publicly shared it somewhere (like on your Facebook profile) and had it linked to your Discord? In which case it's the person's own damn fault for not practicing good OPSEC and keeping their personal information, ya know personal .
lobotomy Mar 2, 2019 @ 4:43pm 
We also need to ban furrie admins that are selling our personal information on discord (for real,there was drama about that )
Chakat Cloudseeker Nov 7, 2018 @ 8:43am 
@Big Dawg: ACRE2 has the same issue that Task Force Radio does with Discord, and this being that Discord doesn't support 3D sound. It's something that Discord really should add, but I have no idea why they haven't yet.
LasorGamer Nov 3, 2018 @ 2:10pm 
we need to spam discord headquaters. This is... THIS IS SERIOUS STUFF HERE!!!
Connor  [author] Nov 3, 2018 @ 2:43am 
Unfortunately that isn't possible until discord adds support for 3D sound like teamspeak has.
LasorGamer Nov 2, 2018 @ 7:43pm 
Now we just need a Task Force Radio Discord supportability update or mod
Jimmy MaRango Oct 11, 2018 @ 11:07pm 
Great mod
Zelenskyy Sep 7, 2018 @ 5:27pm 
I have scanned it with malwarebytes Premium It is safe.
Dary Sep 3, 2018 @ 10:52am 
Ples convert ACRE2 onto discord :( :) :/
Sfekke Sep 3, 2018 @ 3:46am 
Hey, that's pretty good :otrv:
Wyqer Sep 3, 2018 @ 12:35am 
Looks really nice and works out of the box.
The provided functionalities for mission creators are very easy to use and provide a huge variety of uses.
Well done in my opinion.
Bianquinha 1V9 ㋡ Sep 2, 2018 @ 7:37pm 
bem loko