Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

ID2R/ID2R-API

Repository files navigation

ID2R API


Public API for all of ID2R's projects. This API contains some useful utilities and tools that will help ID2R to deliver high quality code. originally developed by Invvk.

Features

Some of the features that this library delivers:

  • Support Velocity, Bungeecord, spigot (preferably Paper), and any fork of the mentioned platforms.
  • Fully shadable, no need for it to be a seperate plugin.
  • Dependency API
    • Injects libraries at runtime.
    • Eliminates the need for shading libraries that results in big jars (5MB+).
    • Downloads required dependencies at runtime.
    • Does a SHA256 check at runtime to protect against possible impostor jars.
    • Has the ability to do a relocation at runtime (thanks to lucko's library jar-relocator).
    • Isolated class loader support.
    • Downloads from any repository (maven, sonatype, jitpack, etc..)
      • you can add your custom own repository
  • Placeholder System (inspired from PlaceholderAPI).
  • Gson execlusion strategy.
  • Boilerplate code for all of the supported platforms.
  • Task Manager.
  • Log Manager (log4j, jtuil, SLF4J).
  • ItemStack API (Spigot).
  • Version API (Spigot).

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

  • Make sure you are following our code style.
  • Make sure to test the changes before opening a pull request.

License

This project falls under the MIT license.