Server
The server is the centre of the API. It provides access to everything, and is the central manager for most of the server.
You can use the server to retrieve information, managers for various aspects of the API, configuration options, status, and players.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NotNull
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun sendMessage(@NotNull source: @NotNull Identified, @NotNull message: @NotNull ComponentLike)
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0" )
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0" )
open fun sendMessage(@NotNull message: @NotNull ComponentLike, boundChatType: @NotNull ChatType.Bound)
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0" )
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0" )
open override fun sendMessage(@NotNull signedMessage: @NotNull SignedMessage, boundChatType: @NotNull ChatType.Bound)
open override fun sendMessage(@NotNull message: @NotNull Component, boundChatType: @NotNull ChatType.Bound)
open override fun sendMessage(@NotNull source: @NotNull Identified, @NotNull message: @NotNull Component, @NotNull type: @NotNull MessageType)
open override fun sendMessage(@NotNull source: @NotNull Identity, @NotNull message: @NotNull Component, @NotNull type: @NotNull MessageType)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun sendPlayerListHeaderAndFooter(@NotNull header: @NotNull ComponentLike, @NotNull footer: @NotNull ComponentLike)
open override fun sendPlayerListHeaderAndFooter(@NotNull header: @NotNull Component, @NotNull footer: @NotNull Component)
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
The command manager for this server.
Link copied to clipboard
The configuration for the server.
Link copied to clipboard
The console's Sender object.
Link copied to clipboard
The global event node for the server.
Link copied to clipboard
The factory provider for this server.
Link copied to clipboard
The list of online players.
Link copied to clipboard
The plugin manager for this server.
Link copied to clipboard
The global registry holder for the server.
Link copied to clipboard
The services manager for this server.
Link copied to clipboard
The user manager for this server.
Link copied to clipboard
The world manager for this server.