Package net.md_5.bungee.api
Class ServerLink
java.lang.Object
net.md_5.bungee.api.ServerLink
Represents a server link which may be sent to the client.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionServerLink(@NonNull BaseComponent label, @NonNull String url) Creates a link with a label and URL.ServerLink(@NonNull ServerLink.LinkType type, @NonNull String url) Creates a link with a specified type and URL. -
Method Summary
-
Constructor Details
-
ServerLink
Creates a link with a specified type and URL.- Parameters:
type- the type of the linkurl- the URL to be displayed
-
ServerLink
Creates a link with a label and URL.- Parameters:
label- the label to be displayedurl- the URL to be displayed
-