Configs

object Configs

Functions

Link copied to clipboard
operator fun get(id: String): Provider<CommentedConfigurationNode>
operator fun get(id: Key): Provider<CommentedConfigurationNode>
operator fun get(addon: Addon, path: String): Provider<CommentedConfigurationNode>
Link copied to clipboard
fun getOrNull(id: String): CommentedConfigurationNode?
fun getOrNull(id: Key): CommentedConfigurationNode?
Link copied to clipboard
fun registerSerializers(addon: Addon, serializers: TypeSerializerCollection)

Registers custom serializers for configs of addon.

Link copied to clipboard
fun save(id: String)
fun save(id: Key)