Skip to content

Feat: Disable plugins#850

Merged
EMERALD0874 merged 36 commits intoSteamDeckHomebrew:mainfrom
jessebofill:feat-disable-plugins
Dec 30, 2025
Merged

Feat: Disable plugins#850
EMERALD0874 merged 36 commits intoSteamDeckHomebrew:mainfrom
jessebofill:feat-disable-plugins

Conversation

@jessebofill
Copy link
Contributor

@jessebofill jessebofill commented Nov 23, 2025

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

Description

This pr implements the ability to disable plugins. Pretty self explanatory.

Resolves issue #350

Discussion relating to implementation can be found here for reference. https://discord.com/channels/960281551428522045/1424643765888352339

Additional changes

jessebofill and others added 26 commits October 6, 2025 13:50
* implement base frontend changes necessary for plugin disabling

* implement frontend diisable functions/ modal

---------

Co-authored-by: Jesse Bofill <jesse_bofill@yahoo.com>
Copy link
Member

@EMERALD0874 EMERALD0874 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this seems really good! Have a few minor gripes, but this is awesome work :)

Co-authored-by: EMERALD <hudson.samuels@gmail.com>
@EMERALD0874
Copy link
Member

Approving workflow for testing :)

@LeXofLeviafan
Copy link

@jessebofill the linter is failing; you may want to adjust your formatting in the files which it didn't like.

…Incidentally, will update checks still work with the disabled plugins? A major reason to use this functionality (IMO) is to disable plugins broken by a Steam UI update until they support the changes (instead of uninstalling them); and I'd prefer not having to re-enable the plugin manually every day just to check if it had a fix release since.

@LeXofLeviafan
Copy link

Solves issue #350

You may want to adjust your wording here 🤔

@jessebofill
Copy link
Contributor Author

@jessebofill the linter is failing; you may want to adjust your formatting in the files which it didn't like.

…Incidentally, will update checks still work with the disabled plugins? A major reason to use this functionality (IMO) is to disable plugins broken by a Steam UI update until they support the changes (instead of uninstalling them); and I'd prefer not having to re-enable the plugin manually every day just to check if it had a fix release since.

Yes, they still get checked for updates while a plugin is disabled.

if a request hangs this prevent it from blocking other plugin loads.
backend diaptch_plugin which calls this for individual plugin load (as opposed to batch) is set to 15s.
other callers of importPlugin are not using timeout, same as before.
@ynhhoJ
Copy link
Contributor

ynhhoJ commented Dec 23, 2025

Thanks for PR!
It's a nice feature!

I noticed that while I'm on Plugins tab in Decky Settings, loader (?) send a lot of requests to https://plugins.deckbrew.xyz/plugins which is not very good...

image

In rest, seems that everything works fine.

OS Version: 3.7.17
OS Build: 20251027.1
From installed plugins, I have only SDH-PlayTime.

I disabled it and entered a game, in SharedJSContext, while doing it I didn't notice any log messages or API calls to SDH-PlayTime back-end.
Then I turned off the game, enabled SDH-PlayTime plugin back, entered a game and I got my log messages back.

image

Summary:
Except small DoS attack on https://plugins.deckbrew.xyz/plugins everything works fine.

@jessebofill
Copy link
Contributor Author

jessebofill commented Dec 24, 2025

I noticed that while I'm on Plugins tab in Decky Settings, loader (?) send a lot of requests to https://plugins.deckbrew.xyz/plugins which is not very good...

image

I was able to confirm this. I didn't notice it before because it's only in verbose logs. I'll have to look into it.

@jessebofill
Copy link
Contributor Author

I noticed that while I'm on Plugins tab in Decky Settings, loader (?) send a lot of requests to https://plugins.deckbrew.xyz/plugins which is not very good...

Ok I pushed the fix for this.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Dec 27, 2025

@jessebofill , can confirm that last commit fixed the issue!

Thanks!

Copy link
Member

@EMERALD0874 EMERALD0874 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sent a message to our dev team asking if anyone else wants to look at the code before a merge since I'm not super familiar with Decky Loader's backend code. Assuming there are no issues, this should be merged within the next 24 hours.

@EMERALD0874 EMERALD0874 merged commit 9f586a1 into SteamDeckHomebrew:main Dec 30, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants