Is there a convention for ProjectSettings created by a plugin?

Godot Version

4.2

Question

I’m creating a plugin and want to expose some custom settings via ProjectSettings. I understand that these settings are usually set up to look like paths (with the example from the documentation being “application/config/name”) but I’m wondering if there’s an official convention for plugins to use to avoid conflicts.

My first thought was to use “addons/my_plugin_name/config/”. That way, there would only be a conflict if the user tried to install two plugins with the same name (which would already be a problem).

I had a reply on a different website suggesting that my proposal was a reasonable convention to adopt, so I’ve pushed ahead with that. I’m happy with the result (see below) and would recommend this style to other plugin developers.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.