Comments (11)
Having multi device support would be based on these 2 assumptions first of all:
- both devices have BetterDiscord
- both devices have this plugin running
but based on current implementation, if you go AFK from device 1 and your status changes to idle but then come back online on device 2, the plugin on device 2 would detect that the status is idle (or whatever afk status you have set) but was not changed by plugin on device 2 so it'll leave it as it is. If you go back to device 1 then your AFK would be removed.
To have both the plugin installations synced, the data stored by plugins would need to be stored somewhere remote which both plugins can access. Like how discord stores your settings (like current status, bio etc) on their servers.
Theoretically there could be 2 ways to achieve that:
- either by storing plugin data on discord servers which I believe is not a possibility for BetterDiscord plugins.
- or by utilising some 3rd party service like Github Gists or pastebin, but as far as I know it could go against BetterDiscord's plugin policy though i may have to check on that. Even if it wasn't, then users would have to provide their Gist/pastebin URLs and authorisation tokens.
2nd option could be a limitation for me if I want to keep my plugin on BD website published and a hassle for other users, but if you have some coding experience and want to spend the time developing multi device support, then you can create a fork of this repo and create your own version of the plugin implementing the 2nd option.
I won't be implementing this feature for the time being, but if I learn in the future method 1 is possible, I would look into implementing this request.
from betterdiscordplugin-autoidleonafk.
Thank you for the detailed response. What you said makes sense, however, instead of requiring the clients to sync data, could there be an option to change from idle to online no matter what, even if the idle status didn’t originate from that client? If you still would rather not implement this I understand. Thanks!
from betterdiscordplugin-autoidleonafk.
i could add one option "keep track of status changes made by plugin" which when turning off would fall back to the behavior you describe.
though adding that would take time.
from betterdiscordplugin-autoidleonafk.
If I get some time today I’ll see if I can implement it. Thank you again.
from betterdiscordplugin-autoidleonafk.
from betterdiscordplugin-autoidleonafk.
FYI, just reading this: I wonder if you couldn't sync it across clients by changing the user's status message with an invisible character, like the zero-width space. If you append this to the user's status message whenever AFK is activated, then the plugin could put the user back online whenever it detects that character (and remove the invisible character), because the assumption will be that the plugin on another computer changed the user's status.
from betterdiscordplugin-autoidleonafk.
Would be more work but I would think the about me would be a more feasible option. One other way is how they do usrbg and try that route with alm the accounts and the plugins hook into a master like with everyone's ID's and status and data needed for it to work.
from betterdiscordplugin-autoidleonafk.
Would be more work but I would think the about me would be a more feasible option. One other way is how they do usrbg and try that route with alm the accounts and the plugins hook into a master like with everyone's ID's and status and data needed for it to work.
About Me might be better since adding a zero-width space to status message might create a blank status if none already exists. But wherever it's added, I think it's an option to sync the AFK status across computers without using a separate server.
from betterdiscordplugin-autoidleonafk.
I like this idea of encoding afk data in the bio/about me.
Obviously, i won't be able to implement this for the time being, but for a major release I would keep this in mind
from betterdiscordplugin-autoidleonafk.
It does sound good, but what are the chances discord either catches on, or simply disallows these kinds of characters in bios?
from betterdiscordplugin-autoidleonafk.
It does sound good, but what are the chances discord either catches on, or simply disallows these kinds of characters in bios?
now that you bring this up, it does remind me that I read in the BD server that certain APIs are expected to be used more, some are not, so "automating" the latter ones could have your account flagged.
Like changing your user status many times a day is okay but changing your about me/bio frequently could be sus at best.
so i guess current solution is sufficient for the time being.
from betterdiscordplugin-autoidleonafk.
Related Issues (20)
- Addon Error: Could Not Be Constructed HOT 2
- "Object" Messing with code HOT 3
- [NOTICE] Redownload if you're facing construction/compile error HOT 1
- Custom status text and emote removed when state changes HOT 2
- [FIXED] Plugin does not work / compilation error HOT 8
- AutoidleOnAFK Won't Open, and gave me an error message HOT 1
- most plugin setting options aren't visible anymore HOT 2
- Question HOT 1
- [Feature request] Set custom timeout value through BD plugin settings
- Sliders for timeout settings appear as volume icons, can't be edited HOT 2
- [REQUEST] AutoIdleAFK HOT 5
- afk on vc HOT 9
- Crash discord when changed from afk to online HOT 3
- Plugin Not Working HOT 10
- don't go afk when doing an activity HOT 2
- add error handling if modules to change status are not found when discord breaks something in the future
- [REQUEST] mute/deafen/disconnect from VC when AFK HOT 1
- [Request] Lower AFK timeout value, starting from 1 minute HOT 1
- [REQUEST] Turn on DnD in VC HOT 2
- [feature request] Remove AFK when online on mobile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterdiscordplugin-autoidleonafk.