Arma 3
Discord Rich Presence
75 件のコメント
Jason 1月10日 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 2023年4月18日 16時50分 
+rep
Connor  [作成者] 2022年10月3日 20時45分 
That is correct. A full setup guide is available at the developer information link in the description above
JaySOC 2022年10月3日 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  [作成者] 2022年10月3日 16時00分 
No, it is client side only
JaySOC 2022年10月3日 9時48分 
Do we have to install this mod on server ?
Connor  [作成者] 2021年8月25日 16時29分 
Yes it is
ephealtun 2021年8月25日 5時53分 
Is it possible to use this as an optional mod?
Connor  [作成者] 2021年8月5日 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 2021年8月5日 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  [作成者] 2021年5月3日 14時04分 
Not sure what you mean?
TekOniX 2021年5月3日 8時04分 
Hi...
Do you have some Discord Whitelisted scripts for ARMA III ?
Connor  [作成者] 2021年4月21日 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 2021年4月21日 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 2021年1月7日 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  [作成者] 2021年1月6日 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 2021年1月6日 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 2020年11月4日 12時40分 
Apologies, I thought it already had some CBA settings. Any sort of client-only toggle would be amazing!
Connor  [作成者] 2020年11月4日 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 2020年11月4日 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  [作成者] 2020年7月16日 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 2020年7月16日 1時31分 
Hello, do you have a document for installing the script on altis life server?
Connor  [作成者] 2020年7月10日 15時49分 
I'm not sure what is going wrong. It is working fine for me.
Shadblade5 2020年7月7日 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  [作成者] 2020年7月6日 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 2020年7月6日 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  [作成者] 2020年7月2日 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 2020年7月2日 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  [作成者] 2020年7月2日 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 2020年7月2日 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  [作成者] 2020年4月11日 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  [作成者] 2020年4月11日 7時32分 
Weird, I'll give it a look tomorrow. Thanks for letting me know.
PineCone227 2020年4月11日 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  [作成者] 2020年4月11日 6時06分 
@PineCone227 which latest update? mine, arma's or discord's? All my update did was add a string to an array.
PineCone227 2020年4月11日 5時39分 
The latest update unfortunately rendered it incompatible with some other mods causing the zeus interface to stop working :/
Chakat Pineheart 2019年3月24日 17時51分 
Very nice to hear that.
diveyez 2019年3月24日 3時32分 
Discord experimental codec's have the 3d sound support planned for this summer.
Chakat Pineheart 2019年3月3日 16時26分 
Still, your point stands, Discord does need to crack down on that.
Chakat Pineheart 2019年3月3日 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 2019年3月2日 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 2018年11月7日 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 2018年11月3日 14時10分 
we need to spam discord headquaters. This is... THIS IS SERIOUS STUFF HERE!!!
Connor  [作成者] 2018年11月3日 2時43分 
Unfortunately that isn't possible until discord adds support for 3D sound like teamspeak has.
LasorGamer 2018年11月2日 19時43分 
Now we just need a Task Force Radio Discord supportability update or mod
Jimmy MaRango 2018年10月11日 23時07分 
Great mod
` 2018年9月7日 17時27分 
I have scanned it with malwarebytes Premium It is safe.
Dary 2018年9月3日 10時52分 
Ples convert ACRE2 onto discord :( :) :/
Sfekke 2018年9月3日 3時46分 
Hey, that's pretty good :otrv:
Wyqer 2018年9月3日 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 ㋡ 2018年9月2日 19時37分 
bem loko