# ttt2-server A community server for the Tekken Tag Tournament 2 PC port. Players add it in the game's server list (ONLINE MODE > SERVER); it is where they find each other - it lists their sessions and answers the game's own online services (news, profiles, rankings) - while the matches themselves run directly between the two players over Steam P2P, never through the server. Nobody runs a central server: every community hosts its own. One program, no game data, nothing else to install (its database is built in). Windows and Linux (x86-64 and ARM64). Ship `THIRD_PARTY_NOTICES.txt` with it. ## Run it 1. Put `ttt2-server` (Linux) or `ttt2-server.exe` (Windows) in a folder of its own. 2. Start it once. It writes `server.toml` with the default settings and stops. 3. Edit `server.toml`: the server's name, region, message of the day, and **how players are identified** (below). 4. Start it again. On the first real start it creates `data/` with the server's key. 5. Open **TCP and UDP port 28200** (or the `port` you chose) in the firewall and, at home, forward both in the router to this PC. (UDP only answers the server list's status query; matches never use the server's ports.) ## Capacity One server handles thousands of players: `max_players` goes up to 10000. Matches cost the server nothing (they run over Steam P2P), so what grows with players is logins, session lists and the game's requests. Measured on a desktop PC: 10000 players logged in at about 4000 per second, about 20 KB of memory each, and all of them asking for the session list and the game's settings at the same moment were answered within 170 ms. The database takes about 12000 writes per second. A small VPS (1-2 cores, 1 GB of memory) is plenty for a few thousand players; bandwidth stays small (a ping every 5 s per player, plus lists and requests while players browse the menus). ## Admin commands Type them in the server's console, or - when it runs as a service or in a container, with no console - send them from a shell on the same machine with `ttt2admin ` (Linux service, Windows) or `ttt2-server [-config ] admin ` (below). The most used ones are also in a web page: the [admin panel](#admin-panel) (off by default). - `status`: players online, in rooms (open sessions), in matches (recorded ones), open sessions, players seen, uptime. - `players` (online now: Steam ID, name, IP address, how long), `sessions`; `seen ` (when a player was here). - `players all [name part or steam id]`: every player the database has seen, online or not, the most recently seen first (at most 200; a part of the name, any case, or a Steam ID finds others): Steam ID, name, first and last login, logins, `(unverified)` when Steam did not check the last login, `ONLINE` when connected now, and `BANNED until