YAMLib icon

YAMLib -----

A library to read and write configuration files in yaml format. Uses snake yaml engine.



Add YAMLib or SpigotYAMLib as a dependency:

Option 1 (shaded)
Add dependency:
HTML:
<dependency>
    <groupId>io.github.pigaut.yamlib </groupId>
    <artifactId>YAMLib </artifactId>
    <version>1.0 </version>
    <scope>compile </scope>
</dependency>
or
HTML:
<dependency>
    <groupId>io.github.pigaut.yamlib </groupId>
    <artifactId>SpigotYAMLib </artifactId>
    <version>1.0 </version>
    <scope>compile </scope>
</dependency>

Shade and relocate:
HTML:
<plugin>
    <groupId>org.apache.maven.plugins </groupId>
    <artifactId>maven-shade-plugin </artifactId>
    <version>3.6.0 </version>
    <executions>
        <execution>
            <phase>package </phase>
            <goals>
                <goal>shade </goal>
            </goals>
        </execution>
    </executions>
        <configuration>
            <relocations>
                <relocation>
                    <pattern>io.github.pigaut.yamlib </pattern>
                    <shadedPattern>YOUR.PACKAGE.yamlib </shadedPattern>
                </relocation>
            </relocations>
    </configuration>
</plugin>
Option 2 (provided)

Add dependency:
HTML:
<dependency>
    <groupId>io.github.pigaut.yamlib </groupId>
    <artifactId>SpigotYAMLib </artifactId>
    <version>1.0 </version>
    <scope>provided </scope>
</dependency>
Update depends in plugin.yml:
Code (YAML):
depends : [YAMLib ]
Resource Information
Author:
----------
Total Downloads: 15
First Release: Oct 25, 2024
Last Update: Oct 25, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings