getCurrentPath

Gets the path of this ConfigurationSection from its root

For any Configuration themselves, this will return an empty string.

If the section is no longer contained within its root for any reason, such as being replaced with getClassById different value, this may return null.

To retrieve the single name of this section, that is, the final part of the path returned by this method, you may use getName.

Return

Path of this section relative to its root