- Bugfix: If a t2code plugin could not be checked for an update, it was not possible to use the info command of the respective plugin and the command '/t2c updateinfo <plugin>'. - The message at the command '/t2code updatinfo <plugin>' was slightly adjusted
63 lines
1.5 KiB
Java
63 lines
1.5 KiB
Java
package net.t2code.t2codelib;
|
|
|
|
import lombok.Getter;
|
|
import net.t2code.t2codelib.SPIGOT.system.T2CodeLibMain;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import java.util.UUID;
|
|
|
|
public class Util {
|
|
|
|
@Getter
|
|
private static final UUID serverUUID = UUID.randomUUID();
|
|
|
|
|
|
public static String getInfoText() {
|
|
return "<yellow>Description:</yellow> <gold>"+T2CodeLibMain.getPlugin().getDescription().getDescription()+"</gold>" ;
|
|
}
|
|
|
|
public static String getPrefix() {
|
|
return "<dark_gray>[<dark_red>T2Code</dark_red><dark_purple>Lib</dark_purple>]</dark_gray>";
|
|
}
|
|
|
|
public static Integer getSpigotID() {
|
|
return 96388;
|
|
}
|
|
|
|
public static String getGit() {
|
|
return "JaTiTV/T2CodeLib";
|
|
}
|
|
|
|
public static Integer getBstatsID() {
|
|
return 12518;
|
|
}
|
|
|
|
public static String getSpigot() {
|
|
return "https://www.spigotmc.org/resources/" + getSpigotID();
|
|
}
|
|
|
|
public static String getDiscord() {
|
|
return "http://dc.t2code.net";
|
|
}
|
|
|
|
public static List<String> getT2cPlugins() {
|
|
return Arrays.asList(
|
|
"T2CodeLib",
|
|
"T2C-LuckyBox",
|
|
"WonderBagShop",
|
|
"CommandGUI",
|
|
// "T2C-OPSecurity",
|
|
"OPSecurity",
|
|
"PaPiTest",
|
|
"T2C-Alias",
|
|
"T2C-AutoResponse",
|
|
"LoreEditor",
|
|
"Booster",
|
|
"AntiMapCopy",
|
|
"AntiCopy",
|
|
"T2C-LoginPermissionAuth"
|
|
);
|
|
}
|
|
}
|