diff --git a/README.md b/README.md index b885221..44f2008 100644 --- a/README.md +++ b/README.md @@ -11,72 +11,10 @@ By default PluginUpdater comes with support for 50+ commonly used plugins, you c - PluginUpdater only downloads plugins to the update folder and **does not** modify any plugin jars. If you have an issue with an update, report this to the developer of the plugin with the issue! **Is there an API?** -- Adding PluginUpdater support to your plugin is super easy and does not require an API. You can follow [these instructions](https://github.com/OakLoaf/PluginUpdater/blob/master/README.md#adding-support-for-pluginupdater) to make your plugin compatible! -- A shadeable updater and version checker will be made available in the future. +- Adding PluginUpdater compatibility to your plugin is super easy and does not require an API. You can follow [these instructions](https://github.com/OakLoaf/PluginUpdater/wiki/PluginUpdater-Plugin#adding-support-for-pluginupdater) to make your plugin compatible! +- You can use our shadeable API to easily handle version checking/update downloading in your plugins. For more information about the API check out the [wiki page](https://github.com/OakLoaf/PluginUpdater/wiki/Shadeable-API)
-## Configuring PluginUpdater - -Adding new plugins is really easy! Each plugin requires the plugin name to be defined (this is case sensitive) and also the platform. Each platform will require different information, examples for each platform are shown below. - -### Modrinth - -```yml - PluginName: - platform: modrinth - # A project id is a plugin's identifier which can be found in the "Technical Information" section on the Modrinth plugin page, as shown here (The project slug can also be used) - modrinth-project-id: "djC8I9ui" - # Some projects post all beta versions on Modrinth - disable this setting if you want to receive updates for all versions including beta versions - featured-only: true -``` - -
Finding the Project ID - -
- -### Spigot - -```yml - PluginName: - platform: spigot - # A resource id is a plugin's identifier which can be found at the end of the page's url - spigot-resource-id: 107545 -``` - -
Finding the Resource ID - -
- -### Hangar - -```yml - PluginName: - platform: hangar - # A project slug is a plugin's identifier which can be found at the end of the page's url - hangar-project-slug: "FancyHolograms" -``` - -### GitHub Releases - -```yml - PluginName: - platform: github - # The GitHub repo should be formatted as 'Owner/Repo' - github-repo: "OakLoaf/LushRewards" -``` - -
- -## Adding support for PluginUpdater -Making your plugin appear in PluginUpdater is super easy, just add any of the following lines into your `plugin.yml` with the correct information for your plugin. For information regarding finding the ids, reference the [Configuring PluginUpdater](https://github.com/OakLoaf/PluginUpdater/blob/master/README.md#configuring-pluginupdater) section. - -```yml -modrinth-project-id: "djC8I9ui" -spigot-resource-id: 107545 -hangar-project-slug: "FancyHolograms" -github-repo: "OakLoaf/LushRewards" -``` - ## Getting support If you need help setting up the plugin or have any questions, feel free to join the [LushPlugins discord server](https://discord.gg/mbPxvAxP3m)