I recommend against a plugin here.
Instead submit a PR to add a GlobalSetting (which is backed by environment)