Skip to content

Configuration system

Bogdan T edited this page Jan 27, 2024 · 15 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 AtumMod instance.

How to save&reload configs?

Use ConfigManager in AtumMod

image

Hey! Where the Config#getConfigurationSection method?!

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

Advanced

Clone this wiki locally