Tournament File Definition

    The tournament file is in plain text, and can be opened using any text editor. The contents are in a layout which is suitable for DMTG-PHP to understand. Here is an explanation of the layout.

Line # Description Section
1) Elimination Mode
2) Team Mode
3) Player Count
Header
4) Player One Name
5) Player Two Name
6) Player One Frags
7) Player Two Frags
8) Server Address (IP)
9) Match Start Time
Match 1
10) Player One Name
11) Player Two Name
12) Player One Frags
13) Player Two Frags
14) Server Address (IP)
15) Match Start Time
Match 2
 (carries on for the number of matches)  

The number of matches is calculated by the Number Of Players provided by the Header, If it is in double elimination mode, it will append the double-elimination tree matches at the bottom, this is also calculated from the number of players.