Player list

The player list header and footer is the text shown above and underneath the player list, on the player's screen when holding the key TAB on their keyboard.

api.setHeader(player, "My header");
api.setFooter(player, "My footer");
api.setHeaderWithPlaceholders(player, "My header");
api.setFooterWithPlaceholders(player, "My footer");
api.getHeader(player);
api.getFooter(player);