From 6d3a7798947ef6d4f34398564e56cf92444515ca Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Sat, 3 Sep 2011 00:48:41 +0100 Subject: ... Actually push the OfflinePlayer interface! --- src/main/java/org/bukkit/OfflinePlayer.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/java/org/bukkit/OfflinePlayer.java diff --git a/src/main/java/org/bukkit/OfflinePlayer.java b/src/main/java/org/bukkit/OfflinePlayer.java new file mode 100644 index 00000000..ffb32ee9 --- /dev/null +++ b/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(); +} -- cgit v1.2.3