Skip to content

Placeholders

4drian3d edited this page Sep 30, 2021 · 6 revisions

TitleAnnouncer provides you with placeholders that you can use in your announcements.

PlaceholderAPI

In case the plugin is used in Paper, it will support all PlaceholderAPI placeholders

Built in - Only on Paper

These placeholders are provided by TitleAnnouncer for you to use, they have better performance than PlaceholderAPI's when using direct APIs

Available to all (Console, Player and all)

These placeholders will be displayed regardless of who is running it, whether it is the console or a player.

Online Players <online>

It will show you the number of players connected to the server.

Tick per second <tps>

It will show you the number of ticks per second that the server has at the moment.

Milliseconds per tick <mspt>

It will show you the duration of each tick. It is a more accurate and secure measure to show the performance of your server.

Player placeholder

These placeholders will be displayed in case a player executes it. They will show data of the same player.

They will take the value of the target player in case a "send" command is used.

Player Name <name> <player>

It will display the player's name.

Player Ping <ping>

It will show the connection with the server (ping) that the player has.

Player World <world>

Display the name of the world in which the player is located.

Built in - Only on Velocity

In Velocity there is no PlaceholderAPI support, so the plugin offers you its own placeholders that you can use in your messages.

Available to all (Console, Player and all)

Online Players <online>

It will show you the number of players connected to the entire Velocity network.

Player placeholder

These placeholders will be displayed in case a player executes it. They will show data of the same player.

They will take the value of the target player in case a "send" command is used.

Player Name <name>

It will display the player's name.

Player Ping <ping>

It will show the connection with the network (ping) that the player has.

Player Client <client>

It will show you the client with which the player has connected.

It may return a null value in case the player's client does not deliver that value.

Player Locale <locale>

It will return the language used by the player.

Player Server <server>

Returns the server on which the player is connected.

Player Version <version>

It will tell you what version the player is logged in with, for example: 1.17.1

Player Mods <mods>

In case the player has logged in with Forge 1.7-1.12.2, the list of his mods will be returned