summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-29 21:29:46 +1000
committermd_5 <git@md-5.net>2018-07-29 21:29:46 +1000
commit2975358a021fe25d52a8103f7d7aaeceb3abf245 (patch)
treed41233fb4354eb4735b0090d8f841e3649460319
parentf7d308d4ad352859de5d758ab97cf8b768ed7e69 (diff)
downloadbukkit-2975358a021fe25d52a8103f7d7aaeceb3abf245.tar
bukkit-2975358a021fe25d52a8103f7d7aaeceb3abf245.tar.gz
bukkit-2975358a021fe25d52a8103f7d7aaeceb3abf245.tar.lz
bukkit-2975358a021fe25d52a8103f7d7aaeceb3abf245.tar.xz
bukkit-2975358a021fe25d52a8103f7d7aaeceb3abf245.zip
SPIGOT-1714: Draft API for player list header / footer
-rw-r--r--src/main/java/org/bukkit/entity/Player.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 2596a11d..088b2163 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -85,6 +85,53 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
public void setPlayerListName(String name);
/**
+ * Gets the currently displayed player list header for this player.
+ *
+ * @return player list header or null
+ * @deprecated draft API
+ */
+ @Deprecated
+ public String getPlayerListHeader();
+
+ /**
+ * Gets the currently displayed player list footer for this player.
+ *
+ * @return player list header or null
+ * @deprecated draft API
+ */
+ @Deprecated
+ public String getPlayerListFooter();
+
+ /**
+ * Sets the currently displayed player list header for this player.
+ *
+ * @param header player list header, null for empty
+ * @deprecated draft API
+ */
+ @Deprecated
+ public void setPlayerListHeader(String header);
+
+ /**
+ * Sets the currently displayed player list footer for this player.
+ *
+ * @param footer player list footer, null for empty
+ * @deprecated draft API
+ */
+ @Deprecated
+ public void setPlayerListFooter(String footer);
+
+ /**
+ * Sets the currently displayed player list header and footer for this
+ * player.
+ *
+ * @param header player list header, null for empty
+ * @param footer player list footer, null for empty
+ * @deprecated draft API
+ */
+ @Deprecated
+ public void setPlayerListHeaderFooter(String header, String footer);
+
+ /**
* Set the target of the player's compass.
*
* @param loc Location to point to