-
Notifications
You must be signed in to change notification settings - Fork 17
Placeholders
OffLuffy edited this page Aug 16, 2019
·
1 revision
When using placeholders that can be colored (display name, server name, and server MOTD) you may want to include a color character after the placeholder to prevent it from coloring the rest of your message.
| Placeholder | Description |
|---|---|
| {12H} | The 12-hour portion of the server time |
| {24H} | The 24-hour portion of the server time. |
| {MIN} | The minutes portion of the server time (padded with a 0 if <10) |
| {MER_UPPER} | The uppercase meridiem counterpart of 12-hour time, AM or PM |
| {MER_LOWER} | The lowercase meridiem counterpart of 12-hour time, am or pm |
| {SLEEPERS} | The number of players currently sleeping |
| {WAKERS} | The number of non-ignored non-sleeping players |
| {TOTAL} | The number of players sleeping + non-sleeping, non-ignored players |
| {TIMESCALE} | The player's username (not always the one that is displayed in game) |
| {USERNAME} | The player's username (not always the one that is displayed in game) |
| {DISPLAYNAME} | The player's name as it is shown in game. May contain prefixes, color codes, etc. |
| {DISPLAYNAME_STRIP} | DISPLAYNAME without colors or formats. |
| {LEVEL} | The player's current level |
| {DAYS_LIVED} | The number of days that the player has lived |
| {REM_HOURS_LIVED} | The number of hours the player has lived after subtracting days |
| {REM_MINS_LIVED} | The number of minutes the player has lived after subtracting days and hours |
| {TOTAL_HOURS_LIVED} | The number of hours that the player has lived (total hours, doesn't subtract days) |
| {TOTAL_MINS_LIVED} | The number of minutes that the player has lived (total minutes, doesn't subtract hours or days) |
| {TIME_LIVED} | The time the player has lived in days, minutes, and seconds; formatted as '0d, 0h, 0m' |
| {WORLD} | The name of the world that the player is sleeping in |
| {SERVER_IP} | 'server-ip' specified in server.properties |
| {SERVER_MOTD} | 'motd' specified in server.properties (including colors) |
| {SERVER_NAME} | 'server-name' specified in server.properties (including colors) |
| {SERVER_MOTD_STRIP} | 'motd' specified in server.properties (stripped of colors) |
| {SERVER_NAME_STRIP} | 'server-name' specified in server.properties (stripped of colors) |
| {NICKNAME} | Essentials nickname without the group prefix. Same as DISPLAYNAME if essentials isn't installed. |
| {NICKNAME_STRIP} | NICKNAME without colors or formats. |
| {HEALTH} | Shows the player’s health (0-20) |
| {HEALTH_PER} | Shows the player’s health as a percentage (0-100%) |
| {HEALTH_BAR} | Generates a 20-segment bar indicating the player’s health, setting the empty portion of the bar to black (avoid using the black color code for this or the bar will appear empty all the time) |
| {FOOD} | Shows the player’s food level (0-20) |
| {FOOD_PER} | Shows the player’s food level as a percentage (0-100%) |
| {FOOD_BAR} | Generates a 20-segment bar indicating the player’s food level, setting the empty portion of the bar to black (avoid using the black color code for this or the bar will appear empty all the time) |