replace 'header' with 'player_list'

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
This commit is contained in:
replaceitemandgnembon authored and GitHub committed 2021-04-17 11:41:15 +02:00
1 parent 396e844dce
commit 472e1be663
1 file changed
+1 -1
+1 -1
View File
@@ -282,7 +282,7 @@ Sends the player (or players if `players` is a list) a title of a specific type,
Changes the motd (message of the day) of the server. The `player` value is ignored for the `'motd'` text. Changes the motd (message of the day) of the server. The `player` value is ignored for the `'motd'` text.
Note that when the `customMOTD` carpet rule is active, this will not work and instead use the MOTD from the rule. Note that when the `customMOTD` carpet rule is active, this will not work and instead use the MOTD from the rule.
### `display_title(players, 'header', header, footer),` ### `display_title(players, 'player_list', header, footer),`
Changes the header and footer of the player list. Changes the header and footer of the player list.
Keep in mind this would interfere with carpet's loggers, so if you are using this, you need to keep them off. Keep in mind this would interfere with carpet's loggers, so if you are using this, you need to keep them off.