effect
set tab header of <who> to <text>since 1.5.2anywhere · Text above the player list. \n makes more lines
set tab header of player to "&6&lMy Server"Try it← All of the Docs Players
set tab header of <who> to <text>since 1.5.2anywhere · Text above the player list. \n makes more lines
set tab header of player to "&6&lMy Server"Try itset tab footer of <who> to <text>since 1.5.2anywhere · Text below it
set tab footer of player to "&7Online: %server.online_players%"Try itset display name of <who> to <text>since 1.5.2anywhere · The name used in chat and in the tab list
set display name of player to "&6[VIP] %player.name%"Try itset join message to <text>since 1.5.2on player join · Replaces "Steve joined the game"
set join message to "&a+ &f%player.name%"Try itset quit message to <text>since 1.5.2on player quit · Replaces "Steve left the game"
on player quit:
set quit message to "&c- &f%player.name%"Try ithide join message / hide quit messagesince 1.5.2those events · Shows nothing
on player join:
hide join messageTry itset chat format to <text>since 1.5.2on player chat · The whole chat line, built from placeholders
set chat format to "&7%player.name% &8>> &f%event.message%"Try itset chat message to <text>since 1.5.2on player chat · Replaces what the player said
on player chat:
if message contains "badword":
set chat message to "(removed)"Try iton player join:
set join message to "&a+ &f%player.name%"
set tab header of player to "&6&lMy Server"
set tab footer of player to "&7Online: %server.online_players%"
if player has permission "rank.vip":
set display name of player to "&6[VIP] %player.name%"
on player quit:
hide quit message
on player chat:
set chat format to "&7%player.name% &8>> &f%event.message%"
| Statement | Where | Effect |
|---|---|---|
set tab header of <who> to <text> | anywhere | Text above the player list. \n makes more lines |
set tab footer of <who> to <text> | anywhere | Text below it |
set display name of <who> to <text> | anywhere | The name used in chat and in the tab list |
set join message to <text> | on player join | Replaces "Steve joined the game" |
set quit message to <text> | on player quit | Replaces "Steve left the game" |
hide join message / hide quit message | those events | Shows nothing |
set chat format to <text> | on player chat | The whole chat line, built from placeholders |
set chat message to <text> | on player chat | Replaces what the player said |
every 5 seconds for all players:.on player join.set chat format writes the line exactly as given, so include %event.message% where the message should go. Other chat plugins that set a format of their own may override it.wait; elsewhere they log a warning.