KarmaAPI Platform icon

KarmaAPI Platform -----

A plugin integration for my KarmaAPI




After the previous update ( 1.3.4-21) the plugin would break any file related to KarmaFile extension.

This update fixes this problem
----------, Nov 10, 2023

This update stops using temporal files and instead uses a better file logic
----------, Nov 7, 2023

This update fixes a problem related to UUID fetcher after too many requests
----------, Oct 21, 2023

This version fixes an issue related to minecraft 1.20 and generating skulls
----------, Oct 6, 2023

This update completely removes KarmaAPI web API (api.karmadev.es) requests
----------, Sep 30, 2023

This version fixes an issue with legacy minecraft server versions
----------, Sep 22, 2023

This update prepares the API for the MineAPI service shutdown ( https://api.karmadev.es/)
----------, Sep 14, 2023

All the asynchronous tasks of the API now uses a single executor service
----------, Jul 19, 2023

This update of the KarmaAPI makes the spigot API think the "Version#UNKNOWN" value is always the latest and current version
----------, Jul 12, 2023

This version adds cache for MineAPI requests, speeding up request times
----------, Apr 11, 2023

This version fixes minecraft API requests were not being processed correctly, and also implements the minecraft API server requests
----------, Mar 27, 2023

This version optimizes the way the calls to the new web API works and deprecates finally the old API methods, which causes a lot of issues now
----------, Mar 25, 2023

This version makes the API able to make requests to the new API server
----------, Mar 21, 2023

This version fixes an issue with legacy versions were throwing an error of LoggerFactory not found

This version also fixes a common problem in where on first startup, a bunch of errors would be thrown
----------, Feb 20, 2023

Updated a dependency (apache HTTP core) to ApacheHTTP Core 5
----------, Feb 14, 2023

This version fixes a very important problem related to files. Sometimes some values wouldn't be retrieved as they were long but the API was reading them as itenger.

This has been fixed now
----------, Feb 8, 2023

This version fixes an importat problem related to files being corrupted after being saved
----------, Feb 7, 2023

This version will avoid downloading already downloaded dependencies to speed up server load times
----------, Feb 7, 2023

This version fixes an important problem related to version generator and becomes less restrictive for archieving the updater
----------, Feb 7, 2023

This version of the KarmaAPI fixes the boss bars not working properly, it also fixes a problem related to karma files and reduces significally the jar file size
----------, Feb 5, 2023

This version fixes a problem while generating yaml files with long sections
----------, Jan 20, 2023

This version modifies the API file format and starts the implementation of nms utilities
----------, Jan 17, 2023

Added compatibility with 1.19.3
----------, Dec 17, 2022

Minor fixes to KarmaMain arrays, this version also removes the logger new format, restoring the old one.

Started the removal of Bukkit bridge, as it was causing lot of problems at some spigotmc installations.

The platform will be using now a global .jar for all server types, no more .zips
----------, Nov 12, 2022

Fixed a problem related with the API and some legacy server instances. The problem was that the API was loading all the plugin depending on the KarmaAPI, causing a wrong class loader error, breaking the entire plugin.
----------, Nov 9, 2022

Fixed an issue that would occur sometimes. The synchronous scheduler wouldn't run because of an InvocationException. This issue has been solved and everything should work now.
----------, Nov 5, 2022

This version of the KarmaAPI plugin implementation, implements the Trackers and fixes a very old issue related to dependency loading. This update adds some self-hosted repositories of dependencies to fix the issue
----------, Oct 26, 2022

This version of the KarmaAPI contains the first steps to make something big from the KarmaAPI. It contains the communication API with the panel web API ( https://backup.karmadev.es/2k22panel ).

It also contains some fixes and improvements related to the KarmaMain ( KarmaAPI file format ) and with the HttpUtilities
----------, Oct 8, 2022

Fixed the API was not detecting correctly the java version
----------, Jul 9, 2022

This version improves the check of keys when saving a file, also fixing the spam of invalid key X found but the file will be saved anyway
----------, Jul 4, 2022

Fixed more problems with the new file system
----------, Jun 25, 2022

Fixed lot of problems with the KarmaMain file system
----------, Jun 24, 2022

KarmaMain is the new file system of the KarmaAPI. Previously it was KarmaFile but it was a little bit chaotic.
----------, Jun 23, 2022

This version will use TLS 1.3 when downloading things and also splits the FileCopy export from input stream into a new class FileExtractor.

This version also improves the way the API checks if a source is loaded
----------, May 19, 2022

This version of the KarmaAPI changes the source schedulers ( NOT THE SAME AS THE async AND sync WORKERS ) to make them work with executors instead. This update also removes SimeSourceScheduler and SimpleSecondsSchedulers to create a new SourceScheduler with an SchedulerUnit parameter. That parameter allows the developer to specify the scheduler interval
- Milliseconds ( tested )
- Seconds ( tested )
- Minutes ( tested )
- Hours ( tested )
- Days ( non-tested ).
----------, May 10, 2022

This version makes AsyncScheduler and SyncScheduler use java ExecutorService instead of creating a while loop with a random timeout between tasks.

This version also makes the async and sync tasks run the lower task id instead of count task one by one
----------, Apr 5, 2022

Fixed the API was using too much CPU because of the async and sync schedulers, now they will have random timeout before going to the next task
----------, Mar 29, 2022

This version fixes lots of issues related with async scheduler, sync scheduler and late schedulers
----------, Mar 27, 2022

Fixed a problem with legacy spigot in where the API wouldn't load because the usage of old google gson API.

This version also completely enables the API configuration file, which allows you to manage which output is printed to the console and how it is printed. The file uses KarmaAPI file format ( KarmaLang ). An extension for Visual Studio Code can be found by searching "Karma Lang" in extension marketplace.

By default the API will log everything, and debug almost anything. ( only file creations and removals ).

The file should be located at plugins/KarmaAPI/config.kf...
Please note that file format is almost new and no full support is provided for it, things such as veryfing a file is not available for now, be carefull when editing the configuration.

upload_2022-3-23_7-1-51.png
Code (Text):
(
    */Enable console debug
    'debug' -> false

    */Enable logging
    'logging' -> true

    */Enable debugging for file copy, for example
    */when a project generates a yaml file from an internal
    */file
    'file_copy_debug' -> false

    */Enable debugging for file utilities, for example
    */when a file is created with its parent directories
    'file_util_debug' -> true

    *(
        Console default OK prefix
        - Please note leaving this value
          empty will use the internal default

        Placeholders:
            - %project% = Project name ( defined in KarmaSource )
            - %version% = Project version ( defined in KarmaSource )
            - %author% = Project author ( defined in KarmaSource )
            - %level% = Current level ( For example: WARNING )
            - &x = Color ( For example: &a is lime, &c is red )
    )*
    'ok_prefix' -> "&b[ &3%project% &b| &2OK &b] >> &9"

    *(
        Console default INFO prefix
        - Please note leaving this value
          empty will use the internal default

        Placeholders:
            - %project% = Project name ( defined in KarmaSource )
            - %version% = Project version ( defined in KarmaSource )
            - %author% = Project author ( defined in KarmaSource )
            - %level% = Current level ( For example: WARNING )
            - &x = Color ( For example: &a is lime, &c is red )
    )*
    'info_prefix' -> "&b[ &3%project% &b| &7INFO &b] >> &9"

    *(
        Console default WARNING prefix
        - Please note leaving this value
          empty will use the internal default

        Placeholders:
            - %project% = Project name ( defined in KarmaSource )
            - %version% = Project version ( defined in KarmaSource )
            - %author% = Project author ( defined in KarmaSource )
            - %level% = Current level ( For example: WARNING )
            - &x = Color ( For example: &a is lime, &c is red )
    )*
    'warning_prefix' -> "&b[ &3%project% &b| &6WARNING &b] >> &9"

    *(
        Console default GRAVE prefix
        - Please note leaving this value
          empty will use the internal default

        Placeholders:
            - %project% = Project name ( defined in KarmaSource )
            - %version% = Project version ( defined in KarmaSource )
            - %author% = Project author ( defined in KarmaSource )
            - %level% = Current level ( For example: WARNING )
            - &x = Color ( For example: &a is lime, &c is red )
    )*
    'grave_prefix' -> "&b[ &3%project% &b| &cGRAVE &b] >> &9"

    *(
        The debug levels that will be console debugged.

        The only available levels are:
        - OK
        - INFO
        - WARNING
        - GRAVE
    )*
    'debug_levels' -> {
        'OK'
        'INFO'
        'WARNING'
        'GRAVE'
    }

    *(
        The debug levels that will be logged.

        The only available levels are:
        - OK
        - INFO
        - WARNING
        - GRAVE
    )*
    'logging_levels' -> {
        'OK'
        'INFO'
        'WARNING'
        'GRAVE'
    }

    *(
        The debug levels that will be console debugged when
        copying a file

        The only available leves are:
        - OK
        - INFO
        - WARNING
        - GRAVE
    )*
    'file_copy_levels' -> {
        'WARNING'
        'GRAVE'
    }

    *(
        The debug levels that will be console debugged when
        doing something to a file

        The only available leves are:
        - OK
        - INFO
        - WARNING
        - GRAVE
    )*
    'file_util_levels' -> {
        'OK'
        'INFO'
        'WARNING'
        'GRAVE'
    }
)
----------, Mar 23, 2022

This version fixes a problem in where the API was trying to write the file even if that file was open by another proccess, causing lot of errors. This version also fixes a problem for servers which doesn't have the LogFactory dependency
----------, Mar 23, 2022

This version fixes a problem in where the API was trying to write the file even if that file was open by another proccess, causing lot of errors. This version also fixes a problem for servers which doesn't have the LogFactory dependency
----------, Mar 22, 2022

This version updates and makes work again the OKA API
----------, Feb 22, 2022

This version fixes some problems related with OKA ( online karma api ) fetch requests.

OKA will be down temporally
----------, Feb 19, 2022

This version makes the KarmaAPI web API requests asynchronous so they don't have to wait for a response to keep working
----------, Feb 8, 2022

In this version I updated the plugin version checker to not display an error when API gets rate limited
----------, Jan 26, 2022


This update ensures the dependency problem related with HTTP Common is fixed
----------, Dec 25, 2021

This version fixes an error related with a KarmaAPI new dependency "HTTP Components". This version also updates the API again to a new 1.3.2-SNAPSHOT version which has a "KarmaPlugin" for Velocity instances
----------, Dec 25, 2021

This version changes the way KarmaAPI sends data to KarmaAPI UUID engine API
----------, Dec 23, 2021

This version updates the KarmaAPI platform to use KarmaAPI 1.3.2 instead of 1.3.1 SNAPSHOT.
----------, Dec 22, 2021

Resource Information
Author:
----------
Total Downloads: 6,641
First Release: Dec 21, 2021
Last Update: Nov 10, 2023
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings