Package | Description |
---|---|
com.destroystokyo.paper.event.server | |
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
Modifier and Type | Method | Description |
---|---|---|
@Nullable CachedServerIcon |
PaperServerListPingEvent.getServerIcon() |
Gets the server icon sent to the client.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PaperServerListPingEvent.setServerIcon(@Nullable CachedServerIcon icon) |
Sets the server icon sent to the client.
|
Constructor | Description |
---|---|
PaperServerListPingEvent(@NotNull StatusClient client,
@NotNull String motd,
int numPlayers,
int maxPlayers,
@NotNull String version,
int protocolVersion,
@Nullable CachedServerIcon favicon) |
Modifier and Type | Method | Description |
---|---|---|
static @Nullable CachedServerIcon |
Bukkit.getServerIcon() |
Gets an instance of the server's default server-icon.
|
@Nullable CachedServerIcon |
Server.getServerIcon() |
Gets an instance of the server's default server-icon.
|
static @NotNull CachedServerIcon |
Bukkit.loadServerIcon(@NotNull BufferedImage image) |
Creates a cached server-icon for the specific image.
|
static @NotNull CachedServerIcon |
Bukkit.loadServerIcon(@NotNull File file) |
Loads an image from a file, and returns a cached image for the specific
server-icon.
|
@NotNull CachedServerIcon |
Server.loadServerIcon(@NotNull BufferedImage image) |
Creates a cached server-icon for the specific image.
|
@NotNull CachedServerIcon |
Server.loadServerIcon(@NotNull File file) |
Loads an image from a file, and returns a cached image for the specific
server-icon.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ServerListPingEvent.setServerIcon(CachedServerIcon icon) |
Sets the server-icon sent to the client.
|
Copyright © 2020. All rights reserved.