mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 15:12:13 -07:00
23 lines
384 B
Java
23 lines
384 B
Java
|
|
package org.bukkit;
|
|
|
|
/**
|
|
* Represents a player, connected or not
|
|
*
|
|
*/
|
|
public interface Player extends EntityHuman {
|
|
/**
|
|
* Returns the name of this player
|
|
*
|
|
* @return Player name
|
|
*/
|
|
public String getName();
|
|
|
|
/**
|
|
* Checks if this player is currently online
|
|
*
|
|
* @return true if they are online
|
|
*/
|
|
public boolean isOnline();
|
|
}
|