public static enum PluginPlatform.Platform extends java.lang.Enum<PluginPlatform.Platform>
| Enum Constant and Description |
|---|
BUKKIT
|
EXTERNAL
An external direct-download URL
|
HANGAR
|
MANUAL
A URL that the user can manually download the plugin from
|
MODRINTH
|
SPIGOT
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
requiresAuthor
Whether this
PluginPlatform.Platform requires an author |
| Modifier and Type | Method and Description |
|---|---|
static PluginPlatform.Platform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluginPlatform.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginPlatform.Platform MODRINTH
public static final PluginPlatform.Platform HANGAR
public static final PluginPlatform.Platform SPIGOT
public static final PluginPlatform.Platform BUKKIT
public static final PluginPlatform.Platform EXTERNAL
Example: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/target/ProtocolLib.jar
public static final PluginPlatform.Platform MANUAL
Example: https://github.com/srnyx/annoying-api/releases/latest
public final boolean requiresAuthor
PluginPlatform.Platform requires an authorpublic static PluginPlatform.Platform[] values()
for (PluginPlatform.Platform c : PluginPlatform.Platform.values()) System.out.println(c);
public static PluginPlatform.Platform valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null