Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Creating a Plugin with the framework

Rsl1122 edited this page Jul 15, 2017 · 3 revisions

Include Framework in your project

In Maven you can add the dependency with:

        <dependency>
            <groupId>com.djrapitops</groupId>
            <artifactId>AbstractPluginFramework</artifactId>
            <version>2.0.0</version>
            <scope>compile</scope>
        </dependency>

Unfortunately a maven repository is not available at this time.

Framework classes should be included in the final jar. Replace the <version> number with the Newest Version.

Plugin classes

Documentation for extending the framework plugin classes, required method calls & available utility methods.

  • BukkitPlugin
  • BungeePlugin

Resources in your jar

This framework supports separate config files for both bukkit & bungee.

File Things to include in the file
plugin.yml information for the bukkit version of the plugin.
bungee.yml information for the bungee version of the plugin.
config.yml default settings for the bukkit config file.
bungeeconfig.yml default settings for the bungee config file.

If bungeeconfig.yml is not found inside the jar, config.yml will be the config to copy default settings from.

plugin.yml should include main: path.to.class.extending.BukkitPlugin and bungee.yml should include main: path.to.class.extending.BungeePlugin

Clone this wiki locally