Плагины/SpaceServe Config
SpaceServe Config

SpaceServe Config

Simple, Kotlin centric, config api

360
2

SpaceServe Config API

A super simple to use api that uses kotlinx serialization and Kotlin data classes. Simply make a data class that implements IConfigure, and all the necessary methods are right there for you. Saving, loading, and resetting the config are simple and documented method calls. Custom serializers are available for Minecraft's complex types; currently available are: Block, Enchantment, Identifier, Item, Text

Add to your project

repositories {
    maven { 
        name = "Modrinth"
        url = uri("https://api.modrinth.com/maven")
    }
}

dependencies {
    // Config
    modImplementation("maven.modrinth:config:0.1.1")
    include("maven.modrinth:config:0.1.1")
}

Совместимость

Minecraft: Java Edition

1.17

Платформы

Поддерживаемые окружения

Клиент и сервер

Детали

Лицензия:LGPL-3.0-only
Опубликован:4 года назад
Обновлён:4 года назад
Главная