New Bungee Updater

This commit is contained in:
Jkobs
2022-11-14 14:41:45 +01:00
parent 5857e02695
commit f70767b361
12 changed files with 94 additions and 73 deletions

View File

@@ -0,0 +1,31 @@
package net.t2code.t2codelib;
import lombok.Getter;
public class T2CupdateWebData {
@Getter
private String updateTitle;
@Getter
private String version;
@Getter
private String updateDescription;
@Getter
private String updateUrl;
@Getter
private String publishedAt;
@Getter
private String downloadURL;
@Getter
private boolean preRelease;
public T2CupdateWebData(String updateTitle, String version, String updateDescription, String updateUrl, String publishedAt, String downloadURL, boolean preRelease) {
this.updateTitle = updateTitle;
this.version = version;
this.updateDescription = updateDescription;
this.updateUrl = updateUrl;
this.publishedAt = publishedAt;
this.downloadURL = downloadURL;
this.preRelease = preRelease;
}
}