Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rosewood-development/rosetemplate
- Owner: Rosewood-Development
- Created: 2023-05-17T18:56:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-28T17:46:51.000Z (about 1 month ago)
- Last Synced: 2024-11-28T18:35:33.489Z (about 1 month ago)
- Language: Java
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.