Skip to content

A small library with a collection of useful functions for Minecraft paper plugins

Notifications You must be signed in to change notification settings

TechnicJelle/MCUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCUtils

A small library with a collection of useful functions for Minecraft paper plugins.

Installation

Visit https://jitpack.io/#TechnicJelle/MCUtils for details on how to install this library.

Usage

Please see the javadoc for the full API reference: technicjelle.com/MCUtils

Copy Plugin Resource to Config Directory

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) 

Download image from URL

This function downloads an image from a URL and returns the image as a BufferedImage.

downloadImage(String);
downloadImage​(URL)

TODO:

  • Config helper stuff
  • Logging helper stuff
  • And more?

About

A small library with a collection of useful functions for Minecraft paper plugins

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages