If there is no module for this (I cannot find it), you, unfortunately, need to implement the settings API in Java. If the Java API is simple, it should not be difficult. Look at the documents and other third-party modules for an example.
source
share