begin live server support

This commit is contained in:
Brian Beck 2026-03-09 12:38:40 -07:00
parent 0c9ddb476a
commit e4ae265184
368 changed files with 17756 additions and 7738 deletions

26
.env.example Normal file
View file

@ -0,0 +1,26 @@
# Tribes 2 account credentials.
# Only username and password are needed — run `npm run login` to download
# the certificate and encrypted key from the TribesNext auth server.
# The login script writes everything to .env.local automatically.
T2_ACCOUNT_NAME=
T2_ACCOUNT_PASSWORD=
# These are populated automatically by `npm run login`:
# T2_ACCOUNT_CERTIFICATE=
# T2_ACCOUNT_ENCRYPTED_KEY=
# Server addresses (defaults shown)
# T2_AUTH_SERVER=tribesnext.thyth.com:60659
# T2_MASTER_SERVER=master.tribesnext.com
# Relay WebSocket port (default: 8765)
# RELAY_PORT=8765
# Path to game assets (default: docs/base relative to relay/)
# GAME_BASE_PATH=/data/base
# Path to manifest.json (default: public/manifest.json relative to project root)
# MANIFEST_PATH=/app/public/manifest.json
# Relay URL for the browser client (default: ws://localhost:8765)
# NEXT_PUBLIC_RELAY_URL=ws://localhost:8765