Skip to content

Placeholders

Yannick Schinko edited this page Apr 30, 2020 · 26 revisions

Placeholders are strings that you can add into the message to say where for example a username or server name has to come. An example of a message with a placeholder is The player is on the %sender_name% server.. In this message, the %sender_name% will be replaced with the name of the server where the player currently is on.

List of Placeholders for Bungee Chat 2

Time Related Placeholders:

%timestamp% - Returns the current timestamp as yyyy/MM/dd HH:mm:ss.
%time%- Returns the the current timestamp as HH:mm:ss.
%short_time% - Returns the current timestamp as HH:mm.
%date% - Returns the the current date as yyyy/MM/dd.
%day% - Returns the current day (of the month) as dd.
%month% - Returns the current month as MM.
%year% - Returns the current year as yyyy.

Single-Player-Message Placeholders:

%name% - Returns the name of the player.
%displayname% - Returns the displayname of the player.
%fullname% - Returns %prefix%%name%%suffix% of the player.
%fulldisplayname% - Returns %prefix%%displayname%%suffix% of the player. (Only available in the development version!)
%prefix% - Returns the prefix of the player.
%suffix% - Returns the suffix of the player.
%ping% - Returns the current ping in ms of the player.
%uuid% - Returns the UUID of the player.
%servername% - Returns the name of the server that the player is on.
%serveralias% - Returns the aliased name of the server that the player is on.
%serverip% - Returns the IP of the server that the player is on.
%muted_until% - Returns the timestamp of when the player will be unmuted (if they are muted).
%server_online% - Return the amount of players on the player's server.

Multi-Player-Message Placeholders:

%sender_name% - Returns the name of the sender.
%sender_displayname% - Returns the displayname of the sender.
%sender_fullname% - Returns %sender_prefix%%sender_name%%sender_suffix% of the sender.
%sender_fulldisplayname% - Returns %sender_prefix%%sender_displayname%%sender_suffix% of the sender. (Only available in the development version!)
%sender_prefix% - Returns the prefix of the sender.
%sender_suffix% - Returns the suffix of the sender.
%sender_ping% - Returns the current ping in ms of the sender.
%sender_uuid% - Returns the UUID of the sender.
%sender_servername% - Returns the name of the server that the sender is on.
%sender_serveralias% - Returns the aliased name of the server that the sender is on.
%sender_serverip% - Returns the IP of the server that the sender is on.
%sender_muted_until% - Returns the timestamp of when the sender will be unmuted (if they are muted).
%sender_server_online% - Return the amount of players on the sender's server.

%target_name% - Returns the name of the target.
%target_displayname% - Returns the displayname of the target.
%target_fullname% - Returns %target_prefix%%target_name%%target_suffix% of the target.
%target_fulldisplayname% - Returns %target_prefix%%target_displayname%%target_suffix% of the target. (Only available in the development version!)
%target_prefix% - Returns the prefix of the target.
%target_suffix% - Returns the suffix of the target.
%target_ping% - Returns the current ping in ms of the target.
%target_uuid% - Returns the UUID of the target.
%target_servername% - Returns the name of the server that the target is on.
%sender_serveralias% - Returns the aliased name of the server that the target is on.
%target_serverip% - Returns the IP of the server that the target is on.
%target_muted_until% - Returns the timestamp of when the target will be unmuted (if they are muted).
%target_server_online% - Return the amount of players on the target's server.

Other Placeholders:

%message% - Returns the message that the player has send. (Formats Only!)
%command% - Returns the right command format for in the Incorrect Usage Message.
%unknown_server% - Returns the (unknown) server name that was used when specifying a server in a command in the Unknown Server Message.
%channel% - Returns the channel a message has been written in. Only works in logging formats.
%network_online% - Return the amount of players on your network.

Clone this wiki locally