Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rosewood-development/rosetemplate

A base template for all Rosewood Development Plugins
https://github.com/rosewood-development/rosetemplate

Last synced: 19 days ago
JSON representation

A base template for all Rosewood Development Plugins

Awesome Lists containing this project

README

        

# Rosewood Plugin Template

This is a template repository for creating new Rosewood plugins without having to worry about writing all the managers and other boilerplate code.

## Files to Modify
These are all the files that should be modified when creating a new plugin from this template.
> **settings.gradle** - Change `rootProject.name` to the name of your plugin.
>
> **gradle.properties** - Change `spigotVersion` and `gardenVersion` to the versions of the respective dependencies you want to use.
>
> **build.gradle** - Change `myplugin` to your plugin's name (in lowercase). You can also disable MySQL Support here.
>
> **src/main/resources/plugin.yml** - Change `name` to 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.

### Support
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](https://discord.gg/MgUsTBK). We offer any and all support in our server.