mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
SPIGOT-1714: Draft API for player list header / footer
This commit is contained in:
parent
f7d308d4ad
commit
2975358a02
1 changed files with 47 additions and 0 deletions
|
@ -84,6 +84,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.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue