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.

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

    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");


Recent Updates

  1. Added ItemUtils, LocationUtils, and GUIUtils