mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 21:52:05 -07:00
@@ -736,11 +736,11 @@ public interface Server extends PluginMessageRecipient {
|
||||
* This will return an object even if the player does not exist. To this
|
||||
* method, all players will exist.
|
||||
*
|
||||
* @deprecated Persistent storage of users should be by UUID as names are no longer
|
||||
* unique past a single session.
|
||||
* @param name the name the player to retrieve
|
||||
* @return an offline player
|
||||
* @see #getOfflinePlayer(java.util.UUID)
|
||||
* @deprecated Persistent storage of users should be by UUID as names are no longer
|
||||
* unique past a single session.
|
||||
*/
|
||||
@Deprecated
|
||||
@NotNull
|
||||
@@ -1067,11 +1067,11 @@ public interface Server extends PluginMessageRecipient {
|
||||
* guaranteed to throw an implementation-defined {@link Exception}.
|
||||
*
|
||||
* @param file the file to load the from
|
||||
* @return a cached server-icon that can be used for a {@link
|
||||
* ServerListPingEvent#setServerIcon(CachedServerIcon)}
|
||||
* @throws IllegalArgumentException if image is null
|
||||
* @throws Exception if the image does not meet current server server-icon
|
||||
* specifications
|
||||
* @return a cached server-icon that can be used for a {@link
|
||||
* ServerListPingEvent#setServerIcon(CachedServerIcon)}
|
||||
*/
|
||||
@NotNull
|
||||
CachedServerIcon loadServerIcon(@NotNull File file) throws IllegalArgumentException, Exception;
|
||||
@@ -1083,11 +1083,11 @@ public interface Server extends PluginMessageRecipient {
|
||||
* guaranteed to throw an implementation-defined {@link Exception}.
|
||||
*
|
||||
* @param image the image to use
|
||||
* @return a cached server-icon that can be used for a {@link
|
||||
* ServerListPingEvent#setServerIcon(CachedServerIcon)}
|
||||
* @throws IllegalArgumentException if image is null
|
||||
* @throws Exception if the image does not meet current server
|
||||
* server-icon specifications
|
||||
* @return a cached server-icon that can be used for a {@link
|
||||
* ServerListPingEvent#setServerIcon(CachedServerIcon)}
|
||||
*/
|
||||
@NotNull
|
||||
CachedServerIcon loadServerIcon(@NotNull BufferedImage image) throws IllegalArgumentException, Exception;
|
||||
@@ -1349,8 +1349,8 @@ public interface Server extends PluginMessageRecipient {
|
||||
List<Entity> selectEntities(@NotNull CommandSender sender, @NotNull String selector) throws IllegalArgumentException;
|
||||
|
||||
/**
|
||||
* @see UnsafeValues
|
||||
* @return the unsafe values instance
|
||||
* @see UnsafeValues
|
||||
*/
|
||||
@Deprecated
|
||||
@NotNull
|
||||
|
Reference in New Issue
Block a user