This is a template repository for creating new Rosewood plugins without having to worry about writing all the managers and other boilerplate code.
These are all the files that should be modified when creating a new plugin from this template.
settings.gradle - Change
rootProject.nameto the name of your plugin.gradle.properties - Change
spigotVersionandgardenVersionto the versions of the respective dependencies you want to use.build.gradle - Change
mypluginto your plugin's name (in lowercase). You can also disable MySQL Support here.src/main/resources/plugin.yml - Change
nameto fit your plugin value.src/main/resources/locale/en_US.yml - The default locale file.
src/main/java/com/rosewood/myplugin/ - Repackage this directory to match your plugin's package name.
src/main/java/com/rosewood/myplugin/MyPlugin.java - Change the class name to match your plugin's name. Don't make this "Main" or "Plugin" or anything generic.
_1_CreateInitialTables.java - If you are using MySQL, Change the data migrations to match what you need.
If there's anything we left out, you have a question, you want to report a bug, or anything else, please join our Discord server. We offer any and all support in our server.