Jump to content

Constants

From fCraft Wiki
Revision as of 02:29, 22 August 2012 by F (talk | contribs)

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)
  • {PLAYER_LIST} - List of names of all online players that this player can see, including prefixes and colors (if applicable).