Package com.velocitypowered.api.util
Enum Class ServerLink.Type
- All Implemented Interfaces:
Serializable,Comparable<ServerLink.Type>,Constable
- Enclosing class:
ServerLink
Built-in types of server links.
- API Note:
BUG_REPORTlinks are shown on the connection error screen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA link to announcements from the server team.A link to report bugs related to the server or gameplay.A link to the server’s community hub or Discord.A link to the server's community guidelines or rules.A link to provide feedback to the server staff or developers.A link to the server's forums.A link to server or game-related news.A link showing the current server or service status.A link to the server’s support or help desk.A link to the server's main website. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerLink.TypeReturns the enum constant of this class with the specified name.static ServerLink.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUG_REPORT
A link to report bugs related to the server or gameplay. -
COMMUNITY_GUIDELINES
A link to the server's community guidelines or rules. -
SUPPORT
A link to the server’s support or help desk. -
STATUS
A link showing the current server or service status. -
FEEDBACK
A link to provide feedback to the server staff or developers. -
COMMUNITY
A link to the server’s community hub or Discord. -
WEBSITE
A link to the server's main website. -
FORUMS
A link to the server's forums. -
NEWS
A link to server or game-related news. -
ANNOUNCEMENTS
A link to announcements from the server team.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-