mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
#683: Add Player#showDemoScreen
This commit is contained in:
parent
d25437bce3
commit
57e7e95215
1 changed files with 8 additions and 0 deletions
|
@ -1308,6 +1308,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
|||
*/
|
||||
public void openBook(@NotNull ItemStack book);
|
||||
|
||||
/**
|
||||
* Shows the demo screen to the player, this screen is normally only seen in
|
||||
* the demo version of the game.
|
||||
* <br>
|
||||
* Servers can modify the text on this screen using a resource pack.
|
||||
*/
|
||||
public void showDemoScreen();
|
||||
|
||||
/**
|
||||
* Gets whether the player has the "Allow Server Listings" setting enabled.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue