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