-
Notifications
You must be signed in to change notification settings - Fork 0
ReloadManager Support
Noah edited this page Sep 10, 2024
·
6 revisions
Inside of your Maven repositories add the following:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>Then, inside of your Maven dependencies add the following:
<dependency>
<groupId>com.github.amnoah</groupId>
<artifactId>betterreload</artifactId>
<version>Plugin-v1.4.0</version>
<scope>provided</scope>
</dependency>Inside of your Gradle repositories add the following:
maven { url 'https://jitpack.io' }Then, inside of your Gradle dependencies add the following:
implementation 'com.github.amnoah:betterreload:Plugin-v1.4.0'If your plugin relies on BetterReload being present, you should add BetterReload to your depend node.
Example:
depend:
- BetterReloadIf you are only relying on BetterReload if it is present, you should add BetterReload to your softdepend note.
Example:
softdepend:
- BetterReloadNow you can use the ReloadManager! To learn more about its methods and its return values, please check out the source code here.