summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-09-03 00:48:41 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-09-03 00:48:41 +0100
commit6d3a7798947ef6d4f34398564e56cf92444515ca (patch)
tree8d6c776983b246c10eca6f47c28b9bd73c00da44 /src/main/java/org
parente1f69e08675f9b4a14d015eb1db0fa84ed0d1689 (diff)
downloadbukkit-6d3a7798947ef6d4f34398564e56cf92444515ca.tar
bukkit-6d3a7798947ef6d4f34398564e56cf92444515ca.tar.gz
bukkit-6d3a7798947ef6d4f34398564e56cf92444515ca.tar.lz
bukkit-6d3a7798947ef6d4f34398564e56cf92444515ca.tar.xz
bukkit-6d3a7798947ef6d4f34398564e56cf92444515ca.zip
... Actually push the OfflinePlayer interface!
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/OfflinePlayer.java19
1 files changed, 19 insertions, 0 deletions
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();
+}