public class UpdateChecker extends Object
| Constructor and Description |
|---|
UpdateChecker(IScheduler scheduler,
String version,
String name,
int resourceId,
String url,
@Nullable String prefix,
@Nullable String api) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendUpdateCheck(net.kyori.adventure.audience.Audience entity) |
public UpdateChecker(IScheduler scheduler, String version, String name, int resourceId, String url, @Nullable @Nullable String prefix, @Nullable @Nullable String api)
scheduler - Schedulerversion - Version of the pluginname - Name of the pluginresourceId - Spigot resource idurl - Download url of the plugin. Not the api urlprefix - Prefix of the updaterapi - The url of the api. If set to null it will use the spigot api