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