Resource Config API

Resource Config API

Mod

Config API mainly for my Mods

Client and server LibraryManagement

205 downloads
1 follower
Created3 months ago
Updateda month ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Title Header

This Config API is based on the NightConfig Library and is very basic. It doesn't have fancy Features, simply create Config Files and save your values in it.

It is downloadable on Curseforge and Modrinth.

This API is basically Simple Config API but renamed to fit my other Mods and with more Features and Datatypes.

Features:

  • Save different Datatypes
    • Primitive: Integer, Double, String, Boolean
    • Reference: List, ArrayList, LinkedList
  • Values and Categories can be commented
  • Values can be defined in Range
  • Custom Config Path
  • Designed for Multi-Loader Projects
  • Autocorrection of invalid or corrupt Config Values

Planned:

  • Support more Datatypes
  • Translatable Comments
    • will be defined through the lang file

For Developer:

Latest Version: 1.20-1.1.0

Available for:

  • Fabric 1.20 -> latest
  • Forge 1.20 -> latest (will be dropped with 1.21)
  • NeoForge 1.20.4 -> latest

Note:

  • Float, Long, Short, Byte and Char can't be supported due to parsing incompatibilities.
  • Quilt will not get a dedicated version, use the Fabric Version instead.
Adding Resource Config API to your Project
    repositories {
        maven {
          name = "xStopho Mods"
          url = "https://raw.githubusercontent.com/Stein-N/resources/main/maven"
        }
    }

When you want to use this API in a Quilt Project u have to use the Fabric version.

    dependencies {
        implementation "xstopho.resource-config-api:resource-config-api-common:{major_minecraft_version}+{api_version}"
        implementation "xstopho.resource-config-api:resource-config-api-fabric:{major_minecraft_version}+{api_version}"
        implementation "xstopho.resource-config-api:resource-config-api-forge:{major_minecraft_version}+{api_version}"
        implementation "xstopho.resource-config-api:resource-config-api-neoforge:{major_minecraft_version}+{api_version}"
    }

External resources



Project members

xStopho

Member


Technical information

License
MIT
Client side
required
Server side
required
Project ID