Deleted icon

Deleted -----

Deleted



JSONConfigAPI - is the easiest way to create JSON-configuration in absolutely any BukkitAPI plugin.

Installing on the server
In order to install the API you just need to put the .jar file to the directory of plugins on your server (/plugins). The API will be automatically installed on startup/reboot the server.

Available versions: 1.13.X, 1.14.X, 1.15.X, 1.16.X, 1.17.X; 1.18; 1.18.1; 1.18.2. Of: Bukkit, Spigot, Paper, and other forks.


Installing in the project
Note that for the API to work in a project, an instance must be installed on the server.
Code (YAML):
<dependency >
   <groupId>n2k_.jcapi</groupId >
   <artifactId>JSONConfigAPI</artifactId >
   <version>1.0.1</version >
</dependency>
Code (YAML):
<repository >
  <id>JSONConfigAPI-mvn-repo</id >
 <url>https://raw.github.com/neros2k/JSONConfigAPI/mvn-repo/</url >
  <snapshots >
      <enabled>true</enabled >
      <updatePolicy>always</updatePolicy >
  </snapshots >
</repository>
Code (YAML):
depend :
 - JSONConfigAPI


Example of use
Code (Java):
public final class ApiTest extends JavaPlugin {
    @Override void onEnable ( ) {
        JSONConfig <Model > JSON_CONFIG = JCApi. getNew ( this, Model. class, "config.json" ). get ( )
                . createConfig ( )
                . reload ( ) ;
        this. getLogger ( ). info (JSON_CONFIG. getJson ( ). DATA ) ;
    }
}
class Model { String DATA ; }
Code (YAML):
{
  "DATA"
: "go erp"
}
Resource Information
Author:
----------
Total Downloads: 106
First Release: May 10, 2022
Last Update: May 10, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings