CompanionAPI 1.1.0

A helpful API to shorten code in making plugins

  1. Bolt
    This API doesn't add any fancy functions. Instead, it allows you to greatly shorten your code with a few methods that allow you to reduce the size of your plugins when you export.
    This is still a work-in-progress project and as such, I will be adding a lot more features soon. You can use this as a dependency or build it together with your plugin.

    Examples:
    Code (Text):
    FileConfiguration config = Configuration.createConfig(Main.getInstance(), "config.yml", config);

    /*
    Parameters:
    JavaPlugin (Plugin.getInstance) - main plugin class
    String ("config.yml") - path to stored file in jar
    File (config) - File to copy to. Creates it if it does not exist.
    */

    Code (Text):
    ItemStack is = new ItemStack(Material.BOW);
    ItemUtils.rename(is, "Magic Bow");

    Repository:
    https://github.com/boltbuilder226/CompanionAPI

Recent Updates

  1. Added ItemUtils, LocationUtils, and GUIUtils