| 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 and Description | 
|---|---|
@Nullable CachedServerIcon | 
PaperServerListPingEvent.getServerIcon()
Gets the server icon sent to the client. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PaperServerListPingEvent.setServerIcon(@Nullable CachedServerIcon icon)
Sets the server icon sent to the client. 
 | 
| Constructor and Description | 
|---|
PaperServerListPingEvent(@NotNull StatusClient client,
                        net.kyori.adventure.text.Component motd,
                        int numPlayers,
                        int maxPlayers,
                        @NotNull String version,
                        int protocolVersion,
                        @Nullable CachedServerIcon favicon)  | 
PaperServerListPingEvent(@NotNull StatusClient client,
                        @NotNull String motd,
                        int numPlayers,
                        int maxPlayers,
                        @NotNull String version,
                        int protocolVersion,
                        @Nullable CachedServerIcon favicon)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable CachedServerIcon | 
Server.getServerIcon()
Gets an instance of the server's default server-icon. 
 | 
static @Nullable CachedServerIcon | 
Bukkit.getServerIcon()
Gets an instance of the server's default server-icon. 
 | 
@NotNull CachedServerIcon | 
Server.loadServerIcon(@NotNull BufferedImage image)
Creates a cached server-icon for the specific image. 
 | 
static @NotNull CachedServerIcon | 
Bukkit.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. 
 | 
static @NotNull CachedServerIcon | 
Bukkit.loadServerIcon(@NotNull 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.