SpongeConfigManager

Manages configurations using Sponge's Configurate library, including loading, saving, and reloading configurations. Supports multiple formats, including YAML and JSON.

Parameters

C

The type of the configuration class.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The current configuration instance.

Functions

Link copied to clipboard

Reloads the configuration from the file. If loading fails, the current configuration remains unchanged.

Link copied to clipboard
fun save()

Saves the current configuration to the file.