Skip to content

Config API

Phoenix-Ra edited this page Jul 22, 2023 · 4 revisions

Here you will find the information how to take advantage of using the AtumCore configuration api

As you have probably already noticed the library has its own Config class, with more methods to use

Basics

How to create new config file?

AtumAPI.getInstance().createLoadableConfig()

image

It is automatically added to the ConfigManager of the AtumPlugin instance.

How to save&reload configs?

Use ConfigManager

image

Hey! Where the Config#getConfigurationSection method?!

No worries, it has been renamed to a more meaningful name - getSubsection()

Clone this wiki locally