mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
Added the ability to access offline players & more reverse lookup fixes in Permissible.
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -375,4 +375,14 @@ public interface Server {
|
||||
* @return Amount of users who received the message
|
||||
*/
|
||||
public int broadcast(String message, String permission);
|
||||
|
||||
/**
|
||||
* Gets the player by the given name, regardless if they are offline or online.
|
||||
*
|
||||
* This will return an object even if the player does not exist. To this method, all players will exist.
|
||||
*
|
||||
* @param name Name of the player to retrieve
|
||||
* @return OfflinePlayer object
|
||||
*/
|
||||
public OfflinePlayer getOfflinePlayer(String name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user