Skip to content

Latest commit

 

History

History

yaml-bukkit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Okaeri Configs | Bukkit

An example plugin is available in bukkit-example. For more real-life usage examples see okaeri-minecraft repository.

Installation

Maven

Add repository to the repositories section:

<repository>
    <id>okaeri-repo</id>
    <url>https://storehouse.okaeri.eu/repository/maven-public/</url>
</repository>

Add dependency to the dependencies section:

<dependency>
  <groupId>eu.okaeri</groupId>
  <artifactId>okaeri-configs-yaml-bukkit</artifactId>
  <version>5.0.6</version>
</dependency>

Additionally if you want to serialize/deserialize supported bukkit objects:

<dependency>
  <groupId>eu.okaeri</groupId>
  <artifactId>okaeri-configs-serdes-bukkit</artifactId>
  <version>5.0.6</version>
</dependency>

Gradle

Add repository to the repositories section:

maven { url "https://storehouse.okaeri.eu/repository/maven-public/" }

Add dependency to the maven section:

implementation 'eu.okaeri:okaeri-configs-yaml-bukkit:5.0.6'

Limitations

  • Comments do not work on the elements of Collection or Map.

Usage

Please use YamlBukkitConfigurer as your configurer:

new YamlBukkitConfigurer()

For serializers/deserializers/transformers use:

new SerdesBukkit()