Download Simple Config API [Discontinued] — Minecraft Mods — MetaMods

Simple Config API [Discontinued]

Active

Downloads

19

Last update

1 year ago

Versions

1.20 — 1.20.4
Client and server
Fabric
Forge
Neoforge
Quilt
Libraries
Control
Utils

Simple Config API

A simple and convenient library for working with configuration files in Minecraft mods, built on the NightConfig library. Supports Fabric, Quilt and Neo/-Forge.

Main Features

The system allows saving various data types: integers, floating-point numbers, strings and boolean values. All parameters can be organized into categories for better structure. Explanatory comments can be added for each category and individual value. A function for checking values against a specified range is also implemented.

The library was originally developed for multi-platform projects but works perfectly for mods using only one loader. The built-in mechanism automatically corrects invalid or corrupted entries in configuration files.

Development Plans

Future versions plan to expand support for additional data types to increase configuration flexibility.

Information for Developers

Latest Version: 0.3.0

Supported Versions:

  • Fabric 1.20 - 1.20.4
  • Forge 1.20 - 1.20.4
  • NeoForge 1.20.1 - 1.20.4

Adding Simple Config API to Your Project

repositories {
    maven {
      name = "xStopho Mods"
      url = "https://raw.githubusercontent.com/Stein-N/resources/main/maven"
    }
}
dependencies {
    implementation "xstopho.simpleconfigapi:simpleconfigapi-common:<version>"
    implementation "xstopho.simpleconfigapi:simpleconfigapi-fabric:<version>"
    implementation "xstopho.simpleconfigapi:simpleconfigapi-forge:<version>"
    implementation "xstopho.simpleconfigapi:simpleconfigapi-neoforge:<version>"
}
Project members
xStopho

xStopho

Developer

Created: 28 Dec 2023

ID: 7684