Variables - Scavenger3/TSDocs GitHub Wiki

TSDocs provides many variables that can be used throughout any of your documents.

  • %RRR,GGG,BBB% - changes the colour of the specified line (in RGB format [0-255]) must be at the begining of the line.
  • %name - The player's name.
  • %world - The name of the world the server is using.
  • %timeG - Shows the current in-game world time Time.
  • %timeR - Shows the server's current IRL Time.
  • %time - Shows the current in-game world time Time.
  • %ip - The player's IP Address.
  • %online - Shows all player names who are currently online.
  • %playercount - Shows the number of people currently online.
  • %playerswg- Shows players online with their group after (e.g. "Scav (defaut)")
  • %playersingroup%group% or %playersingroup%group,group,group% - Lists all the players currently online in the specified group(s).
  • %playersingroupcount%group% or %playersingroupcount%group,group,group% - Shows the number of players currently online in the specified group(s).
  • %group - The player's group.
  • %prefix - The player's prefix.
  • %suffix - The player's suffix.
  • %news - Shows the news_file.
  • %command%/command% - executes the specified command.
  • %include%file.txt% - Includes and nests another file into the current document.