0 votes

How do I access the list of a project's available plugins in a tool script?
My goal is to create an editor plugin with a docked control that lists all the available plugins and allows the user to toggle their status, just like the standard plugin setting screen but in a docked panel for quick access (so I can test another plugin without opening that).
I searched the docs and a few help forums, but I'm still not sure where that's exposed, if it is at all.

Godot version 3.2.3
in Engine by (674 points)

Of course, one option is to just parse every .cfg file

1 Answer

+1 vote
Best answer

Nope I don't think its exposed. I think the engine just goes trough the addons folder looking for plugin.cfg files. Nothing you cant do in gdscript.

by (252 points)
selected by

I started writing one and remembered the Asset Library.
https://github.com/godot-extended-libraries/godot-plugin-refresher (I have not tried this quite yet, just posting for future searchers. No reason to believe it won't work)
Glad I looked as well; learned about the native ConfigFile class. I had been writing my own parser.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.