A small library with a collection of useful functions for Minecraft paper plugins.
Visit https://jitpack.io/#TechnicJelle/MCUtils for details on how to install this library.
Please see the javadoc for the full API reference: technicjelle.com/MCUtils
This function copies any resource file from your plugin jar to your plugin's config directory. This is useful for adding default configuration files to your plugin.
copyPluginResourceToConfigDir(plugin, String fromResource, String toConfigFile, boolean overwrite)
This function downloads an image from a URL and returns the image as a BufferedImage.
downloadImage(String);
downloadImage(URL)
- Config helper stuff
- Logging helper stuff
- And more?