diff --git a/paper-api/src/main/java/org/bukkit/OfflinePlayer.java b/paper-api/src/main/java/org/bukkit/OfflinePlayer.java new file mode 100644 index 0000000000..ffb32ee9d9 --- /dev/null +++ b/paper-api/src/main/java/org/bukkit/OfflinePlayer.java @@ -0,0 +1,19 @@ +package org.bukkit; + +import org.bukkit.permissions.ServerOperator; + +public interface OfflinePlayer extends ServerOperator { + /** + * Checks if this player is currently online + * + * @return true if they are online + */ + public boolean isOnline(); + + /** + * Returns the name of this player + * + * @return Player name + */ + public String getName(); +}