-
This is a simple yet useful library for adding a server side config system to your mod. This library will not provide a config system that shows up in the game GUI. The library will provide config's .ini file in the config folder. The current library has no means to provide config system per world. Players don't need to install this library as a separate mod.
This library is using repsy for maven publishing system. Follow the guideline bellow to make dependency for your mod. This library is depending on JiLogger Library so you should add it to your main mod too.
First you need to add the maven to your build.gradle
repositories:
repositories
{
mavenCentral()
maven { url 'https://repo.repsy.io/mvn/jiraiyah/jilibs' }
}
then you need to add the dependency into your dependency section in build.gradle
dependencies
{
modImplementation include("jiraiyah.logger:jilogger:${jilogger_version}")
modImplementation include("jiraiyah.config:jiconfig:${jiconfig_version}")
}
Finally, we need to add an entry inside gradle.properties
using the version from the maven repository. The version should look like x.x.x-MCx.x.
x for sub versions of Minecraft, and for the main versions of the game it should be like x.x.x-MCx.x
Look into MAVEN REPOSITORY for the proper versioning. Look into JiLogger REPOSITORY for the proper versioning.
jiconfig_version=x.x.x
jilogger_version=y.y.y
Alireza Khodakarami |
[email protected] |
🔥🔧 |
Licensed under MIT.