ᴍɪɴᴇᴄʀᴀꜰᴛʀᴇꜱᴏᴜʀᴄᴇꜱ

SpaceServe Config

Modrinth

Simple, Kotlin centric, config api

541 downloads2 followersUpdated 5y ago

0.2.0 · MC 1.17 · Fabric

View on Modrinth

Files

  • 0.2.0

    beta

    Serializers o' Plenty

    1.17fabric

    2021-06-18 · 359 downloads

    config-0.2.0.jar · 54 KB

  • 0.1.1

    beta

    SpaceServe Config Initial Release

    1.17fabric

    2021-06-16 · 184 downloads

    config-0.1.1.jar · 21 KB

Files are delivered unmodified from Modrinth's servers and verified against the SHA-512 hash published by the project. The project's license applies to every file; check it before redistributing.

About

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")
}