Constants: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
*<code>{SERVER_NAME}</code> | *<code>{SERVER_NAME}</code> | ||
*<code>{MOTD}</code> | *<code>{MOTD}</code> | ||
*<code>{RANK}</code> - | *<code>{RANK}</code> - Player's rank; may include formatting (prefix and color) | ||
*<code>{PLAYER_NAME}</code> - player's own name; may include formatting (prefix and color), or may be replaced with DisplayedName | *<code>{PLAYER_NAME}</code> - player's own name; may include formatting (prefix and color), or may be replaced with DisplayedName | ||
*<code>{TIME}</code> - local server | *<code>{TIME}</code> - Server's local time (depends on the server's timezone) | ||
*<code>{WORLD}</code> - | *<code>{WORLD}</code> - Name of the main/starting map; may include formatting (prefix and color) | ||
*<code>{PLAYERS}</code> - | *<code>{PLAYERS}</code> - Number of players online (excludes hidden ones) | ||
*<code>{WORLDS}</code> - | *<code>{WORLDS}</code> - Total number of worlds (includes hidden/inaccessible ones) | ||
Revision as of 08:18, 3 May 2012
The following string constants can be used in /Rules, announcements, and greeting files.
{SERVER_NAME}{MOTD}{RANK}- Player's rank; may include formatting (prefix and color){PLAYER_NAME}- player's own name; may include formatting (prefix and color), or may be replaced with DisplayedName{TIME}- Server's local time (depends on the server's timezone){WORLD}- Name of the main/starting map; may include formatting (prefix and color){PLAYERS}- Number of players online (excludes hidden ones){WORLDS}- Total number of worlds (includes hidden/inaccessible ones)