Arma 3
Discord Rich Presence
75 kommenttia
Jason 10.1. klo 6.11 
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?
Kedi 18.4.2023 klo 16.50 
+rep
Connor  [tekijä] 3.10.2022 klo 20.45 
That is correct. A full setup guide is available at the developer information link in the description above
JaySOC 3.10.2022 klo 16.07 
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  [tekijä] 3.10.2022 klo 16.00 
No, it is client side only
JaySOC 3.10.2022 klo 9.48 
Do we have to install this mod on server ?
Connor  [tekijä] 25.8.2021 klo 16.29 
Yes it is
ephealtun 25.8.2021 klo 5.53 
Is it possible to use this as an optional mod?
Connor  [tekijä] 5.8.2021 klo 16.52 
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 5.8.2021 klo 14.30 
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  [tekijä] 3.5.2021 klo 14.04 
Not sure what you mean?
TekOniX 3.5.2021 klo 8.04 
Hi...
Do you have some Discord Whitelisted scripts for ARMA III ?
Connor  [tekijä] 21.4.2021 klo 16.37 
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.
interceptor 21.4.2021 klo 7.16 
would be cool if u could add pointers to the script to show like
"in combat, low ammo, low health" for example
VoodooMonkey 7.1.2021 klo 14.15 
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  [tekijä] 6.1.2021 klo 21.00 
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 6.1.2021 klo 20.13 
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 4.11.2020 klo 12.40 
Apologies, I thought it already had some CBA settings. Any sort of client-only toggle would be amazing!
Connor  [tekijä] 4.11.2020 klo 12.37 
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 4.11.2020 klo 10.26 
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  [tekijä] 16.7.2020 klo 15.54 
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 16.7.2020 klo 1.31 
Hello, do you have a document for installing the script on altis life server?
Connor  [tekijä] 10.7.2020 klo 15.49 
I'm not sure what is going wrong. It is working fine for me.
Shadblade5 7.7.2020 klo 0.49 
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  [tekijä] 6.7.2020 klo 22.00 
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 6.7.2020 klo 16.28 
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  [tekijä] 2.7.2020 klo 15.59 
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 2.7.2020 klo 12.53 
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  [tekijä] 2.7.2020 klo 2.34 
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 2.7.2020 klo 0.51 
Im looking to include the amount of players on the server. What would I include in my description.ext to do that?
Connor  [tekijä] 11.4.2020 klo 16.12 
@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  [tekijä] 11.4.2020 klo 7.32 
Weird, I'll give it a look tomorrow. Thanks for letting me know.
PineCone227 11.4.2020 klo 7.23 
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  [tekijä] 11.4.2020 klo 6.06 
@PineCone227 which latest update? mine, arma's or discord's? All my update did was add a string to an array.
PineCone227 11.4.2020 klo 5.39 
The latest update unfortunately rendered it incompatible with some other mods causing the zeus interface to stop working :/
Chakat Pineheart 24.3.2019 klo 17.51 
Very nice to hear that.
diveyez 24.3.2019 klo 3.32 
Discord experimental codec's have the 3d sound support planned for this summer.
Chakat Pineheart 3.3.2019 klo 16.26 
Still, your point stands, Discord does need to crack down on that.
Chakat Pineheart 3.3.2019 klo 16.25 
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 .
Yodar 2.3.2019 klo 16.43 
We also need to ban furrie admins that are selling our personal information on discord (for real,there was drama about that )
Chakat Pineheart 7.11.2018 klo 8.43 
@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 3.11.2018 klo 14.10 
we need to spam discord headquaters. This is... THIS IS SERIOUS STUFF HERE!!!
Connor  [tekijä] 3.11.2018 klo 2.43 
Unfortunately that isn't possible until discord adds support for 3D sound like teamspeak has.
LasorGamer 2.11.2018 klo 19.43 
Now we just need a Task Force Radio Discord supportability update or mod
Jimmy MaRango 11.10.2018 klo 23.07 
Great mod
` 7.9.2018 klo 17.27 
I have scanned it with malwarebytes Premium It is safe.
Dary 3.9.2018 klo 10.52 
Ples convert ACRE2 onto discord :( :) :/
Sfekke 3.9.2018 klo 3.46 
Hey, that's pretty good :otrv:
Wyqer 3.9.2018 klo 0.35 
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 ㋡ 2.9.2018 klo 19.37 
bem loko