Custom Plug-In Tab - saving values

Godot Version

Godot 4.3

Question

I’m working on a plugin/addon for Godot and am currently trying to setup the main editor tab for it.

I have a few basic fields where the user can enter values.
What would be the best way to save these values / make them accessible for the code when running?

image

For example if I have a checkbox that activates logging to console:

  • whats the best practice of accessing this boolean from my various scripts?
  • How can I make sure the projects saves if the user has this checked on or not (when closing/opening Godot) ?

Thanks in advance