This repository has been archived by the owner on Mar 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Creating a Plugin with the framework
Rsl1122 edited this page Jul 15, 2017
·
3 revisions
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.
Documentation for extending the framework plugin classes, required method calls & available utility methods.
- BukkitPlugin
- BungeePlugin
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